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 10 – How to reset Local Administrator Pswd

October 7, 2017

Let’s say you need to get access to a PC that has an Administrator password. But you don’t know it… ?

Solution :

This the simple procedure to get in :

1. Get a Boot CD or a Windows installation CD (Boot USB will do as well)

2. Next start up the Boot CD and go to the CMD prompt

image

3. Go to the the WINDOWS\SYSTEM32\

Rename the UTILMAN.EXEto UTILMAN.BAK

image

4. Copy the CMD.EXE to CMD1.EXE and renmame it to UTILMAN.EXE

Normally the Windows KEY + U combination will bring up this screen before you logon.

image

5. Restart the PC… and press Windows Key + U at logon screen

After the modifications the key combination will bring up the CMD

image

6. Now use this command to add a new Administrat User :

NET USER SUPERADMIN TESTUSER P@$$w0rd /Add

NET USER LOCALGROUP administrators SUPERADMIN /ADD

This will add a new user to with admin rights to the PC to login …

7. Use this command to activate the built in Administrator or reset the password.

NET USER Administrator P@$$w0rd /Add

NET USER Administrator activate:yes

image


Windows 10 – Offline Files not Available (Where did the Online Button Go ?)

October 4, 2017

In windows 7 using the file Explorer you could a button to work back online when you have been offine.

Example after making a VPN connection to your home base, you could switch to work online for all offline files and folders.

In Windows 10 this feature seem to have disappeared ?

But not realy ….

Solution :

Once you are offline first connect back using a VPN connection to your server….

And in the File Explorer go to EASY ACCESS  next click work OFFLINE ?

This is the confusing part… even if you are working offline you need to click it again Smile

image

You can monitor the status bar of the file eplorer at the bottom it should change to ONLINE

image

the funny part is that the label of the Butto Work Offline will never change to ONLINE Confused smile

If this does not work in your case you can try to add this registry key, reboot and try again….

Add : SilentForcedAutoReconnect

image

It did work in my case Smile

Enjoy !!


Windows Core IoT – Remote access on a Raspberry PI3

October 1, 2017

This is the procedure to configure remote access to Windows IoT on a RPI3

 

1. First Activate the REMOTE Access on your RPI3

Open connection to your RPI3 using the Web Portal,

and go to REMOTE to active Remote Access

image

 

2. Next install the Remote Display App from the App Store on your Windows 10 PC

image

After Download you can start the App to connect to your RPI3

 

image


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