windows.ps1
                        
                             · 489 B · PowerShell
                        
                    
                    
                      
                        Surowy
                      
                    
                      
                    
                        
                          
                        
                    
                    
                
                
                
            # Disable Hibernation
powercfg.exe /hibernate off
# Disable Windows 10 fast boot via Powershell
# /v is the REG_DWORD /t Specifies the type of registry entries /d Specifies the data for the new entry /f Adds or deletes registry content without prompting for confirmation.
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d "0" /f
# https://superuser.com/questions/1277170/disable-windows-10-fast-boot-via-cmd-powershell
                | 1 | # Disable Hibernation | 
| 2 | powercfg.exe /hibernate off | 
| 3 | |
| 4 | # Disable Windows 10 fast boot via Powershell | 
| 5 | # /v is the REG_DWORD /t Specifies the type of registry entries /d Specifies the data for the new entry /f Adds or deletes registry content without prompting for confirmation. | 
| 6 | REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d "0" /f | 
| 7 | # https://superuser.com/questions/1277170/disable-windows-10-fast-boot-via-cmd-powershell |