Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 579 of /www/webvol38/16/9svvwb3gxs5tmhv/

Windows, CMD-line tips, registry tips

1 post / 0 new
benzzon's picture
Windows, CMD-line tips, registry tips
Sökord: cmd cacls icacls

Turn off autoplay for USB-devices: uploads/20060622_172848_usboff.reg
Create shortcut "Open CMD Win" in explorer: uploads/20060622_173922_opencmdwin.reg

Start explorer and open "Common Desktop"-folder: Explorer.exe shell:Common Desktop

icacls Foldername /grant *S-1-1-0:(OI)(CI)F /C /T
Using the SID for Everyone (S-1-1-0) we make sure that it will work in all scenarios.

• (OI) = object inherit
• (CI) = container inherit
• F = Full control
• /C = Continue on error
• /T = Match all files and directories below the specified directory