MGadAllah Posted November 6, 2006 Share Posted November 6, 2006 Save this codes as a .vbsOption ExplicitSet WSHShell = WScript.CreateObject("WScript.Shell")Dim WSHShell, n, MyBox, p, itemtypep = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"p = p & "LogonPrompt"itemtype = "REG_SZ"n = ""WSHShell.RegWrite p, n, itemtypeSet ws = WScript.CreateObject("WScript.Shell")Dim ws, t, p1, n2, cn p1 = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"n2 = ws.RegRead(p1 & "LogonPrompt")t = "Personalized Message"cn = InputBox("Type the New Message to appear above the User Name and Password and click OK", t, n)If cn <> "" Then ws.RegWrite p1 & "LogonPrompt", cnEnd If Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.