2,&Restart Computer, domain.namenetlogonrestartcomputer.vbs. Note that 2 is next available. When this is done click your way out of ADSI Edit and close and open Active directory users and computers. When you right click any computer object you will get this menu.
I login to a server daily with the same password and today I tried to login and I get 'The password is incorrect. Try again.'
This is the administrator account on a domain (Server running 2012 Standard R2) and I am trying to login to the domain controller. No idea why it is refusing my password. No one would have changed it or been able to access it. Interestingly enough, a user couldn't login yesterday and I had to pull the PC off the domain and rejoin it for it to be successful. Also noticed DHCP wasn't updating DNS on the server which I then fixed.
Any ideas on why I cannot login to the domain controller? - I know my password I am entering is correct. Also tried to use a few other accounts and haven't had any success either. :(
EDIT: I managed to remote into a client PC and do a remote reboot on the server using 'shutdown -r -m <IP OF SERVER>' and when it came back up I could login. I suspect a DNS issue or a kerbos auth/security issue. Thank you for all your help!
I have 3 'client' computers, on which the mentioned user is administrator:
And a 'target' computer (the one that I want to shutdown from the three others):
I'm trying to shutdown TGT
with the following command:
It's working from CPU1
(meaning TGT
shuts down), but from CPU2
and CPU3
I get the following message:
Access denied. (5)
What am I to understand? What should I do to get it working form all of my computers.
gregsethgregseth5 Answers
One thing to keep in mind is that, the computers you want to shutdown must be on the same network as the 'controlling' computer.
There are many solutions to this, I simply chose this one.
This is a simple network access issue. You will have access to certain computer some times, but that is not this case. To gain access of another computer for you to remote shutdown, you must execute the follow command in command prompt:
Replace Server
with the computer ip/name you want to shutdown remotely, pswd
with the password to any administrator account of the remote computer and user
with the Administrator user account name. To list all the computers in your current Wi-Fi network, do net stat
. It'll give you the names of the computers. Unless you prefer an easier way: Click Start, then Right-Click Computer. Click properties, it should be named in there. IPC$ is supposed to be there. Sometimes it will not work. I do not know why.
Work cited here.
For example, we'll have a computer named CHOCOLATE, and an Administrator account on the current machine is Bob and the password is Joe:
InterLinkedcreate a local account on tgt for each user account you want to use to shut the machine down remotely. each of these accounts must have admin priviledges on tgt and have the same name and password as the accounts you use on cpu1-3. cpu1 probably uses an account that is created with the same name and pass on tgt
One possible answer is to use PS Shutdwon:
But it's not valid answer, I'm still looking to do it natively because the sysinternal tools are not redistribuable.
gregsethgregsethFirst you must authenticate on the target PC to remotely execute operations.
This can be done in multiple ways:
- you are local admin have the same account (username and password) on the remote PC (also local admin). Then the correct logon credentials are sent automatically.
- you create a connection to the target PC and provide the logon credentials of an admin user of the target PC. The shutdown command does not send any logon credentials, so you need to find another way. On solution is connecting a network share. And you don't have to create one just for this purpose, you can use the existing IPC$, which I also do.
net use target-pcIPC$ password user:username
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 KB951016 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. It is also on https://stackoverflow.com/a/16526680/2505186. If giving me +1, also do him/her.
in order to use remote shutdown in windows 7:
- First go to the computer that you want to shutdown and create user with the same name/password of the user you use to shutdown the computer.
- Then add the user to the Administrators group.
- Then go to Control panel/Administrative tools/Local Security policies.
- Then click on local policies.
- Then user right assighnments and scroll down until you find force shut down remote computer, check if the administrators group is there.
- Now you need to disable user account control (UAC) because it blocks the shutdown command.
- Last thing is to enable remote desktop from local policies user right assigments remote desktop and add the user that you created, and right click on computer and properties, remote settings, enable remote desktop, and add the user you created it.
protected by Community♦Feb 17 '18 at 5:55
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?