Running scripts with elevated permissions

Gary225

New Member
Messages
1
Hi folks,

wondering if anyone here can help me out.

I have a script which runs when connecting to our vpn however it fails to set routes due to the lack of elevated permissions. When UAC is completely disabled (using the registry) the script works perfectly however certain windows 8 features don't work, such as the metro apps.

Basically I'm looking for a way to keep UAC enabled and automaically run the connection script with elevated permissions automatically, fully scripted or some sort of a work around to automatically set the routes when connected to VPN.

Thanks,
Gary.
 

My Computer

System One

  • OS
    Windows
    Computer type
    PC/Desktop
Which Scripting language are you using?
 

My Computer

System One

  • OS
    Win 8 and Linux (MINT)
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo Win 8 & Toshiba Linux
    Monitor(s) Displays
    Samsung SyncMaster
Back
Top