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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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