Projector's Laptop, Windows 7, got Windows Update - null - not work.

A Windows 7 Laptop, primary for Projector, not Business, could not do Windows Update.

 Note: As the Hardware Specification, not upgrade to Windows 10 even free. 


檢查是否有您電腦適用的更新

永遠安裝最新的更新,以增強您電腦的安全性及效能。

深入了解 (null) 提供的免費軟體 請按一下此處以取得詳細資訊。


To solve it:
1. Remove the AV that is not Microsoft

2. Enable Windows Defender

3. Run Windows Update

4. Back to Normal


Another question. 

Although it is only for the Internal, it would be better to clean any data after the presentation done.

So have deployed a scheduled task.


The "Program/script", because of Task Scheduler: 0x41301, requires not to run arguments directly.

It requires:
  a. Program/script:  C:\Windows\System32\WindowsPowerSehll\v1.0\powershell.exe 
  b. Add arguments (optional):  -NoProfile -NoLogo -NonInteractive -ExecutionPolicy Bypass -file "C:\_bin\Cleaner.ps1" 


Cleaner.ps1
Get-ChildItem C:\Users\user\Desktop -Recurse | Remove-Item -Recurse -Force

Get-ChildItem C:\Users\user\Documents -Recurse | Remove-Item -Recurse -Force

[...]


To set the task for user logoff:
a. Tab: Triggers
b. New / Edit
  •  Begin the task: On an event
  • Setting: Basic
  • Log: Security
  • Source: (blank)
  • Event ID: 4647 

Last, run "bginfo" to set a Notification on the Wallpaper.



Windows 10 Pro
Replaced it by one Windows 10 Pro laptop.

Set it via Local Group Policy for Cleaner.ps1.

User Configuration —> Windows Settings —> Scripts (Logon/Logoff).



References



Update
  • +Windows 10 Pro. 2021-Sep-22