Recently we posted a tutorial for removing "Windows Branding Logo" and "Ease of Access" (Accessibility) Button from Windows Vista and 7 Login Screens: How to Remove “Branding Logo” and “Ease of Access” (Accessibility) Button from Windows Vista and 7 Login Screens?
Today in this tutorial, we'll tell you how to remove "Shutdown" button from the Login screen!
Here we start the tutorial:
1. First take ownership of "%windir%\System32\authui.dll" file and then open it in Resource Hacker.
Note: here %windir% represents "Windows" directory which can be found in the system drive where Windows is installed. In most of the cases its C:\Windows.
2. Now press "Ctrl+F" keys or select "Find Text" option from "View" menu.
3. Type Shutdown in Find what text box. Click on "Find Next" button and it'll go to following lines:
5. That's it, click on "Compile Script" button and save the file. Now you'll not see the "Shutdown" button on login screen.
PS: Windows Vista "authui.dll" file contains only a single instance of (ShutDown) string, so you'll need to replace it only once using Step 3 and 4 but Windows 7 contains 3 instances of this string, so you'll need to change all the 3 instances in the file.
Today in this tutorial, we'll tell you how to remove "Shutdown" button from the Login screen!
Here we start the tutorial:
1. First take ownership of "%windir%\System32\authui.dll" file and then open it in Resource Hacker.
Note: here %windir% represents "Windows" directory which can be found in the system drive where Windows is installed. In most of the cases its C:\Windows.
2. Now press "Ctrl+F" keys or select "Find Text" option from "View" menu.
3. Type Shutdown in Find what text box. Click on "Find Next" button and it'll go to following lines:
<element id="atom(ShutDownFrame)" layout="flowlayout()">4. Replace the last 2 lines of code with following:
<button id="atom(ShutDown)" accname="resstr(12128)" tooltip="true"/>
<button id="atom(ShutDownOptions)" accname="resstr(12131)" accdesc="resstr(12131)" tooltip="true" shortcut="115"/>
<element id="atom(ShutDownFrame)" layout="flowlayout()">Guess what? We are only adding an extra string layoutpos="none" at the end of each line.
<button id="atom(ShutDown)" accname="resstr(12128)" tooltip="true" layoutpos="none"/>
<button id="atom(ShutDownOptions)" accname="resstr(12131)" accdesc="resstr(12131)" tooltip="true" shortcut="115" layoutpos="none"/>
5. That's it, click on "Compile Script" button and save the file. Now you'll not see the "Shutdown" button on login screen.
PS: Windows Vista "authui.dll" file contains only a single instance of (ShutDown) string, so you'll need to replace it only once using Step 3 and 4 but Windows 7 contains 3 instances of this string, so you'll need to change all the 3 instances in the file.
0 comments:
Post a Comment