h0dg3s Posted March 1, 2008 Share Posted March 1, 2008 I use the classic Logon screen and force Ctrl Alt Del to logon. How can I add "Logoff" option to the start menu? Link to comment Share on other sites More sharing options...
Tripredacus Posted March 3, 2008 Share Posted March 3, 2008 I believe that option is only available if Fast User Account Switching is enabled. I know that you can't enable it if you are set up to log into a domain however. Link to comment Share on other sites More sharing options...
h0dg3s Posted March 3, 2008 Author Share Posted March 3, 2008 I believe that option is only available if Fast User Account Switching is enabled. I know that you can't enable it if you are set up to log into a domain however.You can enable it before you force classic logon, but not sure how you would do it when you have classic logon built into the cd. Link to comment Share on other sites More sharing options...
jmmdss Posted March 4, 2008 Share Posted March 4, 2008 h0dg3s,One possible way to do this would be with Group Policy. In my initial tests it seems to work.Start > Run > gpedit.mscUser Configuration > Administrative Templates > Start Menu and TaskbarSet Add Logoff to the Start Menu to Enabled and make sure Remove Logoff on the Start Menu is "Not configured" Link to comment Share on other sites More sharing options...
h0dg3s Posted March 5, 2008 Author Share Posted March 5, 2008 h0dg3s,One possible way to do this would be with Group Policy. In my initial tests it seems to work.Start > Run > gpedit.mscUser Configuration > Administrative Templates > Start Menu and TaskbarSet Add Logoff to the Start Menu to Enabled and make sure Remove Logoff on the Start Menu is "Not configured"So how do I add that into an unattended install? Link to comment Share on other sites More sharing options...
jmmdss Posted March 5, 2008 Share Posted March 5, 2008 Well, you could configure the setting in a domain GPO, since it looks like you're in a domain environment.Otherwise, you may want to try setting the following value in the Default User profile.[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"StartMenuLogoff"=dword:00000001 Link to comment Share on other sites More sharing options...
h0dg3s Posted March 5, 2008 Author Share Posted March 5, 2008 Well, you could configure the setting in a domain GPO, since it looks like you're in a domain environment.Otherwise, you may want to try setting the following value in the Default User profile.[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"StartMenuLogoff"=dword:00000001Would that work under HKLM so that it works for all users? Link to comment Share on other sites More sharing options...
jmmdss Posted March 5, 2008 Share Posted March 5, 2008 Actually, I don't think that it would work under HKLM, but I haven't tried it. You could always give it a shot I guess. However, if you modify the Default User profile, it should apply to all newly-created profiles on the machine.I use images rather than unattended installs, but it seems like you should be able to run a vbscript similar to the one below to modify the profile:Set oShell = Wscript.CreateObject("Wscript.Shell")Set oFSO = Wscript.CreateObject("Scripting.FileSystemObject")enableLogoffFunction enableLogoff On Error Resume Next defaultUserDat = "C:\Documents and Settings\Default User\ntuser.dat" regPath = oShell.ExpandEnvironmentStrings("%windir%") & "\system32\reg.exe" If oFSO.FileExists(regPath) And oFSO.FileExists(defaultUserDat) Then tempHive = "HKEY_USERS\def" command = regPath & " load " & tempHive & " """ & defaultUserDat & """" oShell.Run command, 0, TRUE tempLogoffPath = tempHive & "\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\StartMenuLogoff" oShell.RegWrite tempLogoffPath, 1, "REG_DWORD" command = regPath & " unload " & tempHive oShell.Run command, 0, TRUE End IfEnd Function Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now