dietla.blogg.se

Deleteonreboot
Deleteonreboot





deleteonreboot

Double clicking the whatever.reg file will add it to the registry, and give you the option to: 'Delete on Reboot' when you right click a file or folder. Open notepad, and copy/paste the text below. Delete those pesky files, and folders that don't want to go. It automatically quarantines or disinfects all infected files upon detection. Add 'Delete on Reboot' to Right Click Menu. [HKEY_CLASSES_ROOT\Folder\shell\Delete on /E:OFF /C REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\Currentversion\\RunOnce /v \"Del %1 OnNextReboot\" /d ^\"cmd.exe /c RD /S /Q \\\"%1\\\"\" /f\""Īpparently this registry code has been floating around the internet for a long time, and the most updated information I could find about it was someone saying that it worked for them on Windows 7. Entrol delete-on-reboot to quarantine persistent or highly embedded malware. [HKEY_CLASSES_ROOT\*\shell\Delete on /E:OFF /C REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\Currentversion\\RunOnce /v \"Del %1 OnNextReboot\" /d ^\"cmd.exe /c DEL /F /Q \\\"%1\\\"\" /f\"" I've stumbled across the following registry entries that give me such an option, but on Windows 10 圆4 it isn't actually deleting the files I apply it to. Having a right-click context menu option seems to be the most efficient solution. I've been looking for the most convenient way to tell Windows 10 to delete certain files upon rebooting.







Deleteonreboot