These are examples. The first is for a single file (or group of files if using wildcards). The second is what you would use to process the entire C: drive, /S meaning to process all subdirectories, and /D meaning to also act on the directories themselves.
I think it's probably impossible to change it from a running Windows. You'll probably have to do it from dual boot, or PE, etc. That said, the disadvantages outweigh the advantages, so it's not a method I can really recommend.
If you do so from the running Windows, it will skip all locked files nonetheless, it just won't show the "Access denied" messages.
is there a way to fix the inability to drag and drop in file explorer in 24H2 (26100.3476)? it's a minor nuisance but annoying
@d5aqoëp You have to get the files: devicemetadatawizard.exe and devicemetadatacommon.dll. They were apart of some huge Microsoft Windows Software Development Kit released back around Windows 8, I think. Not sure you will be able to find the full package now but you might be able to download the individual files somewhere. They are small and that's all you need. For the "My PC" icon you need "ChangeSystemIcon.exe". It's pretty old, too. But here's the file info: File: ChangeSystemIcon.exe CRC32: E4E697DF MD5: 4D10F205FE5A98945E3C574C1887F439 SHA-1: A31A687193FFA15214FFD31D6B4D9B52A64D4C77 One other thing, I install Windows 11 with both x64 and x86 architectures. These 32-bit files may not work if you use only x64 Windows 11. Hope that helps.
I'm using a "script" with different commands that also launches reg files, for example (all files in the same directory) : attrib -r -s xxxxxxxx regedit.exe /s Divers_11.reg regedit.exe /s xxx.reg regedit.exe /s yyyy.reg regedit.exe /s Intel.reg bcdedit /set useplatformclock false Etc... I wanted to create a shortcut (or one that launches at the end of the Windows installation) so that a command line launches the script, but it seems complicated The simple "shortcut" doesn't work, of course Is there a specific shortcut to create or command line ? Thanks