Wednesday, April 4, 2018

ADprep Conflict Promoting a Windows 2012 R2 DC Server to a Windows 2008 R2 Domain


It has been quite a while since I last posted anything. So this one was such pain to track down I decided to post it and hopefully it helps somebody save some time and lots of aggravation!


I ran into this prerequisites check error below while promoting a Windows 2012 R2 DC Server to a Windows 2008 R2 Domain

The issue is related to WMI on the existing 2008 R2 DC where the WMI class objects are invalid.

Note: If you run adprep /forest prep from a command line you will also see this error Microsoft WMI Invalid Class Error [0x80041010
Note: I also tried running adprep /forestprep from a command line on the Windows 2008 R2 DC itself and it still failed 
 

After many frustrating hours of researching and trying all types of things I ran across this post which led me in the correct direction https://www.virtuallyboring.com/microsoft-wmi-invalid-class-error-0x80041010/

Note: I run everything from an elevated Windows Command line just in case
Run the Winmgmt.msc and select properties which will display if there are any issues with the WMI classes

 

If the WMI has an invalid class as seen above then download the Microsoft WMIDiag tool https://www.microsoft.com/en-us/download/details.aspx?id=7684

Extract it and Right click on the WMIDiag VBScript and select Open with Command Prompt

The script can run for a while and will eventually produce a text file. The text file will most likely identify a number of issues with .MOF extensions.

To resolve these issues

cd c:\Windows\Syetm32\wbem

An then run this command below:   

dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s


Run the Winmgmt.msc and select properties which will display if there are any issues with the WMI classes and you should now see something like this below


You can now go back and re-run the DC promotion process on the Windows 2012 R2 server

Continue with the DC promotion process and Reboot when required, etc.




Tuesday, September 1, 2015

"The operation is not allowed in the current state of the host"

You receive this Error below withing VCenter when trying to either create a snapshot, run a backup or start a VM, etc.
"The operation is not allowed in the current state of the host"

Resolution in the order that I used to resolve it
Disabled HA and DRS- same issue
Restart VCenter - same issue
Disconnect Hosts and then ReConnect - same issue
Disable Auto Start and Shutdown of Hosts- same issue
Login to the hosts with a Putty SSH connection
Type in Services.sh restart- This resolved the issue
I think that a restart of the hosts would have resolved the issue as well

I then Enabled the Auto Start and Shutdown of Hosts. I also verified that I could take another VM Snapshot, start a VM, etc..
I also ran a successful VM backup which also takes a snapshot of the VM before the backup

Monday, June 30, 2014

QuickBooks 2012 Printing with Windows 8.1

You may not be able to print or print to a PDF with QuickBooks 2012 and Windows 8.1. You get an error related to cannot create PDF file. Just follow the link below and you can then print the invoice to a PDF and then email or print, etc.

Download PDF Creator 1.6.1 from http://www.pdfforge.org/
Set PDF Creator as the default printer (optional)
On the printing window make sure it is printing from PDF Creator (click on the down arrow and choose it)
On that window after entering your info
Click on email on the lower part of window
Note: you may need to restart QuickBooks and Outlook, etc.
Note: You may also need to do some configuration within QuickBooks for Outlook other than that this process really works!
 
Reference
https://community.intuit.com/questions/721592-quickbooks-2012-on-windows-8-can-t-send-an-invoice-get-error-your-forms-were-not-sent-because-qb-could-not-create-the-necessary-pdf-files-i-tried-to-install-the-amyuri-file-but-it-loops

Wednesday, June 11, 2014

Unable to extend the partition check if there is sufficient disk space on the disk



When trying to extend a Windows Server 2003 partition using either Windows DiskPart or Dell’s ExtPart you get a message referencing “unable to extend the partition check if there sufficient disk space on the disk”. However, you do have sufficient disk space available. This happens because you are trying to add unallocated space to the drive that is not contiguous to the unallocated space. The unallocated space can only be added to the last partition not the other partitions before it. So in this case I had a C: drive a D: drive and a P: drive. I was trying to add space to the D: drive. The unallocated space can only be added to the last partition which is the P: drive.
If you were to look at disk management you can see that the unallocated space is at the end of the P: drive and therefore, cannot be added to the C: or the D: drive.

If you want to add the unallocated space to the C: or D: drive then you will need to use a 3rd party utility such as Paragon or GParted or AOMEI, etc. otherwise you can only add the unallocated space to the last partition.

Thursday, June 5, 2014

Exchange 2010 Mgt Console initialization failue

When opening up the Exchange 2010 Management Console "EMC"
You may see this error :  Server Initialization Failed
The WS-Management service cannot process the request. The user load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the quota for this user. The next request from this user will not be approved for at least Z milliseconds. 

The fix is to do a iisreset
Make sure you open a command prompt as an elevated user in order to run iisreset