Recently we posted a tutorial for removing "Windows 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:
<element id="atom(ShutDownFrame)" layout="flowlayout()">
<button id="atom(ShutDown)" accname="resstr(12128)" tooltip="true"/>
<button id="atom(ShutDownOptions)" accname="resstr(12131)" accdesc="resstr(12131)" tooltip="true" shortcut="115"/>
4. Replace the last 2 lines of code with following:
<element id="atom(ShutDownFrame)" layout="flowlayout()">
<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"/>
Guess what? We are only adding an extra string layoutpos="none" at the end of each line.
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.
NOTE: If you want to use a free tool to customize Windows 7 login screen, check following list:
Ultimate Collection of the Best Free Tools to Customize Windows 7 Login Screen
This article was posted by VG in following section: Resource Hacker, Windows 7, Windows Vista.
If you enjoyed this article, you can subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our most popular articles and archive to read other interesting articles. If you have some news or tip to share, please send us.
vajlent
How to remove the language button up right?
VG
^^ I have not tested it as I don't have Language button on Login screen but following tip should work:
In 6th line, you'll get following code:
<element id="atom(LanguageBarParent)" layout="filllayout()" visible="false"/>
Replace it with:
<element id="atom(LanguageBarParent)" layout="filllayout()" visible="false" layoutpos="none"/>
vajlent
@ VG:
ok, i'll have a go at it ;)
Thanx
Vishal
I thank to owner and all representtator of this site for giving knowledge to student like me and more
Andreas
How can i change the Vista circle cursor during shutdown and logon.
Reynaldo
How about in windows xp?
Andreas
Not in windows xp,in vista
TheAslan
Hiya!
This method worked very well in my x86 based machine but now i bought a new machine:
HP Pavilion DV7-3197.eo and there's Windows Ultimate x64 installed, i tried to remove those icons but when i replaced authui.dll file in window directory my machine didn't open at all, i don't know why it keeps doing it, this worked very well in my x86 based machine but not this... :( :(
Can you please help me with this?
VG
^^ Did you use x86's authui.dll file in new x64 system?
TheAslan
No i didn't, i used that authui.dll file which is located in windows directory and that is x64 in my machine, and it didn't work, though i tried to use x86 file too but same problem appears, and system is not opening.