Last active
January 6, 2026 23:51
-
-
Save DavesCodeMusings/52f5001b408fbd3361a75db0e07bfa17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Prevent recreation of System Volume Information by blocking it with an empty file of the same name. | |
| ; Does System Volume Information store presonally identifiable information? I don't know. | |
| ; Do I want Windoze automagically creating stuff on my Raspberry Pi microSD? No, I don't. | |
| ; Must be run with admin privs | |
| dir /a | |
| cd REMOVEABLE_DRIVE_LETTER (e.g. D:) | |
| rmdir /s "System Volume Information" & copy NUL "System Volume Information" | |
| attrib +h "System Volume Information" | |
| dir | |
| ; The name is still there, but it's a file, not a directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment