Did You Know You Can Unlock YOUR User’s XP Workstation?
So…I’ve always wondered if there was a way to remotely unlock a users workstation. I mean c’mon, who wouldn’t want to sneak up and see what your employees are typing about you in an email, or things they have open and are doing!
Naw really, this really shouldn’t be used in malicious ways. It can be a very useful tool, and for me it was, being in IT it meant I could quickly check up on an employees machine if I needed to find an IP address or if they had something open from the network that someone else needed to get in.

There are a ton of legitimate reasons that this would be useful.
So after hours and hours of scouring the Internet many months ago, I managed to find a tool somehow by a man named Dan Farino. Props go to this guy! He users a process to create a service on the remote machine and inject a DLL into the Winlogon process. Of course you need the administrator password to the machine or the domain. You could use that password to log into the machine directly – but it will log off the current user killing any documents they have opened and in a un-saved state.
I won’t go too much into detail, because most of the overview can be found here. I highly encourage you to read the little that there is behind how this thing works. It’s basically a shell command you run in a command prompt.
The format is: RemoteUnlock.exe computername
Please Note: This only works on XP workstations as far as my testing goes. It’s a no go on Windows 2000, specially anything earlier. Vista I’m unsure about as well.
Also, a fundamental step you must not forget in this process is to relock the workstation after your through with it. You type in that command, do what you need to do on the computer, then you need to hit ENTER. Good Luck!!



August 16, 2008 - 1:32 am
Awesome, added to the thumbdrive :D
Click to Reply to This Comment.
August 16, 2008 - 2:12 am
Cool but it’s really hack. Winlogon screen is exactly made to prevent such stuff and that’s why it requires complex service+dll inject to break through it.
Pro: dealing with PCs whith users that manage to be “out 3 mins” for hours
Con: hack-ish nature, possibility to crash remote systm with injection and this tool is probably going to be in all AV databases pretty soon :)
Click to Reply to This Comment.
August 16, 2008 - 5:54 am
“Of course you need the administrator password to the machine or the domain” + “but it will log off the current user ”
if you have the admin-pw + and you log off the user, so why not directly log him off?
or am i missing something?
so what s the deal?
Click to Reply to This Comment.
Karl L. Gechlik | AskTheAdmin.com Reply:
August 16th, 2008 at 3:41 pm
To clear it up this will allow you to gain access to a users desktop without having to resort to logging them out.
Awesome for gaining access to open documents on a users machine that wont be back any time soon and you need to have someone else open it.
Click to Reply to This Comment.
August 16, 2008 - 7:32 am
>if you have the admin-pw + and you log off the user, so why not directly log him off?
or am i missing something?
Because if user has word document open with few hours of work he hadn’t (of course) bothered to save – you are going to hear lots of unpleasant things for loging him of. :)
Click to Reply to This Comment.
August 16, 2008 - 8:15 am
@Rarst:
“but it will log off the current user killing any documents they have opened and in a un-saved state.”
this way its the same…
Click to Reply to This Comment.
August 16, 2008 - 8:27 am
after reading it again, i got it ;) … just misunderstood the text
Click to Reply to This Comment.
August 19, 2008 - 8:12 am
This is hands down AWESOME! Thank YOU CHUGGER and AskTheAdmin! This is going to make my job SO MUCH EASIER!
Click to Reply to This Comment.
November 5, 2008 - 6:43 pm
Great tip, but did not work for me when tested. Worse; it was flagged as a trojan by AVG. . . Great idea though if it worked, happens too much where we don’t know if the user saved their work, or they just don’t like to be ‘kicked off’ when they get back to the machine.
Click to Reply to This Comment.
May 29, 2009 - 7:44 am
You can use a third party product that allows you to set who (not necessarily and administrator) can unlock the workstation. It is called Unlock Administrator and you can find it at http://www.e-motional.com/ULAdmin.htm
Click to Reply to This Comment.