Jump to content

cacls crash - dos permissions broke the system


Recommended Posts

Posted (edited)

Hello,

I'd like to change system permissions from a batch file:

Why does this command screw up the system? Seems ok to me..

echo y| cacls "%SYSTEMDRIVE%" /t /c /p administrators:F system:F

Or it's just a vmware problem? (I tried it on the guest SO luckly)

After rebooting I get a empty taskbar (no more buttons) and drag&drop is not working..

Edited by phaolo

Posted (edited)

No answers..but luckly I found the solution.

Correct command parameters are:

echo y| cacls "%SYSTEMDRIVE%" /t /c /p Paul:F administrators:F system:F users:R

echo y| cacls "%USERPROFILE%" /t /e /r Users

Maybe it will be useful for someone

Goodbye

Edited by phaolo

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...