Afsluiten wanneer de computer wordt afgesloten
- ctrl + R
- gpedit.msc
Script name: C:\Windows\System32\cmd.exe
Script parameters: /C “”C:\Program Files\PuTTY\plink.exe” -load “mini-f” -m “C:\Program Files\PuTTY\shutdown.txt””
Afsluiten via een snelkoppeling
Wanneer je via een snelkoppeling de computer wilt afsluiten. hoeft dit niet via CMD.
Gebruik dan de volgende link: “C:\Program Files\PuTTY\plink.exe” -load “mini-f” -m “C:\Program Files\PuTTY\shutdown.txt” (inhoud shutdown.txt is sudo shutdown -h now)
