Does anyone know how to do this on xp using tha batch command, this will be tested in the limited user. I have found something and it works fine in W7 but when I tried it on XP it does not work.
Elevated Privilege in XP
471 views Asked by xka At
3
There are 3 answers
0
On
User Account Control (UAC) was introduced with Windows Vista. It's not available in earlier versions like XP.
In XP, when you are member of the Administrators group, you have admin privileges all of the time, so there's no need for elevation. If you're not a member of the Administrators group you need to authenticate as a different user, which can be done via the runas
command:
runas /user:DOMAIN\ADMIN_USER some_command
With that said, support for Windows XP ended on April 8 this year, so you shouldn't be using it anymore. In fact, you should have migrated off XP a long time ago.
0
On
The nir command tools have such a functionality too:
http://nircmd.nirsoft.net/runas.html
nircmd runas