Question

  • Creator
    Topic
  • #2235577

    Remote shutdown for Server 2003

    Locked

    by michael.carr ·

    Hi I’m trying to shutdown Server 2003 (a few deferent types) by my Desktop in the office however when I try I get a “Access is denied.”

    The command I use is “shutdown /s /m \\computername /t 90”

    This is a test for a *.bat file I’m working on so if there’s a blackout for to long the servers will be shutdown, we already have the UPS up and running we just need something to shutdown the others.

All Answers

  • Author
    Replies
    • #2615345

      Clarifications

      by michael.carr ·

      In reply to Remote shutdown for Server 2003

      Clarifications

    • #2615343

      Re: Remote shutdown for Server 2003

      by michael.carr ·

      In reply to Remote shutdown for Server 2003

      I found that I needed to be login as the domain Administrator for the command to work, but if anyone knows how to get around it without being login as the admin please I’d like to know

      • #2551190

        Can restart from Manage Computer

        by taylor7150 ·

        In reply to Re: Remote shutdown for Server 2003

        You don’t need the command prompt. But you do need to have the correct rights on the machine you will restart, usually domain admin.

        1. Log in with domain admin (or equivalent rights).
        2. Go to My Computer > Manage
        3. From Action > connect to another computer. Enter computer name
        4. Right click on Computer Management > Properties
        5. Click on Advanced Tab, then Settings button
        6. Click Shutdown. From here you have several options, such as log off current user, shut down, restart, power down, etc…

        I know of no way to get around the security permissions built into windows xp or 2003.

        Hope that helps.

      • #2551185

        The sysinternals psexec

        by dumphrey ·

        In reply to Re: Remote shutdown for Server 2003

        toy will let you run batch/script/exes as a specific user on a list or remote machines. The file remains as a schedule/batch on the local machine so no passwords in the “open” as it were unless some ones sniffing on the wire while you actually use the bat.

      • #2551178

        Auto shutdown, or remote shutdown?

        by grey hat geek ·

        In reply to Re: Remote shutdown for Server 2003

        The psexec suggestion was a good one, but am I understanding correctly? You want the batch file to stay on the server, and only execute when the power is off for a certain period of time……and you want the batch file to execute automatically without you using a program like psexec remotely? Is that correct?

      • #2551175

        whatever method

        by lowlands ·

        In reply to Re: Remote shutdown for Server 2003

        you choose, you’ll have to present admin priviliges to the server you’re trying to shut down.

        from batch, I think you can try doing net use \\server\IPC$ adminpwd /user:adminuser or present it on the command line of psexec as mentioned in another post. You can also open cmd with the runas command

    • #2999684

      Remote shutdown for Server 2003

      by hrum ·

      In reply to Remote shutdown for Server 2003

      For remote shutdown try to use Network Shutdown Tool. I’m using this program. You can shutdown, reboot, wake up a group of network computers.

Viewing 2 reply threads