Delete the computer name from domain

Hi,

I have accidentally deleted user computer name. Now i cant able to login to the computer
its says" The security database on the server does not have computer account for this workstation trust relationship"

I have create the same computer name in the domain.. but i cant able to login

can u please help
kbmsudha84Asked:
Who is Participating?
 
ZenVenkyConnect With a Mentor ArchitectCommented:
It is nothing bur the secure channel between Server and the Workstation is broken. You need to unjoin and Rejoin the machine to fix this issue. If you are referring to Windows 7, then disable basic firewall and join machine it to domain.

Hope this helps.
0
 
coraxalCommented:
Unfortunately, that will not work as the SID (Security Identifier) is not the same, even though the user/computer name is the same.  I didnt quite understand whether or not the computer object or the user account object was deleted. However, in any case your best bet will be to restore from an AD backup. Depending on the application that you use to backup AD, your options to restore will change. For example, if you use native Windows backup utility you'd have to go through an authoritative restore process as outlined in this good article http://www.isaacoben.com/2009/07/04/performing-an-authoritative-restore-for-active-directory-deleted-objects-or-containers/
I know applications such as Symantec offer different ways in which to perform the same. So, bottom line, you have to restore the object from a backup set. Or, if you deleted the computer account, and assuming it's not a critical business-line machine, you could disjoin and rejoin the AD domain. This will create another instance of the computer object in AD, which will allow you to login without problems.
0
 
kbmsudha84Author Commented:
Hi,

I can understand.. I can rejoin the pc to domain again. the problem is i cant able to login into that computer..
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
coraxalCommented:
Then you'd have to restore the compute object from an AD backupset if you want to continue logging into AD from that computer
0
 
kbmsudha84Author Commented:
can you please explain me that how to do the computer object backup from AD?
0
 
kbmsudha84Author Commented:
Hi,

I am keep telling here that.. i am not able to login into that PC.
0
 
wshtyCommented:
why are you not able to login to that pc? log in on the local computer, not the domain (does the pc not have a local administrator account? - you could change that with "hirens boot cd" for example and activate the admin account)
login with "computername\administrator" and rejoin the domain.

regards
0
 
Pramod UbheCommented:
yes, login to the computer using local admin account and rejoin it to domain but remove the computer object in AD before you do so.
0
 
cpmcomputersCommented:
Unplug the network cable and turn off the wifi if any

You should now be able to login as a domain user/admin (their credentials remain cached )
0
 
kbmsudha84Author Commented:
The problem is i forgot that user password and user left from office
0
 
wshtyCommented:
then download hirens boot cd or equivalent and reset the password with live cd

OR try calling the user..
0
 
cpmcomputersCommented:
No you mis-understand me (Assuming you know your domain administrator username and password

Unplug the network cable and turn off the wifi if any

You should now be able to login as the domain admin (their credentials remain cached )

otherwise follow wshty options
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.