uscgrad93
Contributor
Contributor

How to deal with expiring SID when joined to a domain

I am sure many people have had to deal with this problem, however, I have not found a solution.

I create a VM on my ESX box and joined it to a domain. I want to create snapshots on the VM, each one hosting a different version of a browser. So, snapshot IE7 would have IE7 installed, snapshot IE6 would have IE6 installed, etc. So I create the appropriate snapshots.

I then revert back to one of the snapshots and upon trying to log in to the domain, I get the message that the system cannot log on to the domain because the account has been removed or something. So, I rejoin the domain and save the image. Then I try to revert to an image that has the other browser and I get the same thing.

So, I tried using the newSID tool from sysinternals. I opened a snapshot, ran newSID, joined the domain and saved the snapshot. I did it with the other snapshot as well. Then when I revert back to the first snapshot, I get the message again.

The question is, how do I manage my snapshots so that they are in sync with the domain controller? This is really killing me as we use snapshots in our automated testing and if my machine cannot automatically log in, the tests will not run.

Thanks.

0 Kudos
3 Replies
vmroyale
Immortal
Immortal

Hello and welcome to the forums.

It is the machine account password change that is causing you the trouble. You can disable this functionality with some security implications.

check these links for more information:

http://support.microsoft.com/kb/175468

http://support.microsoft.com/kb/154501

http://technet.microsoft.com/en-us/library/cc785826(WS.10).aspx

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
AsherN
Enthusiast
Enthusiast

Are you sure it's snapshot or rather are they clones?

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Moved to Virtual Machine and Guest OS forum.


Best regards,

Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, Virtualization Practice Analyst[/url]
Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing the Virtual Environment'[/url]
Also available 'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|Blue Gears[/url]|Top Virtualization Security Links[/url]|Virtualization Security Round Table Podcast[/url]

--
Edward L. Haletky
vExpert XII: 2009-2020,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos