Skip to content

slackhideo/windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Windows Troubleshooting

Commands to fix some problems I tend to have with Windows, mostly related to disk space.

Disabling Hibernation

powercfg -h off

It removes the gigantic hiberfil.sys file.

Entering Safe Mode

Ctrl + Alt + Del -> Power icon -> Hold shift and click restart.

Fixing Performance Options Dialog Box Appearing at Startup

Basically, we manually remove the page file and let the system create a new one. To do so, boot up in safe mode and then:

cd c:\
dir /a:h
del /a:h pagefile.sys
chkdsk /f

Sources:
Bobby_Lee, Microsoft Community
MajorGeeks

Determining the Actual Size of the WinSxS Folder

Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

Source:
Microsoft Learn

Cleaning Up the WinSxS Folder

Dism.exe /Online /Cleanup-Image /StartComponentCleanup

Source:
Microsoft Learn

About

Windows troubleshooting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published