Announcement

Collapse
No announcement yet.

shutdown/wake network computers - windows 10 - access denied

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • shutdown/wake network computers - windows 10 - access denied

    I used to use PSshutdown when using windows 7 and then WakeMeOnLan to wake up the same machines. Now I've updated all machines I cannot use either. I get access denied when trying to use the native windows: shutdown command.

    Any idea what I have to do to get this working on Windows 10 ? I've done a lot of google searching but cannot find a definitive answer that works for me.
    Regards

    Steve

    My Portfolio

  • #2
    You need to provide the credentials of an account with administrative privileges. As I remember, you can test out the shutdown.exe command with a UI by using "-i" switch.

    Comment


    • #3
      I may have found something: http://www.groovypost.com/howto/enab...an-windows-10/

      Will try this out and update soon.
      Regards

      Steve

      My Portfolio

      Comment


      • #4
        Also after the Windows 10 upgrade, check the driver properties of the network adapter that will be listening for the WOL packet - make sure that WOL is enabled. Finally in the Power settings, that network adapters can wake the computer up from a low power state. Hope this helps.

        Comment


        • #5
          WOL is on for network computer. I've tried the shutdown with -i UI. I can desktop remote control a network computer by logging in using admin credentials so not sure why I cannot wake or shutdown. That program is good but still says "access denied" when trying to shutdown.
          Regards

          Steve

          My Portfolio

          Comment


          • #6
            And you've pre entered the user name / password for the remote computer, before sending the shutdown request?

            Comment


            • #7
              I entered the UN/PW in the program to shut them down. Not sure what else to do. Is there anywhere else I should enter creds ?
              Regards

              Steve

              My Portfolio

              Comment


              • #8
                The user you enter must have local administrator privileges. As a test you could create a user on the remote computer and add to the administrators group - then try that one.

                Comment


                • #9
                  Just to clarify: if it's a Microsoft account, enter the full email address as the user name or if a local account enter machine-name\User Name .

                  Comment


                  • #10
                    I'll try creating a new admin account on the net comp. It's only a local account as I didn't feel comfortable signing into my computer with a net account. Cheers for the help. Hopefully this will work.
                    Regards

                    Steve

                    My Portfolio

                    Comment


                    • #11
                      The easiest way to make the user is to go to the "local users and groups" folder in computer management. Is in the control panel, administrative tools. Remember to untick user must change password at logon and tick password never expires.

                      Comment


                      • #12
                        Okay. I've made the new admin user but cannot define the password.

                        Forget that. I've found it!
                        Regards

                        Steve

                        My Portfolio

                        Comment


                        • #13
                          Still not working. I've tried shutdown /s /m \\192.168.0.2
                          I've also tried: NET USE \\MyServer\IPC$ mypassword /USER:myuser

                          Nothing I try is working.
                          Regards

                          Steve

                          My Portfolio

                          Comment


                          • #14
                            Originally posted by stevesideas View Post
                            I used to use PSshutdown when using windows 7 and then WakeMeOnLan to wake up the same machines. Now I've updated all machines I cannot use either. I get access denied when trying to use the native windows: shutdown command.

                            Any idea what I have to do to get this working on Windows 10 ? I've done a lot of google searching but cannot find a definitive answer that works for me.
                            Thanks for mentioning these. I'm still using Windows 7 and should try and use PSshutdown and WakeMeOnLan for my mini farm.
                            Brendan Coyle | www.brendancoyle.com

                            Comment


                            • #15
                              You're close, the net use should be run first (which authenticates the cmd session) then run the shutdown command in the same cmd window.

                              You can save it as a .cmd or .bat file. Here are some clear instructions:
                              http://www.howtogeek.com/109655/how-...t-windows-pcs/

                              My bad, remembered from the link there are a few services you need to enable in windows first.

                              In the past I have run several machines with the same user name and password, so the credentials automatically match. Not sure (as I'm away from my machine) how it works in windows 10. Hope it works

                              Comment

                              Working...
                              X