Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > UAC and scripting

Reply
Thread Tools Display Modes

UAC and scripting

 
 
sputnik
Guest
Posts: n/a

 
      05-08-2008
What is Microsofts solution if you run vbscripts for administrative
tasks and these are affected by UAC ?

Swicthing UAC off requires a restart, once to disable and then once to
enable UAC once script has finished running, which hardly makes the
administrative change transparent to the user. Group policies are handy
to do this, and was a good idea but the question is the restart thats
required.

You can turn it off completely and leave it off which sounds like the
best idea, but I'm really curious about Microsoft's take on this ?
There must be some big companies using scripts out there. How do people
get around this ?

cheers
 
Reply With Quote
 
 
 
 
Charlie Russel - MVP
Guest
Posts: n/a

 
      05-08-2008
I get around it by opening a window "As Administrator" and running scripts
that require administrative privileges from there. I don't run VB at all - I
use PowerShell for my scripting. But the requirements should be the same.

--
Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel


"sputnik" <> wrote in message
news:%23%23$...
> What is Microsofts solution if you run vbscripts for administrative tasks
> and these are affected by UAC ?
>
> Swicthing UAC off requires a restart, once to disable and then once to
> enable UAC once script has finished running, which hardly makes the
> administrative change transparent to the user. Group policies are handy
> to do this, and was a good idea but the question is the restart thats
> required.
>
> You can turn it off completely and leave it off which sounds like the best
> idea, but I'm really curious about Microsoft's take on this ? There must
> be some big companies using scripts out there. How do people get around
> this ?
>
> cheers


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WAIK 1.1 Scripting Error TonyB_EDS Windows Vista Installation 0 04-29-2008 03:56 PM
Vista Ultimate license key scripting through deployment smsmom Windows Vista Installation 0 01-17-2008 09:26 PM
Re: Sidebar corruption, IE scripting does not work Jane C Windows Vista General Discussion 6 08-11-2007 11:55 AM
scripting of bgsound tag doesn't work on IE7 of Vista fw Windows Vista General Discussion 0 06-19-2007 09:23 PM
Scripting performance setting Or Tsemah Windows Vista Performance 0 05-29-2007 11:55 AM



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 52 53 54 55 56 57 58 59