Hi,
Can anyone help me?
I have a batch script that alters a registry setting,problem is it needs to run on a machine where the user does not have admin rights.
When the script runs the registry change is denied.
SO - How do I use the su command?
if i do :su username
I get assword?
Obviously the user doesn't know the admin password and I'm not gonna tell him.
So how do I feed the password into the script and keep it hidden.
Whats the syntax?
Many thanks.
Can anyone help me?
I have a batch script that alters a registry setting,problem is it needs to run on a machine where the user does not have admin rights.
When the script runs the registry change is denied.
SO - How do I use the su command?
if i do :su username
I get assword?
Obviously the user doesn't know the admin password and I'm not gonna tell him.
So how do I feed the password into the script and keep it hidden.
Whats the syntax?
Many thanks.