Log in
Register
What's new
Search
Search
Search titles only
By:
Menu
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums
Tutorials
About
Rules
What's New
Driver Reference Table
Donate
Search titles only
By:
Latest activity
Register
Sysnative Tutorials
Windows 7 | Windows Vista Tutorials
Fix Permissions Changes Preventing Windows From Booting (Windows 7 / Vista)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="writhziden" data-source="post: 28384" data-attributes="member: 160"><p><span style="font-size: 15px"><strong>Fix Permissions Changes Preventing Windows Vista or Windows 7 From Booting</strong></span></p><p></p><p></p><p>Permissions problems often result in Windows loading to a black screen with a cursor and then not loading any further.</p><p></p><p style="margin-left: 20px"></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><img src="https://www.sysnative.com/writhziden/tutorials/images/PermissionsXP/XPPermissions1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>Permissions changes can result in Windows not being able to boot. The changes may result from user error or from a virus/malicious item. If you know you changed permissions prior to the problems starting, proceed to step 2. Otherwise, start with step 1. to remove malicious items prior to fixing the permissions.</p><p></p><p></p><p><strong><u><span style="font-size: 15px">Scan for Viruses Offline:</span></u></strong></p><p></p><p style="margin-left: 20px">Run <a href="http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline" target="_blank">Windows Defender Offline</a> to check for viruses/malicious items. You may also want to read through <a href="http://www.techmixer.com/free-bootable-antivirus-rescue-cds-download-list/" target="_blank">Free bootable antivirus rescue CDs</a> for other malicious item removal tools that run outside Windows. If you want further help from our security experts, start a thread in the <a href="https://www.sysnative.com/forums/forumdisplay.php" target="_blank">Security Arena</a>.</p><p></p><p></p><p><strong><u><span style="font-size: 15px">Access a Command Prompt Outside Windows:</span></u></strong></p><p></p><p style="margin-left: 20px"><strong><u>Access a Command Prompt using the Windows Install Disc:</u></strong></p> <p style="margin-left: 20px"></p> <ol style="margin-left: 20px"> <li data-xf-list-type="ol">Insert the Windows Installation Media and restart your system.<ul> <li data-xf-list-type="ul">Before you can use the installation media, configure your BIOS for the proper boot order. The installation media should be the first option in the boot menu, i.e. your CD/DVD drive or USB drive.<br /> <br /> </li> <li data-xf-list-type="ul">Refer to your system manual for steps to enter the BIOS and change boot order settings. Most system manuals can be found online through the system manufacturer (Dell, HP, etc.) or motherboard manufacturer (Gigabyte, ASUS, etc.).<br /> <br /> </li> <li data-xf-list-type="ul">If you cannot find your installation media, please contact your system manufacturer (Dell, HP, etc.) to replace missing recovery discs or contact Microsoft to replace a missing retail copy. If you were not provided with installation media, you may need to purchase a retail copy from an online or local store.</li> </ul></li> <li data-xf-list-type="ol">Press a key when given the message to <strong>Press any key to boot from CD or DVD...</strong><br /> <br /> </li> <li data-xf-list-type="ol">You'll see a screen that says <strong>Windows is loading files...</strong>; this may take a few minutes depending on the speed of your DVD drive or USB drive.<br /> <br /> </li> <li data-xf-list-type="ol">Choose your installation options and click <strong>Next</strong>.<br /> <br /> <img src="https://www.sysnative.com/writhziden/tutorials/images/RecoveryOptionsVista/RO3_zpsc570a7eb.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /><br /> <br /> </li> <li data-xf-list-type="ol">Choose <strong>Install Now</strong>.<br /> <br /> <img src="https://www.sysnative.com/writhziden/tutorials/images/RecoveryOptionsVista/RO4-Copy_zpsd38cbf0f.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /><br /> <br /> </li> <li data-xf-list-type="ol">Press <strong>Shift + F10</strong> when the installer loads.</li> </ol><p></p><p style="margin-left: 20px"></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><strong><u>Access a Command Prompt from the Windows System Recovery Options:</u></strong></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">Access the <a href="https://www.sysnative.com/forums/showthread.php)?p=28372&viewfull=1#post28372" target="_blank">Windows Recovery Options</a> and then select Command Prompt.</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"></p><p></p><p></p><p></p><p><strong><u><span style="font-size: 15px">Reset Permissions:</span></u></strong></p><p></p><ol> <li data-xf-list-type="ol">Once you have a command prompt available, check the directory structure of each drive as follows. In the example below, drives c:, d:, and e: are checked, but you may need to check other drives on your system. The drive will not be X: since that is the virtual drive stored in memory for the Windows installation files.<br /> <br /> [code]dir c:<br /> dir d:<br /> dir e:[/code]<br /> <br /> The example below shows the Windows directory on drive c:<br /> <br /> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"><img src="https://www.sysnative.com/writhziden/tutorials/images/PermissionsVista/dirCommand2_zps50213f93.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <br /> <br /> </li> <li data-xf-list-type="ol">Change to the drive containing your Windows directory; the drive is C: on the example system:<br /> <br /> [code]C:[/code]<br /> <br /> </li> <li data-xf-list-type="ol">Set up your permissions for your Windows directory:<br /> <br /> [code]<br /> icacls Windows /t /c /grant "NT SERVICE\TrustedInstaller":(F)<br /> icacls Windows /t /c /grant SYSTEM:(M)<br /> icacls Windows /t /c /grant SYSTEM:(F)<br /> icacls Windows /t /c /grant Administrators:(M)<br /> icacls Windows /t /c /grant Administrators:(F)<br /> icacls Windows /t /c /grant Users:(RX)<br /> icacls Windows /t /c /grant Users:(GR,GE)<br /> icacls Windows /t /c /grant "CREATOR OWNER":(F)[/code]<br /> <br /> </li> <li data-xf-list-type="ol">Set up your permissions for your Program Files directory:<br /> <br /> [code]<br /> icacls "Program Files" /t /c /grant "NT SERVICE\TrustedInstaller":(F)<br /> icacls "Program Files" /t /c /grant SYSTEM:(M)<br /> icacls "Program Files" /t /c /grant SYSTEM:(F)<br /> icacls "Program Files" /t /c /grant Administrators:(M)<br /> icacls "Program Files" /t /c /grant Administrators:(F)<br /> icacls "Program Files" /t /c /grant Users:(RX)<br /> icacls "Program Files" /t /c /grant Users:(GR,GE)<br /> icacls "Program Files" /t /c /grant "CREATOR OWNER":(F)[/code]<br /> <br /> </li> <li data-xf-list-type="ol">Set up your permissions for your Program Files (x86) directory if you have 64bit Windows:<br /> <br /> [code]<br /> icacls "Program Files (x86)" /t /c /grant "NT SERVICE\TrustedInstaller":(F)<br /> icacls "Program Files (x86)" /t /c /grant SYSTEM:(M)<br /> icacls "Program Files (x86)" /t /c /grant SYSTEM:(F)<br /> icacls "Program Files (x86)" /t /c /grant Administrators:(M)<br /> icacls "Program Files (x86)" /t /c /grant Administrators:(F)<br /> icacls "Program Files (x86)" /t /c /grant Users:(RX)<br /> icacls "Program Files (x86)" /t /c /grant Users:(GR,GE)<br /> icacls "Program Files (x86)" /t /c /grant "CREATOR OWNER":(F)[/code]<br /> <br /> </li> <li data-xf-list-type="ol">Set up your permissions for your Users directory:<br /> <br /> [code]<br /> icacls Users /t /c /grant SYSTEM:(F)<br /> icacls Users /t /c /grant Administrators:(F)<br /> icacls Users /t /c /grant Users:(RX)<br /> icacls Users /t /c /grant Users:(GR,GE)<br /> icacls Users /t /c /grant Everyone:(RX)<br /> icacls Users /t /c /grant Everyone:(GR,GE)[/code]</li> </ol><p>[t2]The icacls commands may take some time to complete depending on the size of your directories and the programs installed. Please be patient.[/t2]</p></blockquote><p></p>
[QUOTE="writhziden, post: 28384, member: 160"] [SIZE=4][B]Fix Permissions Changes Preventing Windows Vista or Windows 7 From Booting[/B][/SIZE] Permissions problems often result in Windows loading to a black screen with a cursor and then not loading any further. [INDENT][/INDENT] [INDENT][/INDENT] [INDENT][IMG]https://www.sysnative.com/writhziden/tutorials/images/PermissionsXP/XPPermissions1.png[/IMG][/INDENT] Permissions changes can result in Windows not being able to boot. The changes may result from user error or from a virus/malicious item. If you know you changed permissions prior to the problems starting, proceed to step 2. Otherwise, start with step 1. to remove malicious items prior to fixing the permissions. [B][U][SIZE=4]Scan for Viruses Offline:[/SIZE][/U][/B] [INDENT]Run [URL='http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline']Windows Defender Offline[/URL] to check for viruses/malicious items. You may also want to read through [URL='http://www.techmixer.com/free-bootable-antivirus-rescue-cds-download-list/']Free bootable antivirus rescue CDs[/URL] for other malicious item removal tools that run outside Windows. If you want further help from our security experts, start a thread in the [URL='https://www.sysnative.com/forums/forumdisplay.php']Security Arena[/URL].[/INDENT] [B][U][SIZE=4]Access a Command Prompt Outside Windows:[/SIZE][/U][/B] [INDENT][B][U]Access a Command Prompt using the Windows Install Disc:[/U][/B][/INDENT] [INDENT][/INDENT] [INDENT][LIST=1] [*]Insert the Windows Installation Media and restart your system. [LIST] [*]Before you can use the installation media, configure your BIOS for the proper boot order. The installation media should be the first option in the boot menu, i.e. your CD/DVD drive or USB drive. [*]Refer to your system manual for steps to enter the BIOS and change boot order settings. Most system manuals can be found online through the system manufacturer (Dell, HP, etc.) or motherboard manufacturer (Gigabyte, ASUS, etc.). [*]If you cannot find your installation media, please contact your system manufacturer (Dell, HP, etc.) to replace missing recovery discs or contact Microsoft to replace a missing retail copy. If you were not provided with installation media, you may need to purchase a retail copy from an online or local store. [/LIST] [*]Press a key when given the message to [B]Press any key to boot from CD or DVD...[/B] [*]You'll see a screen that says [B]Windows is loading files...[/B]; this may take a few minutes depending on the speed of your DVD drive or USB drive. [*]Choose your installation options and click [B]Next[/B]. [IMG]https://www.sysnative.com/writhziden/tutorials/images/RecoveryOptionsVista/RO3_zpsc570a7eb.png[/IMG] [*]Choose [B]Install Now[/B]. [IMG]https://www.sysnative.com/writhziden/tutorials/images/RecoveryOptionsVista/RO4-Copy_zpsd38cbf0f.png[/IMG] [*]Press [B]Shift + F10[/B] when the installer loads. [/LIST][/INDENT] [INDENT][/INDENT] [INDENT][/INDENT] [INDENT][B][U]Access a Command Prompt from the Windows System Recovery Options:[/U][/B][/INDENT] [INDENT][/INDENT] [INDENT]Access the [URL='https://www.sysnative.com/forums/showthread.php)?p=28372&viewfull=1#post28372']Windows Recovery Options[/URL] and then select Command Prompt.[/INDENT] [INDENT][/INDENT] [INDENT][/INDENT] [B][U][SIZE=4]Reset Permissions:[/SIZE][/U][/B] [LIST=1] [*]Once you have a command prompt available, check the directory structure of each drive as follows. In the example below, drives c:, d:, and e: are checked, but you may need to check other drives on your system. The drive will not be X: since that is the virtual drive stored in memory for the Windows installation files. [code]dir c: dir d: dir e:[/code] The example below shows the Windows directory on drive c: [INDENT][/INDENT] [INDENT][IMG]https://www.sysnative.com/writhziden/tutorials/images/PermissionsVista/dirCommand2_zps50213f93.png[/IMG][/INDENT] [*]Change to the drive containing your Windows directory; the drive is C: on the example system: [code]C:[/code] [*]Set up your permissions for your Windows directory: [code] icacls Windows /t /c /grant "NT SERVICE\TrustedInstaller":(F) icacls Windows /t /c /grant SYSTEM:(M) icacls Windows /t /c /grant SYSTEM:(F) icacls Windows /t /c /grant Administrators:(M) icacls Windows /t /c /grant Administrators:(F) icacls Windows /t /c /grant Users:(RX) icacls Windows /t /c /grant Users:(GR,GE) icacls Windows /t /c /grant "CREATOR OWNER":(F)[/code] [*]Set up your permissions for your Program Files directory: [code] icacls "Program Files" /t /c /grant "NT SERVICE\TrustedInstaller":(F) icacls "Program Files" /t /c /grant SYSTEM:(M) icacls "Program Files" /t /c /grant SYSTEM:(F) icacls "Program Files" /t /c /grant Administrators:(M) icacls "Program Files" /t /c /grant Administrators:(F) icacls "Program Files" /t /c /grant Users:(RX) icacls "Program Files" /t /c /grant Users:(GR,GE) icacls "Program Files" /t /c /grant "CREATOR OWNER":(F)[/code] [*]Set up your permissions for your Program Files (x86) directory if you have 64bit Windows: [code] icacls "Program Files (x86)" /t /c /grant "NT SERVICE\TrustedInstaller":(F) icacls "Program Files (x86)" /t /c /grant SYSTEM:(M) icacls "Program Files (x86)" /t /c /grant SYSTEM:(F) icacls "Program Files (x86)" /t /c /grant Administrators:(M) icacls "Program Files (x86)" /t /c /grant Administrators:(F) icacls "Program Files (x86)" /t /c /grant Users:(RX) icacls "Program Files (x86)" /t /c /grant Users:(GR,GE) icacls "Program Files (x86)" /t /c /grant "CREATOR OWNER":(F)[/code] [*]Set up your permissions for your Users directory: [code] icacls Users /t /c /grant SYSTEM:(F) icacls Users /t /c /grant Administrators:(F) icacls Users /t /c /grant Users:(RX) icacls Users /t /c /grant Users:(GR,GE) icacls Users /t /c /grant Everyone:(RX) icacls Users /t /c /grant Everyone:(GR,GE)[/code] [/LIST] [t2]The icacls commands may take some time to complete depending on the size of your directories and the programs installed. Please be patient.[/t2] [/QUOTE]
Insert quotes...
Verification
Post reply
Sysnative Tutorials
Windows 7 | Windows Vista Tutorials
Fix Permissions Changes Preventing Windows From Booting (Windows 7 / Vista)
Menu
Log in
Register
Top