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?
strugglingalongAsked:
Who is Participating?
 
Run5kConnect With a Mentor Commented:
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
0
 
wr_memCommented:
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

try:

(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
0
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.

All Courses

From novice to tech pro — start learning today.