Warning Message (Pop-up Message when accessing a directory)
We have been asked to have a warning message display on a client windows computer whenever they access a specific directory on our Windows 2008 server. Looked all over for solutions on this and found out how to do logon messages but nothing for messages to pop up when accessing a specific directory.
March 10th, 2011 6:41pm

Hi Maximus, There is no "Option" in the folder properties to display a message when a user tries to access the folder, I do suggest that you try the following: Add the shared folder as a network driver, create an Autorun file in the shared folder, configure the autorun to call an application that displays the message. To enable autorun for network drives follow this link: http://www.techrepublic.com/article/tech-tip-make-autoplay-work-with-network-drives/5108199MCDST, MCSAS, MCSES, MCDBA, MCITP, MCTS, MCT
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2011 1:32am

Hi Maximus, Any news? I tried the solution and it worked, you just need to create two files: Autorun.inf and Msg.vbs, you can find the code below Autorun.inf [Autorun] open=wscript Msg.vbs Msg.vsb MsgBox "Hello World!!!" Dim oShell Set oShell = WScript.CreateObject ("WScript.Shell") oShell.run "Explorer ." Set oShell = Nothing BTW autorun for network drives is enabled by default, you do not need to edit the registery or anything Hope it helps MCDST, MCSAS, MCSES, MCDBA, MCITP, MCTS, MCT
March 12th, 2011 4:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics