I need to run tscon.exe 0 /dest:console remotely = not manually on Windows7 as an administrator. More info here How to use tscon on Windows7?
I did my research and
- OPTION 1 - runas
for user root (no password) on computer yogurt works
C:\>runas /user:yogurt\root cmd
Enter the password for yogurt\root:
Attempting to start cmd as user "yogurt\root" ...
for user administrator (I thought the the password is blank too) on computer yogurt doesn't work. I am asked for password, hit the enter and
C:\>runas /user:yogurt\administrator cmd
Enter the password for yogurt\administrator:
Attempting to start cmd as user "yogurt\administrator" ...
RUNAS ERROR: Unable to run - cmd
1327: Logon failure: user account restriction. Possible reasons are blank passwo
rds not allowed, logon hour restrictions, or a policy restriction has been enforced.
- OPTION 2 - setting properties of a batch file so it always runs as administrator. The 'privilege level' section is greyed out for me under Compatibility level. So I am not able to tick the check box
Run this program as an administrator

cmdelevated, run the command with an administrative user on the remote system? What's the problem, or was that the answer? – HopelessN00b Sep 18 '12 at 23:44tscon.exe 0 /dest:consoleas administrator to see if it fixed the original issue I am facing. Read the link in my question for more details. I am already running the command under account that is a member of administrators group. There might be another issues involved as @Chris said in his EDIT. I need to read about it. – Radek Sep 18 '12 at 23:57