Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
January 4, 1999
If you need to reset the permissions on the Users directory, you can use JSIUPERM.bat, as long as the usersfolder name is the same as their UserName.
To use JIUPERM.bat:
JSIUPERM Folder
Example:
JSIUPERM c:Users
You will need to create a c:yes.txt at a CMD.EXE prompt by typing:
C: | |
copy CON YES.TXT | |
y | |
JSIUPERM.bat contains:
@echo offif "%1"
"default" goto dfltcacls "%fold%%user%" /T /G Administrators:F SYSTEM:F %1:F < c:yes.txtgoto end:dfltcacls "%fold%%user%" /T /G Administrators:F SYSTEM:F < c:yes.txt:end
You May Also Like