timbo343 Posted March 29, 2006 Posted March 29, 2006 hi Is there a way to display a popup message when a user logs into the network on a client machine saying by logging in you have accepted our policies? Can this done in Group Policy or does it have to be done over scripts. Thanks Tim
webman Posted March 29, 2006 Posted March 29, 2006 There is a GPO for setting this message before login. The registry key is LegalNoticeCaption/LegalNoticeString but I think the GPO might be "Display a message to users before login" or something like that. Someone else is bound to know it on here though
SteveT Posted March 29, 2006 Posted March 29, 2006 Computer config-> Windows Settings-> Security -> Local policies -> Security Options Interactive logon: Message text for users....... Interactive logon: Message title for users....
tosca925 Posted March 29, 2006 Posted March 29, 2006 To display a custom message after the kids logon then try the script below. If you run a login script (either from a GPO or from the user profiles) then you can do it from there, if you want a GUI popup rather than a dos-box window you could use windows scripting host .... A straight forward way would be to paste the folling into a .js file and then add the .js file to the GPO/usersettings/scripts/logon section, you can grow from there ... ======= logonmsg.js ========== var oShell, sMsg, sTitle, nFlags; oShell = WScript.createObject("WScript.Shell"); sMsg = "First line of msg\n" + "Second Line of msg\n" + "Third line of message"; sTitle = "Title of message"; nTimeout = 30; nFlags = 64; oShell.popup(sMsg, nTimeout, sTitle, nFlags); WScript.quit(0); If you want to make it even more flash then do it with a web page: Set oIE=createobject("internetexplorer.application") Do While (oIE.Busy) Wscript.Sleep 250 Loop oIE.resizable=false oIE.width=400 oIE.height=400 oIE.toolbar=false oIE.menubar=false oIE.visible=true oIE.navigate "http://intranet/infopage.htm" Do While (oIE.Busy) Wscript.Sleep 250 Loop wscript.sleep 10000 oIE.quit this will open Internet Explorer, set the size to 400x400 (pick appropriate values for your page) and turns off the toolbars. It then loads a page from your intranet and displays it for 10 seconds (10,000 milliseconds) and closes. Apart from the fact that this can look "prettier" it has the advantage that "someone else" can maintain the message content - they just have to edit the web page and a different message appears when users log on without having to change the script.
alexknight Posted March 30, 2006 Posted March 30, 2006 Trying not to be too dense and showing my woeful inexperience, I have a question? How do you navigate to the Group Policy window?
timbo343 Posted March 30, 2006 Author Posted March 30, 2006 start>run>gpedit.msc That will get you to the group policy editor also in AD you can get to it, you can right click on an organisational unit, and go to properties and there is a group policy tab there. Try that Tim
Geoff Posted March 30, 2006 Posted March 30, 2006 also in AD you can get to it, you can right click on an organisational unit, and go to properties and there is a group policy tab there. This isn't true on W2k3 server. You need to use the Group Policy Management Console in Administrative Tools instead. Also if your on a WinXP workstation and have W2k domain controllers you should download and install the GPMC from MS and use it too. It makes your life a lot easier. http://www.microsoft.com/windowsserver2003/gpmc/default.mspx
apeo Posted March 30, 2006 Posted March 30, 2006 also in AD you can get to it, you can right click on an organisational unit, and go to properties and there is a group policy tab there. This isn't true on W2k3 server. You need to use the Group Policy Management Console in Administrative Tools instead. Also if your on a WinXP workstation and have W2k domain controllers you should download and install the GPMC from MS and use it too. It makes your life a lot easier. http://www.microsoft.com/windowsserver2003/gpmc/default.mspx Not entirely true if you dont have GPMC installed on w2k3.. and you can get to GPMC by right clicking the OU, you just have to click open and it'll open GPMC. Should really have GPMC installed tho as it does make life alot easier.
apeo Posted March 30, 2006 Posted March 30, 2006 Funny when i installed my w2k3 server it did not have GPMC so i would say it doesn't come as standard... not sure about DC install tho.
NetworkGeezer Posted March 30, 2006 Posted March 30, 2006 All my installs have been DC's. Hmmm doesn't this create too much replication traffic. Also it's best not burden application/DB servers with the DC overhead. This also makes your AD more robust as there are less variables to conted with.
Dos_Box Posted March 30, 2006 Posted March 30, 2006 Funny when i installed my w2k3 server it did not have GPMC so i would say it doesn't come as standard... not sure about DC install tho. You only get the AD group policy editor when you make the server a DC. Otherwise you have to use the local security policy version.
timbo343 Posted March 30, 2006 Author Posted March 30, 2006 okay okay okay. back to the point... i cant seem to get the message to display. Ive got... domain.com\pupils and i right click on pupils go to group policy and edit the policy. Ive just added a new policy for the computers OU and that still doesnt work.. Am i missing something and when is the message supposed to be displayed. Thanks Tim
apeo Posted March 30, 2006 Posted March 30, 2006 Like chinese whispers.. heads off in the wrong direction after a while.. Back to tim... did you do a gpupdate?
timbo343 Posted March 30, 2006 Author Posted March 30, 2006 ahhhh, how is that ran? do you go to run and type gpupdate?? Thanks
alan-d Posted March 30, 2006 Posted March 30, 2006 yep or gpupdate /force run the above on a client and it will ask for a reboot.
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