Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a remote PC connected with Remote Desktop as administrator. It was infected by a virus and therefore I can't run task manager or command run.

How can I restart or shut down my remote PC? Please consider that I don't have access to the task manager, comand run or even the task bar.

share|improve this question
Are you able to make a right mouse click on the desktop ? – Gnoupi Aug 22 '09 at 9:51
Yes I can right click on my desktop. – Am1rr3zA Aug 22 '09 at 10:07
up vote 9 down vote accepted

If you are able to right click on the desktop:

  1. Create a new text file.
  2. Put "shutdown -s" inside.
  3. Save the file, then rename it to something.bat.
  4. Double-click.
share|improve this answer

Right click (if you can) on the desktop and do new shortcut, and it is worth trying taskman.exe, but if you can't, type this - "shutdown -i" and you can set options from there.

If that fails, you can close your remote desktop session, and then reopen remote desktop connection, but do not click connect. Click options then programs and click "start the following program on connection" and it is worth trying to launch task manager or cmd through that method.

Lastly, you can try connecting through remote desktop via start > run (on your machine) then

mstsc /v: /admin (on newer)

mstsc /v: /console (on older)

and you should be connected to the console session which may be able to launch files if a virus stops you under another user (I know this sounds stupid, but sometimes I have found it to work).

share|improve this answer

Click on an empty area on the desktop and press Alt+F4. This should bring up the shutdown menu.

share|improve this answer
no this don't work. – Am1rr3zA Aug 22 '09 at 10:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .