Search This Blog

Wednesday, April 6, 2022

How to stop expired Windows Server auto-shutdown every hour --- server 2022 trial

 

How to stop expired Windows Server auto-shutdown every hour


https://medium.com/tech-learn-share/how-to-stop-expired-windows-server-auto-shutdown-every-hour-c0cd74e0974e

  1. Open- task manager.
    — -Go to- File
    — -Create- New Task
    — -Check the “Create this task with administrator privileges” checkbox.
    — -Type- cmd
    — -Press- Enter
  2. You will see the command prompt.
    Type- c:
    Type- cd /
    Type- cd PS
    Type- psexec -i -d -s cmd
  3. Click- Agree on the license agreement dialog box
    Then you will get another command prompt running under “nt authoriy\system”
  4. To check if the command prompt is running under “nt authority\system” —
    Type- whoami
    You should see nt authority\system.
  5. Type- sc delete WLMS
  6. Type- regedit
    The above command will open registry editor
    Navigate to- HKEY_LOCAL_MACHINE->System->CurrentControlSet->Services
    Locate- WLMS
  7. Right-click the Key and press delete.
  8. Restart the computer

The simple way of doing it would be to open command prompt with administrator privileges and run the command “sc delete WLMS” and then delete the WLMS key from the registry. However, if this doesn’t work, you can try the above method which will work for sure..



- I will try this in one month

 

No comments:

Post a Comment