Run Scripts as Administrator / General Questions / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2012-07-14 18:33

niksdhawan
Member
Registered: 2012-07-14
Posts: 2

Run Scripts as Administrator

I have made a batch file as follows

".\IP Config_Windows Vista_7 IIITB\Reg\hostel.reg"
The Reg file contains

"Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="192.168.3.254:8080"

So essentially i need to change proxy depending upon current wifi im connecting to (different for hostel and college and autoswitching enabled)
scripts run fine but this needs to be run as administrator in order to work.
Can someone please tell me if possible how can i do it.

Offline

#2 2012-07-14 18:35

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Run Scripts as Administrator

Running scripts as Administrator isn't supported for security reasons.
Proxy settings are available in NetSetMan Pro.

Offline

#3 2012-07-23 17:09

niksdhawan
Member
Registered: 2012-07-14
Posts: 2

Re: Run Scripts as Administrator

Thanks for the help.

Offline