![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | UAC and scripting 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 |
My System Specs![]() |
| | #2 (permalink) |
| | Re: UAC and scripting 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" <sputnik@xxxxxx> wrote in message news:%23%23$yB2RsIHA.3632@xxxxxx Quote: > 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 |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Registry scripting | VB Script | |||
| Re: batch scripting | VB Script | |||
| Scripting question | Vista General | |||
| VB scripting help | VB Script | |||
| Scripting bug? | PowerShell | |||