• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1655
  • Last Modified:

Problems using sysinternals psshutdown

My remtoe desktop starting freezing up upon logging in, so I am attempting to remotely restart th computer.

It is not part of a domain, but I am connected via hamachi.

I tried the following commnad:
pssshutdown \\XX.XXX.XXX.XXX -r -t 30 -u office-pc\user -p passw0rd

WHere office-pc is the computer name and user is the username.

however, I get the following error:
Couldn't access XX.XXX.XXX.XXX:
Access is denied.

If XX.XXX.XXX.XXX is already performing a shutdown operation you must
abort it before issuing a different command.

It is definitely the right password.

ANy suggestions?
1 Solution
I assume you can ping the 'office-pc'

Can you try
net use H: \\office-pc\C$ /user:office-pc\user
<enter password when prompted>

If this works, psshutdown should work as well

If this does not work, you remote request might get mapped to the guest account


(1) Turn off simple file sharing and thus turn on classical file sharing like on Win2K.
(2) Turn of network users identify as guests and thus turn on network users identify as themselves like on Win2K

Hope this helps
The key factor is that this machine "is not part of a domain."  By default, you won't be able to access admin "$" shares or run Sysinternals PsTools commands on a workgroup machine.  I have encountered similar circumstances on my home network Windows 7 workgroup, and was able to eliminate that problem by making some system modifications:

Troubleshooting “Access Denied” Error Messages When Accessing Administrative Shares in Windows 7
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now