How do you do....it? Thread, Verbose logging on startup script in Technical; Does anyone know how to output a verbose message in a startup script? I've enable Verbose logging and performing some ...
-
7th July 2011, 10:16 AM #1
- Rep Power
- 0
Verbose logging on startup script
Does anyone know how to output a verbose message in a startup script? I've enable Verbose logging and performing some minor repairs using the startup script but thought it would be nice to output a message using the verbose logging to explain what's going on. Any ideas?
Thanks in advance.
-
-
IDG Tech News
-
7th July 2011, 10:51 AM #2
-
-
7th July 2011, 11:05 AM #3
- Rep Power
- 0
I've already set the GPO to show verbose messages but I'd like to be able to create new messages to show, i.e. I have a startup script that performs a registry fix, then copies up a local Start Menu from the server share - instead of the display "Running startup scripts", I'd like to add some code to my startup script to output, "Performing registry fix" and "Creating Local start menu". I just don't know how to create a message to be displayed. That's if it's even possible.
-
-
7th July 2011, 11:12 AM #4 I think I may have a script that will echo a message to the screen and auto dismiss after a given delay say 10 seconds.
I will try to find it and post it here.
Edit: Had a look and I can't find it ATM [it has been a while since I last used it]
I will keep looking and post it when I find it.
Last edited by DaveP; 7th July 2011 at 01:11 PM.
Reason: Add detail to the post.
-
-
8th July 2011, 08:05 AM #5 OK. I have found the VBS script I was looking for. Here it is:
Code:
dim filesysSet objShell = CreateObject("Wscript.Shell")
Set filesys = CreateObject("Scripting.FileSystemObject")
Set sh = CreateObject("WScript.Shell")
sh.Popup "This is a VBS generated popup message. It will auto dismiss in 10 seconds or you can click 'OK'",10 [It is a script used by a duplicate login check written by Edugeek member @flexyjerkov]
[His post: Link: My script to prevent multiple logins]
So if certain conditions are met you can call this script and have it display a message to your users.
HTH.
Last edited by DaveP; 8th July 2011 at 08:15 AM.
Reason: Add detail to the post.
-
SHARE:
Similar Threads
-
Replies: 14
Last Post: 17th March 2010, 07:59 PM
-
By Ignatius in forum Windows Server 2000/2003
Replies: 3
Last Post: 14th August 2009, 04:48 PM
-
By MaxBerzon in forum Windows
Replies: 2
Last Post: 30th April 2009, 03:48 PM
-
By Chuckster in forum Windows
Replies: 5
Last Post: 26th February 2009, 01:53 PM
-
By randle in forum Windows
Replies: 4
Last Post: 30th July 2007, 02:56 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules