Windows 2016 – Hyper-V installation Issues

October 13, 2017

After installing the Hyper-V feature on a Windows 2016 Server with 1 active NIC.

I got the problem that after the installation I had no network connection anymore …

When I installed it I had remote control over the server that was standing somewhere abroad.

So I lost all connectivity Sad smile 


What went wrong and how to fix it !

When installing the Hyper-V Server Role and Feature, I selected the Network Adapter too.

image

This is where it went wrong… When the server restarted I did not have any network connectivity anymore.

So I had to call someone in locally to uninstall this Feature again, but again you will run into an issue… !

Ones installed one of the problems is that you can’t uninstall the Hyper-V feature anymore.

Using the Dashboard GUI anymore, it will be Grayed Out Sad smile

image

Therefor I started with first removing the Hyper-V Virtual Switch … But no success.

Solution Steps :

Step A :
Deleted Virtual Switch associated with Physical NIC

image

image

Step B :

You need to do this using PowerShell to run this command as Admin

Remove-WindowsFeature -Name Hyper-V


After removing the Feature I still did not have Internet Connectivity ?

Not on LAN and not on Internet ?

Step C :

After activating the second NIC, I gained back network connectivity … Smile

When comparing the 2 NICs setttings.

The one that did NOT connect had the Network Load Balancing (NBL) active.
This must have been activated when installing the Hyper-V feature ?

image

After deactivating the Network Load Balancing (NBL) 

Everything ran again normal…

PS :

if all of this did not work, you can try to go this way.

Deleted the Physical Adapter from Device Management and then Scanned for Hardware changes.

Physical Adapter was found, and settings were back to their original state

Hyper-V on 1 NIC

https://smudj.wordpress.com/2015/05/14/windows-10-hyper-v-setting-up-networking-shared-and-bridged-options/

Advertisements

Windows – Removing CBS.Log

September 28, 2017

 

Over time the CBS.log can grow to serveral Gigabytes !

To

image

 

Solution :

Deleting the CBS.log not possible because it is locked by the Process TrustedInstaller.

To solve this you need to stop the Service Windows Modules Installer

 

image

Next remove the CBS.log and start the service again.


VMWare – Tray Dmp Files on Citrix UserProfiles

September 27, 2017

 

You might notice that your Citrix Server runs out of DiskCapacity over time.

After some investigation I found out that we had over 12.000 VMWareTray dmp files counting up to serveral Gb’s !!

image

Problem :

The process vmwaretray.exe and vmwareuser.exe resulting in ‘Access Denied’ on the operation “RegOpenKey” against the key “HKLM\Software\VMWare. Inc.\VMWare Tools”.

 

Solution :

Change the permissions to the VMWare key “HKLM\Software\VMWare. Inc.” by adding ‘Read Only’ access to the proper AD Group.

 

image

 

image

So far I have not seen the .dmp show up in any of the user Terminal Services profiles anymore.

Enjoy


Windows – Server 2012r2 cannot install .Net Framework 3 / 3.5

September 21, 2017

This error when you try to install Microsoft .Net Framework 3 or 3.5 on a server running Windows Server 20012 R2.

Using Windows Server 2012 RC from the VHD, and selecting the .NET Framework 3.5 Feature, gives error message “The source files could not be found”

clip_image002

This issue continues even if you manually download the application and try to install it.

Solution :

To solve this issue, you need to install the .Net 3.5 framework from the Windows 2012 R2 installation DVD. The files are located on “Source\sxs”.

Note: To improve the speed you can copy the files from the DVD to any folder on the server.

For this example, the files were copy to “C:\temp\sxs”.

Open a CMS windows as an “Administrator” and paste the following command:

C:\Windows\system32>dism.exe /online /enable-feature /featurename:NetFX3 /Source :C:\temp\sxs /LimitAccess /all

Note: Modify the /Source attribute if needed.

If the process was successful, you will see the following message

clip_image004


Windows 2016 – Computer Browser Service Missing ?

August 8, 2017

Compared to older versions of Windows Server some services are missing like :

Computer Browser Service

Network Discovery Service

Making that you don’t see the computers available in your network by default …

image

Solution :

Make sure that the SHARING options for the DOMAIN profile is turned on !

image

Next check that the DNS Client Service is running

image

Next check that the Function Discovery Resource Publication Service is running

image

Next check that the SSD Discovery Service is running

image

Make sure the Firewall is allowing network discovery

netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

Go and check again to what is appearing now…

image

If it does not work you can try turning on the UPnP Device Host Service. Which I don’t recommend since UPnP can be a weak spot in your network…

Enjoy!


Windows – Group Policy Error Event ID 1030

August 3, 2017

After a Reboot of a Domain Controller Server 2008r2 I got many Errors Event ID 1030

image

And as well a Warning event LSA Event ID  40961 ?

The Security System could not establish a secured connection with the server ldap/xxx/xxx. No authentication protocol was available.

Diagnostics :

After reading on the net, I did several Diagnostics test:

dcdiag /v /c /d /e /s:%dcname% > c:\dcdiag.txt

image

repadmin /showrepl %dcname% /verbose /all /intersite >c:\repl.txt

image

May errors appear in there but did not ring a bell to me ?

I also did a machine Pwd reset on the domain controller that had the issue, but not success too Sad smile

The nltest.exe /dsregdns was OK but did not solve it to ??Baring teeth smile

image

Solution :

After trying all of the above did not help …

But simply restarting the AD Domain Services

image

It gave a few warnings but after that everything was back to normal.

image

Enjoy !


Windows – VSS error–Event ID 25

July 11, 2017

Recently I got an Error Event ID 25 and the System State backup failed!

image

Event ID 25 : …Shadow Copy Storage could not grow in time…

Debugging :

Use this command vssadmin list shadowstorage /for=D:

image

It showed some storage limitations for the VSS on the D: drive.

Also check the Backup Logs: %windir%\logs\WindowsServerBackup

image

Opening the last log I see that there are no errors and the log suddenly stops …

image

Solution :

I checked the settings and indead there was a limitation set…

image

image

So I changed it to unlimited and solved Smile

But make sure that you have enough disk capacity before you set it to unlimited !!

image

Because it can grow fast !

In case this does not work you can use these alternatives :

The following command on the host in order to place the shadow copy on another disk; drive letters need to be changed accordingly:

vssadmin add shadowstorage /For=D: /On=E: /MaxSize=UNBOUNDED
vssadmin resize shadowstorage /For=D: /On=E: /MaxSize=UNBOUNDED

Or you can modify the System Performance by Adjusting the Page File to 1.5 times the amount of RAM:

  1. Open System in Control Panel.
  2. On the Advanced tab, under Performance, click Settings.
  3. On the Advanced tab, under Virtual memory, click Change.
  4. Under Drive [Volume Label], click the drive that contains the paging file you want to change.
  5. Under Paging file size for selected drive, click Custom size, and type a new paging file size in megabytes in the Initial size (MB) or Maximum size (MB) box, and then click Set.

This will have only an effect after a REBOOT !