Windows 8 and 8.1 Forums

Running scripts with elevated permissions

  1. #1

    Posts : 1

    Running scripts with elevated permissions

    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.


      My System SpecsSystem Spec

  2. #2

    Posts : 87
    Win 8 and Linux (MINT)

    Which Scripting language are you using?
      My System SpecsSystem Spec

Running scripts with elevated permissions
Related Threads
Solved creating scripts in General Support
how can you create a script to open cmd and run 'ipconfig /flushdns' at the click of a button?
How to See if Process is running as administrator (elevated) in Windows 8 and 8.1 This tutorial will show you how to determine if a program or process is running as administrator (elevated) or not in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1. Here's How:
Hey. I have downloaded a game on steam called "Dragon Nest". When I start the game up, a UAC window pops up and tells me that I need administrator privileges. No problem. This is my laptop so I am the admin. The problem is that I don't want this program to require elevated privileges and I am...
Solved Only have elevated adminstrator login in User Accounts and Family Safety
I need to find my login in windows 8 pro. I used Winaero User List Enabler and restarted it boots to elevated adminstrator account and gives no options and doesn't ask for a password. Not sure which tutorial applies to my situation. I think I need to create another user for me. I lost my account...
W8 start up scripts anyone in Installation & Setup
Hi there I don't want to use a 3rd party application - but it would seem to me if one could start ANY standard application immediately a user logs in then you'd get to the desktop immediately on boot without relying on Start8 or any of these other work arounds. You could start say a "Dummy"...
Solved elevated command prompt...huh? in General Support
how do I open an elevated command prompt?
Hi, For those who'd like to use the power of a permanent admin (can of course be reverted) prompt here's how: Elevated Command Prompt Shortcut - Windows 7 Forums Open Explorer and drill down to: C:\Users\"Username"*\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools
Eight Forums Android App Eight Forums IOS App Follow us on Facebook