Windows 7 remote reboot access denied




















But it's not valid answer, I'm still looking to do it natively because the sysinternal tools are not redistribuable. First you must authenticate on the target PC to remotely execute operations. This can be done in multiple ways:. But in order to run the shutdown successfully, you have to get over another issue: The remote UAC restricts the user rights if logged on from remote. This blocks your shutdown execution. See on Microsoft KB for details. The 'workaround' is also described there.

I found this last important info on various pages in the internet after wondering why my shutdown did not work. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Windows remote shutdown: access denied Ask Question. Asked 9 years, 10 months ago. Active 2 years ago. Viewed 89k times. What should I do to get it working form all of my computers. Improve this question. Does TGT belong to the same domain?

Does TGT have a local account named "User2"? TGT needs to know who User1, 2 and 3 are, and authenticate them, or it won't work. Else people would be running around the web shutting eachothers computers down. Ok then, but 1. It is probably a computer with one or more CPUs which are chips.

Show 1 more comment. I have a computer that I want to shutdown remotely via command line the shutdown -i , and if I have "password enable sharing" turned on I get access denied 5 but if that is turned off it works fine. I have read that I may need to create a user account with the same username and password of the account on this computer I wish to shutdown, but I have tried this and it does not work, plus having a extra account on either computer is kind of annoying, isn't there a way I can do it without having the same user account on my two PCs?

Maybe like just using the username and password of the remote computer directly without actually having that account created on my PC? You should create a user and make it a member of the Local Administrators Group on the Machine you want to shut down. The credentials should be identical the ones you are logged in with. If that doesn't work, try creating credentials on your PC that are the same as those used by the Administrator account on the other PC.

Then try the command from the newly presented CMD Box. You can alternatively add your matching credentials to the server or computer you are trying to shut down remotely and make sure that the user has sufficient local privileges to perform a shutdown.

I checked the shutdown switches but I could not find a switch that lets you enter alternate credentials for the shutdown. I am using this solution on a home Workgroup network. Solution works for shutdown. The problem is access is denied when attempting a remote shutdown using the interactive mode or the following command:.

When user name and password are not the same on both computers change the following on the remote computer:. Thanks TxRedCat. Your solution worked for me, on a pair of computers where I had the same administrator-level account on both but nothing else had worked so far. EXE via a Google search be sure to get it from a reputable source. The account you are executing the reboot command needs to be an Administrator on the machine that you are trying to reboot. If you want to execute the shutdown command as a different user, try psshutdown.

The command will look like this when specifying a user where -r is for reboot and -u is for the user. To disable simple file sharing launch a My Computer window. Categories: Windows tips. Thanks for the registry fix. Everyone else talks about firewall, local policy etc etc; no one had this particular answer, which was the KEY for me!

Name required. Email required, but never shared. I am the co-founder of Globalme a translation and language technologies company based in Vancouver, BC.



0コメント

  • 1000 / 1000