Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

wheb UAC is on change computer name access denied api failed

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 05-01-2007   #1 (permalink)
oz
Guest


 

wheb UAC is on change computer name access denied api failed

I am using vista os , the flag UAC is on.
I am trying to change computer name by loading the dll Kernel32.dll
and call the function SetComputerNameEx.
under xp this works fine.
under vista I get ERROE_ACCESS_CONTROL
only if I disable the UAC i can change the computer name in vista.
Is there another way maybe to prompt the dialog box and change the UAC
for the computer?
thanks
oz


My System SpecsSystem Spec
Old 05-01-2007   #2 (permalink)
Jesper
Guest


 

RE: wheb UAC is on change computer name access denied api failed

Does the manifest for your application include:
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>

---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"oz" wrote:

> I am using vista os , the flag UAC is on.
> I am trying to change computer name by loading the dll Kernel32.dll
> and call the function SetComputerNameEx.
> under xp this works fine.
> under vista I get ERROE_ACCESS_CONTROL
> only if I disable the UAC i can change the computer name in vista.
> Is there another way maybe to prompt the dialog box and change the UAC
> for the computer?
> thanks
> oz
>
>

My System SpecsSystem Spec
Old 05-02-2007   #3 (permalink)
oz
Guest


 

Re: wheb UAC is on change computer name access denied api failed

On May 1, 7:23 am, Jesper <Jes...@discussions.microsoft.com> wrote:
> Does the manifest for your application include:
> <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
>
> ---
> Your question may already be answered in Windows Vista Security:http://www.amazon.com/gp/product/047...otectyourwi-20
>
>
>
> "oz" wrote:
> > I am using vista os , the flagUACis on.
> > I am trying tochangecomputernameby loading the dll Kernel32.dll
> > and call the function SetComputerNameEx.
> > under xp this works fine.
> > under vista I get ERROE_ACCESS_CONTROL
> > only if I disable theUACi canchangethecomputernamein vista.
> > Is there another way maybe to prompt the dialog box andchangetheUAC
> > for thecomputer?
> > thanks
> > oz- Hide quoted text -

>
> - Show quoted text -



My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error : 0x80070005 - Access denied , Backup Failed Xersus Vista General 5 09-21-2007 02:58 AM
Error: 0x80070005 Access denied, back up failed lemmy Vista account administration 2 08-25-2007 02:30 AM
Error: 0x80070005 Access is denied Backup failed. lemmy Vista General 7 07-31-2007 01:52 PM
xp to vista Migration failed: Access is denied. Rob Vista General 3 06-28-2007 05:34 PM
Backup failed - Access is denied KrisB Vista General 2 03-26-2007 12:52 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51