Solved

Temporarly get around Windows 2003 Enterprise x64 activation or get data out of VMDK file to export AD, DNS, DHCP out of the VM Image.......

Posted on 2010-08-27
12
730 Views
Last Modified: 2012-05-10
I'm not trying to steal anything...  Here's my situation...  I am doing some consulting for this company...  They fired their Jack-A$$ IT Manager after this fiasco and called me in to help fix it...

Here's the layout...

1 Physical Host (Dell Server)  Running VMware ESXi 4.0
1 Installation of "Windows 2003 Enterprise x64" VM
     - Which is the Only Domain Controller, DHCP, DNS, WINS, AD are all run from this VM
Other VMs installed on the box...


Now for the problem...  Something happen to the Server (Domain Controller, AD, DNS, DHCP, WINS)...  I don't know what...  But the guy decided to delete the VM from that DataStore...  The he went back and found some copy of the VM that he made a month or so ago...  (Thank G-d he at least made a backup)...

He restores the VM...  It prompts him to Activate Windblows over the internet...  Viola things are back up and running...  Then he has to go and screw with things again and he phucks up the Server again...  So, back to your trusty backup right...  Well it asked him to Activate Winblows again...  This time he is told that he can't do it and he has to call Mickeysoft...  Now the fun begins...

From my research I have found:

The installation of the VM was done from either an OEM or Retail disk (Didn't know that they made retail copies of Win2k3 x64, but you learn something new every day)

The companies AD/Exchange/SharePoint have been down now for 3 days because they cannot activate this copy of Windows on the Domain Controller...  

I have had 6 people tear apart the office and everyplace that they can think of around the office here and we have been unable to come up with any retail or OEM disk...

The company owns a Volume Licenses for Server 2k3x64 but for some reason Jack-A$$ referred above used some other sort of media and key?

So, in conclusion...  The companies Only Domain Controller with all the security info for the 200 employees that work here, Groups, DHCP, DNS, WINS and who knows what else at this point...  Is stuck in a VM that I can't activate...

Microsoft has told them and me here numerous times as we have tried to work with them officially and since we don't know what product key he used or have the physical media they cannot generate a new product key for us...

I either need to get around the registration and boot the machine and export AD, DNS, DHCP, WINS, etc to a valid machine running on their Volume License Keys...

or...

Figure out how to extract the VM to an NTFS partition and then figure out some home to export the data to a new machine...

or...  

Start their company from Scratch...  I'd hate to do this...

Any and all assistance would be excellent!!!  They've told everyone to pretty much stay home till they get this fixed....  

I'd give more point if I could...  I'll even open up multiple questions to get answers so everyone gets points for chipping in on this multi-tiered problem...  

HELP!!!! (lol)

~~Sean
0
Comment
Question by:Daeta42
  • 4
  • 2
  • 2
  • +4
12 Comments
 
LVL 2

Expert Comment

by:jesse_7271
ID: 33546028
You don't need the original product key if all it is asking for is activation.


When asking to activate the product, it asks, by internet or by phone.  

Choose by phone, then it will generate a huge code and display it on the screen.

Call microsoft, tell them you are restoring a server, give them the code from off the screen, then they will give you a valid activation code.

Or

Alternatively, you could just edit another vm, and attach that hard disk as a secondary drive.


But I've activated a ton of VM's through microsoft phone support without needing the original product key
0
 

Author Comment

by:Daeta42
ID: 33546090
yeah, so have I...  but they are being screwy about this one...  Probably because it has  been activated 3 times in 2 days and then about 400 attempts by aforementioned Donkey...

If I attached it as a secondary drive to another VM...  How would I extract AD information from it and migrate to another DC?  DHCP, WINS too....???

0
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 33546168
maybe slmgr -rearm --> but you can't even get in to try that
So if you can get to ntds.dit...then you could try someting like cb5 did
http://cbfive.com/blog/post/Unorthodox-Forest-Recovery.aspx
That is not easy and not common.  I'd try again to call and talk to managers and see if they can help you in any way
You are in a tough spot
Thanks
Mike
 
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Expert Comment

by:jesse_7271
ID: 33546392
Like mkline said,  it might be possible to grab the needed files like Ntds.dit, Edb.chk, Edb*.log, Res1.log and Res2.log, but I feel like that is a real longshot.

I think if you work with microsoft and explain that this has all been on the same hardware(which it has, if it is only one ESXi server), that there should be no problem.  
 
That is your quickest, safest bet, anything else, is pretty slim.
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 33546407
I would also see if there is a systemstate backup somewhere that would have the AD on it and could be restored to a new VM if needed.

I hope this helps !
0
 

Author Comment

by:Daeta42
ID: 33546449
OMG...  Reading that was reminiscent of exactly where I am sitting right now...  I am trying to pull weight around with these people from India to get some assistance...  (Damned Microsoft Outsourcing!!!)  

Until then I am heading towards Mike's suggestion...  Now the question is how do I extract the data out of a VMDK file to an NTFS partition so I can get the data needed???

Hopefully we're getting somewhere...  (Least I am getting edumacated about something)

Thanks!
0
 
LVL 29

Expert Comment

by:pwindell
ID: 33546725
I would also see if there is a systemstate backup somewhere that would have the AD on it and could be restored to a new VM if needed.

May not have to go that far,...I thought (maybe I'm wrong, but..) a machine needing a re-activation would still run,...you just can't get into the Desktop.   So why not build a new VM (with the right disk this time) join it to the Domain and DC Promo it to a DC.  Set up the other services on it as needed.  Then shutdown the old one and do a Meta Data Cleanup to get rid of the old one since you can't get into the Desktop to DCPromo it out cleanly.
0
 
LVL 5

Expert Comment

by:chkdsk01
ID: 33549109
I haven't tried this process with a dc but member servers, this works on. And sunce its a vm, you could clone it and see if it works.  Anyway, If you have volume license media that is the same build, service pack, etc, you can run a repair and web it prompts for the key, enter your volume license key. Voilà, the server has been changed from oem to vlk. And since it's just a repair, it should Do any harm to the os. Like I said, I've never done this on a dc. Only member servers. But it worked on them.
0
 
LVL 7

Expert Comment

by:simonseztech
ID: 33551028
You should be able to boot in safe mode (even if windows is not activated)

Then from here export all you AD, DNS, DHCP setting to a shared location or to your new
windows server virtual/physical machine.
0
 

Author Closing Comment

by:Daeta42
ID: 33588763
Thank you!  The customer was very pleased when he was able to start seeing people come back to work again!!!

0
 
LVL 29

Expert Comment

by:pwindell
ID: 33589119
So what did you actually do?
 
0
 

Author Comment

by:Daeta42
ID: 33590222
Ok, quick run down...

1.  Followed CB5's directions and  got mailboxs out...  Created a new domain and a new Exchange server...  Attached the old Mailbox Database...  
2.  Used some Pearl scripts to import user/grou data into AD...  (Now I had a general Idea of how things were setup)
3.  Since there was only 1 DC;  I started to get errors at every turn w/ reference to the domain name or the computer name...  (The wanted them to be the same)
4.  So, I got all their user, group, Mailbox data...  HOURAY!!!!
5.  Started from scratch...  Went to network appliances, etc and got configs from them and started to piece back the puzzle...
6.  Added Secondary DC, DHCP, WINS, AD server  
7.  Imported user/group list
8.  Attached Mailboxes to the users.
9.  Just to be safe I had them all backup their stuff to a PST.  

Oh I forgot to mention that I made the buy me VSphere to get the job done faster...  And I worked on it for 38 hours straight...  

Such is the life of us IT Folks!

All the best!

0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question