How to disable all removable storage access using Registry

  1. Open Start.
  2. Search for regedit and click the top result to open the Registry.
  3. Browse the following path:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

  4. Right-click the Windows (folder) key, select the New submenu, and choose the Key option.Removablestoragedevices registry key
  5. Name the key RemovableStorageDevices and press Enter.
  6. Right-click the newly created key, select the New submenu, and choose the DWORD (32-bit) Value option.
  7. Name the key Deny_All and press Enter.
  8. Double-click the newly created DWORD and set the value from 0 to 1.Removablestoragedevices deny all setting
  9. Click the OK button.
  10. Restart your computer.
[mai mult...]

Fix Scheduled Task Won’t Run for .BAT File

If you have a .BAT file and you’re trying to get it to run automatically using Task Scheduler in Windows, you might have run into the issue where it simply doesn’t run unless you manually run the task. I created a batch file that deletes everything inside a temp folder whenever the computer starts up. I created a basic task in Task Scheduler and hoped for the best. Unfortunately, nothing happened when my computer booted up. After a lot of trial and error, I figured out how to get the script to run.

[mai mult...]