Windows update could cause some problems with device drivers, video, USB etc.
That can cause corrupted system files, including PowerShell.
Possible ways to fix them:
Repair Windows components
Run from elevated cmd.exe:DSIM may take LONG time to run, don't interrupt it! Prevent windows sleep, restart etc.
Note: PowerShell is NOT one product!
Windows PowerShell 5.1
- Built into Windows
- Lives under C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
- Uses the old .NET Framework-based stack
- Repaired through Windows servicing, not normal uninstall/reinstall
PowerShell 7+
- Separate product installed independently
- Usually launched with
pwsh - Uses the newer .NET stack
- Can be installed, updated, or removed like a normal application
powershell.exe -NoProfile
this is "portable" 7.x
pwsh -NoProfile
wsl --statuswsl -l -v
Reinstall Docker only after WSL is confirmed healthy.
On Windows 11, the quickest way is through System Protection.
- Press
Win. - Type
restore point. - Open
Create a restore point. - In the
System Protectiontab, select your system drive, usually .. - If Protection says
Off, clickConfigure, turn onSystem Protection, and apply. - Click
Create. - Enter a name like
After_SFC_Docker_Recovery. - Wait for the confirmation.
If you prefer the longer route:
- Open
Control Panel SystemSystem Protection- Then the same steps above
A few practical notes:
- Restore points are not full backups.
- They mainly protect system files, drivers, registry, and some installed app state.
- They are still worth creating right now, especially before any more AMD, Docker, or Windows updates
A restore point is not something Windows usually “uses automatically” to heal the system during normal operation. It is mainly there for you to use when you want to roll system state back.
What it contains:
- system files
- registry state
- drivers
- installed-program state for many apps
- some system settings
What it does not replace:
- full file backup
- versioned backup of your documents
- guaranteed protection for all app data
When Windows creates them:
- Before some driver installs
- Before some Windows updates
- Before some app installs that use the proper installer APIs
- Sometimes on a scheduled basis if System Protection is enabled
When it is used:
- You manually run
System Restore - Or you boot into Windows Recovery and choose
System Restore
What happens when you use one:
- Windows reverts system configuration back to that snapshot time
- It can remove drivers, updates, and apps installed after that point
- Your personal documents usually are not the target of rollback
So think of it as:
- good for “my system got unstable after a driver/update/install”
- not good enough for “I need all my files backed up”
No comments:
Post a Comment