Friday, April 13, 2018

VMRC console has disconnected attempting to reconnect


I received this error below today while attempting to open the Console of a VM with VMware VSphere 5.5 Client.
The VMRC console has disconnected attempting to reconnect

I have seen this issue before so I decided to post the resolution this time.
Close all of the VMware vSphere Clients that you have running on your machine. Then open Task Manager and make sure all processes with the vmware-vmrc.exe and vpxclient.exe are not running. If they close all of those processes. Note: you may have several of these tasks running. In my case I was using the VCenter server as my client and it had several clients open in the background that was causing my issue.

One more thing if all fails above you may also need to reboot the machine you are using as a client.

Wednesday, April 4, 2018

Windows Server 2016 the Domain Administrator no permissions however, the Local Admin does

I tried to personalize the W2K16 Server desktop by adding desktop icons and I get something like the the error messages below. Sorry no screen shot :-)
C:\Windows\system32\rundll32.exe
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
Note: This does not happen if you login as the local admin. However, if you login as the Domain Admin which is of course a local admin you still get the permissions error.The server was already joined to the domain.

This issue is by design of Windows Server 2016. I knew it was related to server W2K16 so I tracked it down with the help of this article:
https://www.windows-security.org/95e7dc697029b38b45ac53f7efef3935/user-account-control-admin-approval-mode-for-the-built-in


How to fix this issue:
On the Windows 2016 Server open the GPMC, Computer Configuration, Windows Settings, Security Settings, Local Policies,  Security Options, then enable User Account Control: Admin Approval Mode for the Built-in Administrator account
Reboot the server and all is well...

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.