unlocking a computer again

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hallo

Is it possible to unlock a computer again with a script or a scheduled task
after i closed a remote desktop sharing session? Basically what i do is i
have a computer in my office that is always logged on so it can run scheduled
task but i want to be able to remotely administer the PC i have that part
working fine but when i close the remote desktop session the PC is locked and
need to be unlocked or its logged off and that causes that my scheduled task
do not run or run incorrectly so what i would really like to know is there i
way i can get the PC back logged on or unlocked.

Regards

Markus
 
Markus said:
Hallo

Is it possible to unlock a computer again with a script or a scheduled
task
after i closed a remote desktop sharing session? Basically what i do is i
have a computer in my office that is always logged on so it can run
scheduled
task but i want to be able to remotely administer the PC i have that part
working fine but when i close the remote desktop session the PC is locked
and
need to be unlocked or its logged off and that causes that my scheduled
task
do not run or run incorrectly so what i would really like to know is there
i
way i can get the PC back logged on or unlocked.

I am not aware of a way to unlock the desktop with a script.

However, check this out:

http://episteme.arstechnica.com/eve/forums/a/tpc/f/99609816/m/253002392731?r=533004803731

"Make a shortcut and point it to:

%windir%\System32\tscon.exe 0 /dest:console

"Then just use that shortcut to end your remote desktop session. It kicks
you out of remote desktop, and activates the local console again."


Also, I'm guessing your scheduled task may be failing due to permissions,
especially if your scheduled task tries to access resources on other servers
or systems on the network. If this is the case, then the easiest fix to
this would be to go to the Scheduled Tasks folder under Start, Settings,
Control Panel to edit the properties of your scheduled task and enter a user
name and password.
 
Thank you Karl it is working with the link you send me thats exactly what i
was looking for

Regards
Markus
 
Back
Top