All Tweaks

UI & Bloat Removal

Disable Lock Screen

Skips the lock screen image and goes straight to login on boot/wake.

Benefit

Faster access to desktop after boot/wake

Impact

low

Commands (1)

Run these commands in an elevated PowerShell window (Run as Administrator). This is exactly what CodeWinOptimizer executes for this tweak.

$entries = @(; @{Path='HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization'; Name='NoLockScreen'; Value=1; Type='DWord'; Label='Lock screen disabled'}; ); foreach ($e in $entries) { try { if (-not (Test-Path $e.Path)) { New-Item -Path $e.Path -Force -ErrorAction Stop | Out-Null } New-ItemProperty -Path $e.Path -Name $e.Name -PropertyType $e.Type -Value $e.Value -Force -ErrorAction Stop | Out-Null; Write-Host "[OK] $($e.Label)" } catch [System.UnauthorizedAccessException] { Write-Host "[INFO] $($e.Label) - key locked by system (feature likely already removed)" } catch { Write-Host "[ERR] $($e.Label) - $($_.Exception.Message)" } }

How to revert this tweak

  • In CodeWinOptimizer: disable the tweak again — the app restores the original values it recorded when it was applied.
  • Manually: reverse the change — re-enable the service, delete the registry value you created, or restore the previous value shown when you ran the commands.
  • With System Restore: press Win + R, run rstrui, and select the restore point that was created before the change.

Frequently asked questions

Do I need to restart?

Some changes apply immediately (many registry and network values). Others — services, GPU scheduling, power settings — only take full effect after signing out or restarting. If the change seems to have no effect, restart before troubleshooting.

Will it survive Windows updates?

Most values persist, but major Windows feature updates can reset policies, services and scheduled tasks. After a big update, come back to this page and re-check the tweak — the app also shows the current state before applying anything.

Is it reversible?

Yes. It is a low-impact, easily reversible change: disable it in the app or restore the original value shown when you ran the commands.

Can I apply it manually?

Yes — every command listed above is exactly what the app runs. Open PowerShell as Administrator and run them one at a time, checking the output. For a guided flow with a restore point and one-click revert, use the app.

Related tweaks