Windows 10: Difference between revisions

From miki
Jump to navigation Jump to search
Line 25: Line 25:
* Press {{kb|Win-X}}, then {{kb|U}}, then {{kb|S}} [https://answers.microsoft.com/en-us/windows/forum/windows_10-power-winpc/how-to-make-a-shortcut-to-put-windows-10-in-sleep/3c1ec06c-4029-488e-89fe-6ef63fa2ebba].
* Press {{kb|Win-X}}, then {{kb|U}}, then {{kb|S}} [https://answers.microsoft.com/en-us/windows/forum/windows_10-power-winpc/how-to-make-a-shortcut-to-put-windows-10-in-sleep/3c1ec06c-4029-488e-89fe-6ef63fa2ebba].
* Press {{kb|Win-D}} to show the desktop and make sure no windows is in the focus, then {{kb|Alt-F4}}. Select '''sleep'''.
* Press {{kb|Win-D}} to show the desktop and make sure no windows is in the focus, then {{kb|Alt-F4}}. Select '''sleep'''.

=== Manage sleep ===
References: [https://www.howtogeek.com/122954/how-to-prevent-your-computer-from-waking-up-accidentally/]

Use <code>powercfg</code> commands:

* <code>powercfg /requests</code> to show what applications are making requests, that prevents currently the PC to go to sleep.
* <code>powercfg -lastwake</code> to show the event that triggered the last wake up.
* <code>powercfg -devicequery wake_armed</code> to view which devices are allowed to wake the PC.
* <code>powercfg -waketimers</code> to view the wake timers.

To see power related events:
* Open '''event viewer'''.
* Select '''Event Viewer (Local) > Windows Logs > System'''.
* Right click '''System''', and select '''Filter Current Log'''.
* In even source, select '''Power-Troubleshooter'''.

To prevent a device from waking up the PC:
* Go to '''Device Manager'''.
* Select the devices, then '''Properties'''.
* In the '''Power Management''' tab, uncheck '''Allow this device to wake the computer'''.

To disable Wake timer:
* Go to '''Task Scheduler'''.
* Select the task.
* Uncheck '''Wake the computer to run this task'''.

To disable all wake timers:
* Go to power options.
* Select '''Sleep''', '''Allow wake timers''', select '''Disable'''

To disable wake for maintenance:
* Go to Security and Maintenance
* Click the up arrow on the right of Maintenance.
* This opens up Automatic Maintenance.
* Uncheck '''Allow scheduled maintenance to wake up my computer at the scheduled time'''.


== Troubleshoot ==
== Troubleshoot ==

Revision as of 20:34, 20 December 2020

See also Windows 8

Tips

Restart in BIOS

  • Click Restart while holding Shift. This should go to advanced restart menu, and select UEFI thingy.
... this works only from LOGIN screen it seems...
  • Press Win key, then search for bios. This should prompt for advanced start-up options.

Restart with USB

  • Click Restart while holding Shift. This should go to advanced restart menu, and select restart in USB thingy.
... this works only from LOGIN screen it seems...

How-to

Disable / remove BitLocker

To remove BitLocker from drive C:

Disable-BitLocker -MountPoint "C:"          # Or: manage-bde -off C:
manage-bde -status
# Wait for completion

To be completed

Shortcut for sleep

  • Press Win-X, then U, then S [1].
  • Press Win-D to show the desktop and make sure no windows is in the focus, then Alt-F4. Select sleep.

Manage sleep

References: [2]

Use powercfg commands:

  • powercfg /requests to show what applications are making requests, that prevents currently the PC to go to sleep.
  • powercfg -lastwake to show the event that triggered the last wake up.
  • powercfg -devicequery wake_armed to view which devices are allowed to wake the PC.
  • powercfg -waketimers to view the wake timers.

To see power related events:

  • Open event viewer.
  • Select Event Viewer (Local) > Windows Logs > System.
  • Right click System, and select Filter Current Log.
  • In even source, select Power-Troubleshooter.

To prevent a device from waking up the PC:

  • Go to Device Manager.
  • Select the devices, then Properties.
  • In the Power Management tab, uncheck Allow this device to wake the computer.

To disable Wake timer:

  • Go to Task Scheduler.
  • Select the task.
  • Uncheck Wake the computer to run this task.

To disable all wake timers:

  • Go to power options.
  • Select Sleep, Allow wake timers, select Disable

To disable wake for maintenance:

  • Go to Security and Maintenance
  • Click the up arrow on the right of Maintenance.
  • This opens up Automatic Maintenance.
  • Uncheck Allow scheduled maintenance to wake up my computer at the scheduled time.

Troubleshoot

Search bar not responding in start menu

Must disable Bing search:

REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 0 /f
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v CortanaConsent /t REG_DWORD /d 0 /f