Prevent Windows 10 from Locking When Monitor Turns Off

1,open the registry.

2. Browse the following path:

HKEYLOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7

3. On the right side, double-click the Attributes DWORD.
Change the value from 1 to 2.
Click OK.

4.open the Power User menu and select Power Options.

5.Click the Change plan settings link for the selected plan. then click the Change advanced power settings link.

6 .On Advanced settings, scroll down and expand the Display settings.
You should now see the Console lock display off timeout option, change the default time of 1 minute to the time you want, in minutes.
Click Apply.

Click OK to complete the task.

Remove Adobe Creative Cloud Files from Windows File Explorer Sidebar

Open registry:

Press Control + F to launch the find window. Search for “Creative Cloud Files”, uncheck the Keys and Values boxes and click Find Next. The first result should be within a directory that begins with HKEY_CLASSES_ROOT\CLSID. Below is a screenshot of what it looks like. If you do not see this screen, keep pushing the F3 key until you find it.

Once you’ve located the directory, look for a DWORD value on the right named System.IsPinnedToNameSpaceTree.

Double click it and change the “Value data” from 1 to 0. Finally, click OK to save the new value.

disable or enable Citrix License Management Service

Where:

-enable enables license management. The first upload to Citrix occurs seven days after you install the License Server.

-disable disables license management. We recommend that you use the License Management Service to manage your licensing environment.

-query displays the current configuration.

Upgrade ESXi from 6.5 to 6.7 via command line

Run this command to see the VMware online depot and list all profiles

Run the upgrade with this command:

Then reboot server

NTP – ntpdate works but does not update system time

Today I got a wired issue on AWS RHEL servers, ntpdate can’t update the time on it.

ntpdate can find out the time difference, but do not update system time.

And I did some research and found out this issue was caused by Wallclock Setting.

Below are the solutions for this issue:

0 means that the virtual machine is getting time from the host and not using independent wallclock.
1 means that the virtual machine is using independent wallclock and managing its time independent from the host.

Permanently Changing the Independent Wallclock Setting

Log in to the virtual machine environment as root.

Edit the virtual machine’s /etc/sysctl.conf file.
Add or change the following entry:

Enter 1 to enable or 0 to disable the wall clock settting.
Save the file and reboot the virtual machine operating system.

When it boots, a virtual machine gets its initial clock time from the host. Then, if the wallclock setting is set to 1 in the sysctl.conf file, it manages its clock time independently and does not synchronize with the host clock time.

Temporarily Changing the Independent Wallclock Setting

Log in to the virtual machine environment as root.
Enter the following command:

Enter 1 to enable or 0 to disable the wall clock settting.

Add or change the following entry:

Enter 1 to enable or 0 to disable the wall clock settting.
 

Ethernet address: ‘*’. It conflicts with VMware reserved MACs.

After manually modified the MAC address of a VM, got below error when try to power on the VM:

Ethernet address: ‘*’. It conflicts with VMware reserved MACs.

The solution is to modify the VMX file manually, and add below line:

ethernetN.checkMACAddress = “false”
ethernetN.addressType = “static”