Sleep-on-LAN

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 6,285
    Windows 10 Pro X64
       #21

    Do you have the same account name on both computers? I ask this because I have a similar setup as you. My desktop is Win 7 and my other system is XP Pro. I have the same account and same password on both computers and psexec.exe works for me.

    Edit: Also:

    shutdown /s /m \\remotecomp /t 30 /c "Remote restart of Web Server"

    also works for me, no need for psexec.exe.
    Last edited by Ztruker; 01 Apr 2011 at 17:29.
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #22

    Does dir \\m30-861\shareddocs work from a command prompt?
      My Computer


  3. Posts : 385
    Windows 7 Home Premium x64 OEM --> RTM clean install
    Thread Starter
       #23

    Yip, same account name and same password, also both are Administartor accounts.
    Post#21 doesn't work, however...


    What now? :) I don't understand - The whole pc is shared!
    Attached Thumbnails Attached Thumbnails Sleep-on-LAN-capture.jpg   Sleep-on-LAN-untitled.jpg  
    Last edited by allend66; 02 Apr 2011 at 00:30. Reason: logon details same
      My Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #24

    Doesn't appear this has anything to do with sharing, just permissions.

    What about from the other direction, does that work? Use

    shutdown /s /m \\remotecomp /t 30 /c "Remote restart of Web Server"

    as before then if it does work, enter shutdown /a to terminate the shutdown.
      My Computer


  5. Posts : 972
    Windows 7 Ultimate x64
       #25

    This is just a shot in the dark here.... but windows 7 does come with a Telnet Server and Client.
    or even FTP execution....

    What about creating a script that will execute a bat file on the remote computer to put the computer into sleep mode.

    Execute the bat file on the root directory:

    Sleep.bat

    %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby
      My Computer


  6. Posts : 385
    Windows 7 Home Premium x64 OEM --> RTM clean install
    Thread Starter
       #26

    Ztruker said:
    Doesn't appear this has anything to do with sharing, just permissions.

    What about from the other direction, does that work? Use

    shutdown /s /m \\remotecomp /t 30 /c "Remote restart of Web Server"

    as before then if it does work, enter shutdown /a to terminate the shutdown.
    Thanks but this stubborn little bugger says:
    "M30-861: Access is denied. (5)"

    Permissions, you say?
      My Computer


  7. Posts : 385
    Windows 7 Home Premium x64 OEM --> RTM clean install
    Thread Starter
       #27

    acurasd said:
    This is just a shot in the dark here.... but windows 7 does come with a Telnet Server and Client.
    or even FTP execution....

    What about creating a script that will execute a bat file on the remote computer to put the computer into sleep mode.

    Execute the bat file on the root directory:

    Sleep.bat

    %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby
    Thanks for the input, though you'll have to explain a little the Telnet / FTP line of thought.-- Set up a Telnet account on both machines?
      My Computer


  8. Posts : 6,285
    Windows 10 Pro X64
       #28

    What I meant was to be on the M30-861 computer and try the shutdown to the L500 system.
      My Computer


  9. Posts : 972
    Windows 7 Ultimate x64
       #29

    allend66 said:
    acurasd said:
    This is just a shot in the dark here.... but windows 7 does come with a Telnet Server and Client.
    or even FTP execution....

    What about creating a script that will execute a bat file on the remote computer to put the computer into sleep mode.

    Execute the bat file on the root directory:

    Sleep.bat

    %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby
    Thanks for the input, though you'll have to explain a little the Telnet / FTP line of thought.-- Set up a Telnet account on both machines?
    I take it that you get a dynamic IP from your ISP... so knowing your IP is going to be difficult. So that is why you use DDNS to your router.
    Get yourself a web address and then you have to give your server computer static IP's to forward port to the server.
    Then you activate the Telnet server on your computer that you want to control or (log into). It is in your add and remove programs.

    You log into your computer using user name and password for admin rights. Then execute the bat file or any file that will run the:

    %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

    command
      My Computer


  10. Posts : 385
    Windows 7 Home Premium x64 OEM --> RTM clean install
    Thread Starter
       #30

    Ztruker said:
    What I meant was to be on the M30-861 computer and try the shutdown to the L500 system.
    Sorry for my denseness, Rich... ok, so I tried what you wrote (copied/pasted) and as soon as I hit enter, I heard a beep from my L500 (Win7) box. Pop up window "You are about to be logged off". The machine then powered down with no reboot.

    So it seems there's a permission issue to do it the other way round L500 --> M30.

    I'm sure you've got this covered and this is just for testing purposes, but I wanted to remote sleep the M30 from L500, but you knew that, right.
    Thanks
    D
      My Computer


 
Page 3 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:43.
Find Us