![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | SetGateways method and user rights I created a VBscript to change the default gateway using the SetGateways Method of the Win32_NetworkAdapterConfiguration. It works fine in my Windows XP PCs. If I use the same script in Vista (Vista Business) it works fine only if I logon as user "Administrator" (after enabling it). If I log on as any other user, even member of all the administrative user groups, I get an error 67. How can I make my script work in Vista? Regards Marius |
My System Specs![]() |
| | #2 (permalink) |
| | Re: SetGateways method and user rights Run with elevated permissions. Open Command Prompt with "Run As Administrator". Execute your script from elevated Command Prompt. "Mario - Roma" <mario@xxxxxx> wrote in message news:exdro7tMKHA.4004@xxxxxx Quote: > I created a VBscript to change the default gateway using the SetGateways > Method of the Win32_NetworkAdapterConfiguration. > It works fine in my Windows XP PCs. > If I use the same script in Vista (Vista Business) it works fine only if I > logon as user "Administrator" (after enabling it). > If I log on as any other user, even member of all the administrative user > groups, I get an error 67. > How can I make my script work in Vista? > Regards > Marius > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: SetGateways method and user rights Here's what Mario - Roma wrote on 9/11/09: Quote: > I created a VBscript to change the default gateway using the SetGateways > Method of the Win32_NetworkAdapterConfiguration. > It works fine in my Windows XP PCs. > If I use the same script in Vista (Vista Business) it works fine only if I > logon as user "Administrator" (after enabling it). > If I log on as any other user, even member of all the administrative user > groups, I get an error 67. > How can I make my script work in Vista? > Regards > Marius Account (thank you, Microsoft!). They are accounts with *some* Administrator privileges. The choice of names is very misleading, IMHO. -- Gene Bloch 650.366.4267 lettersatblochg.com |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| SetGateways Method, Vista and user rights | VB Script | |||
| user rights | Vista account administration | |||
| User rights | System Security | |||
| user access rights problem | Vista security | |||
| User rights | Vista General | |||