Home » Questions » Computers [ Ask a new question ]

Login to Windows XP without a keyboard connected

Login to Windows XP without a keyboard connected

I need to login to a Windows XP Media Center Edition computer without using a keyboard. Is there any way to do this? My initial search of the internet has only turned up "no", or "you can something, if you log in in to windows" unfortunately I can't log in.

Asked by: Guest | Views: 309
Total answers/comments: 2
Guest [Entry]

"The bearer of bad news. No there is no way to login without a keyboard, accept maybe trying booting into Safe Mode, which will require a ... Keyboard. I would assume you are using a password when login in. If not you can just use the mouse to click on the User Profile and it should automatically log in.

The best bet would be to find a wired or USB keyboard somewhere and use it temporarily."
Guest [Entry]

"If you can connect using an administrative account over the network, you can log in using Remote Desktop, then reattach that session to the ""console"".

This requires ""file sharing"" to be enabled and allowed by the target machine's firewall.

Obtain psexec and another Windows NT machine (ideally XP or newer).
Log in to the second machine. If needed, use runas /u:Administrator /netonly cmd to start a shell using the target machine's credentials (any user with sufficient privileges on the target will work.) and use the newly opened shell for all following commands. This is not needed if both machines have identical accounts.
If the target has Remote Desktop disabled, enable it:

Enable Remote Registry if necessary:

sc \\mediacenter config RemoteRegistry start= auto
sc \\mediacenter start RemoteRegistry

Enable Remote Desktop:

reg add ""\\mediacenter\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server"" /v fDenyTSConnections /t reg_dword /d 0 /f

Reboot target:

shutdown -m \\mediacenter -r -t 0

Allow Remote Desktop in firewall:

reg add ""\\mediacenter\HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List"" /v 3389:TCP /t reg_sz /d ""3389:TCP:*:Enabled:@xpsp2res.dll,-22009"" /f

Using Remote Desktop, connect to the target using your desired account.

If necessary, add to the ""Remote Desktop Users"" group:

psexec \\mediacenter net localgroup ""Remote Desktop Users"" /add targetuser

Over Remote Desktop, run qwinsta to see your numeric ""session ID"". Your current session is prefixed with a >.

You may disconnect afterwards, but do not log out completely.
Using psexec on the second machine, move the new session from Remote Desktop to the physical console:

psexec \\mediacenter -s tscon <id> /dest:console

replacing <id> with the numeric session ID."