Re: remote shutdown





"Shenan Stanley" wrote:

kmon wrote:
Please help on remote shutdown problem

I was trying to follow the instruction from this microsoft kb
article
"http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sysprop_to_perform_a_remote_reboot.mspx?mfr=true";
Here is the step by step instruction
<snip - available at web page given>
However, when I got to step 4 and try to open properties, I got
"Win32: access is denied" error and blank computer management
window.
Can anyone tell me what do I need to do?
Remote computer is on peer network, and I can ping the remote
computer.

Shenan Stanley wrote:
Does the account you are utilizing to do this have administrative
rights on the remote computer?
Remember - never just follow the steps of a solution and expect
them to work - there are usually pre-requisites or notes that tell
you what things *must* be true in order for the steps to work...
In this case:

Note
. To open Computer Management, click Start, and then click
Control Panel. Click Performance and Maintenance, click
Administrative Tools, and then double-click Computer Management.

. You must be recognized as an administrator or a member of
the Administrators group on your computer and on the computer you
are managing to perform this task.




Can you not just use the command line tool:

shutdown

or the third party tool:

psshutdown

to remotely reboot/shutdown the system in question?

Those should work great - if you are a system administrator of the
remote system. Also, if you want - you could use a tool like
PSEXEC and specify the remote credentials to run shutdown.exe
'locally' on the machine and shut it down.

kmon wrote:
Thanks Stanley, for reply
Yes, my account has administrator right, and the same result with
using shutdown tool from command prompt. I haven't tried any third
party tool. By the way, I was able to do this before. So I don't
know if anything got corrupted or what. I'm pretty sure I don't
have any virus.

Are you in a domain?
Is the user you are logged in as a domain user that is in the local
administrators group of both machines?
Can you map drives?
Is the firewall properly configured to allow the type of connection you are
attempting to do?

Unless you are in a domain with the other computer (not a workgroup) then
the username/password it may be passing to the other machine is probably not
an administrator on it. Example:

Two machines in a workgroup. MachineA and MachineB. The workgroup is
called WORKGROUP. They are both members of WORKGROUP. Both have users
named "AdminUser". The passwords for "AdminUser" are the same on both
machines. However - when you try to map a drive (with simple file sharing
turned off) off MachineB from MachineA as AdminUser - it is likely to fail.
It is trying to use the username "MachineA\AdminUser" and not just
"AdminUser". You need it to use "MachineB\AdminUser"...

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html



I fixed it, thanks for helping me.
I set "remote_computer\user" account password not to be saved in local
computer, once I set local computer to remember password of remote computer's
user account it works again.
Is there anyway to set up remote computer so that it will prompt for
password (or user name and password) whenever I attempt to connect via
computer management tool (or issue shutdown command).
I don't want to save password of a remote computer's account that has an
administrative rights.
.



Relevant Pages

  • Re: Pulling hair out - and there aint much left
    ... remote services are not running or disabled on the target machines ... you have no local administrator rights (since you have not described your ... if the machines came pre-configured way back when and do not conform to ... > and am presented with a dialog for a logon. ...
    (microsoft.public.win2000.networking)
  • Re: Admin Password change causes problem ?
    ... security of other network attached machines. ... > This is not a Domain, just a group of machines set up as workgroup ... how many had a login with Administrator ...
    (microsoft.public.win2000.security)
  • Re: remote shutdown
    ... Remote computer is on peer network, and I can ping the remote ... Those should work great - if you are a system administrator of the ... Two machines in a workgroup. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Admin Password change causes problem ?
    ... > wks and workgroup servers still can not change file/directory/share ... > security of other network attached machines. ... how many had a login with Administrator ...
    (microsoft.public.win2000.security)
  • Re: XP machine doesnt recognize workgroup
    ... Workgroup troubleshooting guide ... All the machines can access the internet through ... Contact the administrator of this server to find out if ... no other computers on the network can see this XP machines, ...
    (microsoft.public.windowsxp.network_web)