Category Archives: Windows

Some stuff about the Windows system.

Windows machine gets suspended when inactive in VMware

Windows 8, Windows 8.1, Windows 10 get suspended or go to standby mode when are inactive for more than 5 mins. The issue is related to mobile devices which OSes were designed for and battery savings which disable some of the services such as RDP and users cannot login to machines.

In order to address the issue in VMware, a machine needs to be powered down and .vmx file needs to be modified. There are two ways of doing it:

  1. Directly via ssh and using text editor to append the following to <vm_name>.vmx file: suspend.disabled=”TRUE” save changes and exit file.
  2. Using vSphere Client by right clicking the machine and edit settings. Navigating to Options -> Advanced -> General and clicking ‘Configuration Parameters’ button. \
    1. Select ‘Add Row’ button.
    2. Name: suspend.disabled, Value: True
  3. Save settings and power the mahcine back on.

 

No Remote Desktop License Server to provide license

From time to time I receive the following error:

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator.

mstscError

The solution is as following and should be executed on the client side:

  1. Run regedit.exe
  2. Backup (Right click -> Export) the following folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
  3. Remove the aforementioned branch with all its content.
  4. Reboot the machine. (You may try without this step)
  5. Launch “Remote Desktop Connection” as Administrator (will recreate the folder):
    – mstsc /admin
    – Right click on the shortcut and “Run as Administrator”

Logitech USB Receiver not detected

While trying to set up my new external monitor, I’ve lost my current settings for Logitech peripherals( mouse, keyboard) via the screen USB ports.

Event after many attempts of direct connection of the USB receivers to the laptop the following errors were shown up:

Logitech Unifying Software cannot detect USB receiver:

UnifyingDialog

Device Manager cannot install the drivers:

DMerror

If trying to reinstall drivers the operating system cannot find them:

reinstallFailure

Next step is to check if USB driver is present in Windows folder. Navigate to C:/Windows/INF and look for USB.inf file.

If the file is missing you can download it from here: