Reset permissions from command prompt?


  • I only recently installed Win7 (x64 Home) and already I've been slammed by a monster virus that reduced all my Privileges to only the most basic level, though my account still shows me as "Administrator". I can't reset/edit my Permissions because all the settings are greyed out.

    I can't run RegEdit or even Notepad from the desktop, but I discovered that I CAN run RegEdit (et al) from the "Command Prompt" on the Win7 Repair Menu (via boot from DVD). So I'm hoping there's a way to edit my Permissions from there as well.

    Can anyone help?

    (Note: System Restore is not an option because the virus deleted all my Restore Points. Windows loads and runs, I just don't have Permission to do anything once I'm there.)

    Please help!

    Thursday, May 05, 2011 3:36 PM


  • Hi,


    Since this issue is caused by virus, I suggest that you may run Windows 7 in Safe Mode,and login with the “Administrator”( built-in administrator account in Windows 7). Then edit your Permissions.


    Regarding the built-in administrator account in Windows Vista and Windows 7, I would like to share the following information with you.


    1. The built-in administrator account is disabled by default in Windows Vista and Windows 7 on new installations.


    2. On non-domain joined computers, when there is at least one enabled local administrator account, safe mode will not allow logon with the disabled built-in administrator account. Instead, any local administrator account can be used to logon. If the last local administrator account is inadvertently demoted, disabled or deleted, safe mode will allow the disabled built-in administrator account to logon for disaster recovery.


    3. On domain joined computers, the disabled built-in administrator account cannot logon in safe mode. By default a user account that is a member of the Domain Admins group can log on to the computer to create a local administrator if none exists. If the domain administrative account had never logged on before, then the computer must be started in Safe Mode with Networking since the credentials will not have been cached. Once the machine is disjoined, it will revert back to the non-domain joined behavior depicted previously.


    Hope it helps.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Wednesday, May 11, 2011 6:27 AM