This script will Add LogOff to Ctrl-Alt-Del. (VBScript)
| 'Add LogOff to Ctrl-Alt-Del Dim WSHShell, MyBox, Title Message = "This script will Add LogOff to Ctrl-Alt-Del Keys." & vbCr Message = Message & "Continue?" X = MsgBox(Message, vbYesNo + vbQuestion, "Paul's XP and Vista Tweaks") If X = 6 Then Set WSHShell = WScript.CreateObject("WScript.Shell") WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogoff", 0, "REG_DWORD" WshShell.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogoff", 0, "REG_DWORD" Title = "LogOff was added to CtrlAtlDel Keys." & vbCr Title = Title & "Ths script was downloaded from www.paulsxp.com." MyBox = MsgBox(Title,64,"Finished") End If |