Looking for a few tips with the runas command..
For example, I was trying to release/renew the IP address of a computer while a user with restricted access was logged in.
I can get ipconfig to flash up on the screen (thats one problem, it starts a new cmd window, it doesnt just print to the current one), but when I add a switch it says "RUNAS ERROR: Unable to run - ipconfig/all 87: The parameter is incorrect."
I've tried:
runas /user:myusername@ourdomain "ipconfig/all"
and
runas /user:myusername@ourdomain ipconfig/all
Both give the same error.. Any advice?
Microsofts RUNAS details
For example, I was trying to release/renew the IP address of a computer while a user with restricted access was logged in.
I can get ipconfig to flash up on the screen (thats one problem, it starts a new cmd window, it doesnt just print to the current one), but when I add a switch it says "RUNAS ERROR: Unable to run - ipconfig/all 87: The parameter is incorrect."
I've tried:
runas /user:myusername@ourdomain "ipconfig/all"
and
runas /user:myusername@ourdomain ipconfig/all
Both give the same error.. Any advice?
Microsofts RUNAS details