Hi,
I'm hoping somebody can help me please?
I've created a script to install some software, so that it can be deployed through our deployment solution.
The script works successfully on Windows XP desktops, but not on Windows 7 desktops. It will only run on a Windows 7 desktop if you manually log on to it, run a command prompt as the administrator and then run the script from there. It seems like the Windows 7 user access control is preventing the script from running as it doesn't work from a non elevated command prompt.
Is there a way to run a script with elevated administrator rights on Windows 7? I've tried using the runas command, but it doesn't seem to work.
Any help would be much appreciated.
Thanks,
H
I'm hoping somebody can help me please?
I've created a script to install some software, so that it can be deployed through our deployment solution.
The script works successfully on Windows XP desktops, but not on Windows 7 desktops. It will only run on a Windows 7 desktop if you manually log on to it, run a command prompt as the administrator and then run the script from there. It seems like the Windows 7 user access control is preventing the script from running as it doesn't work from a non elevated command prompt.
Is there a way to run a script with elevated administrator rights on Windows 7? I've tried using the runas command, but it doesn't seem to work.
Any help would be much appreciated.
Thanks,
H