I've trying to use powershell to add a machine to the domain. The local accounts are locked, the local administrator account is disabled and it's doesn't see the domain. I'm was trying to use powershell Remotely because It's impossible to do it any other way..
add-computer -computername (nameofmachine) -domainname (name of the domain) - credential (my credentials)
It now working. Is there anyway to do this remotely???
PowershellActive DirectoryWindows 7PC
Last Comment
WellingtonIS
8/22/2022 - Mon
Hello There
Add-Computer only works on the local computer, you can’t use it to add a remote machine. So you need to get some script.
That's not really the issue. The local accounts are all locked and I can't get on the machine. I was trying to add the machine to the domain or jjoin the machine to the domain with a remote command to get it back on the domain so I can get in it
Tom Cieslik
What about team viewer QS ?
You can ask user to download TV QS run it and give you access to through TeamViewer free edition.
You going to be able connect remotely and add computer to domain
You could try booting to a CD/DVD or USB drive with a tool that will allow you to change the local admin password for the system partition. There are several tools available to do that. Google and take your pick.
Danny Verrazano
yeah if a tool can do it then a script of your own could do it... its all ones and zeros.
E.g. this one.
Or maybe this topic can help you.