What do you use for your logon scripts.
I was just wondering what you all use/prefer to use for your log on scripts?
Do you use .vbs, .bat, cmd etc?
DO you use a mixture or do you stick to one file type and if so why?
After visiting a couple of our primary schools i noticed they all use different, (depending on who set them up)
Re: What do you use for your logon scripts.
I use .bat for all mine at all my sites
Re: What do you use for your logon scripts.
I used to use cmd, everything is vbs now though
Re: What do you use for your logon scripts.
vbs here too (apart from me ... but I like .bat files)
Re: What do you use for your logon scripts.
VBS, bat and EXE here depending on need. I write quite a few progs to run at login/logoff and startup/shutdown so I have an audit trail of every PC when they are on or off and when pupils and staff login and logout.
Wes
Re: What do you use for your logon scripts.
.bat and .cmd mainly
Nath
Re: What do you use for your logon scripts.
Whatevers easiest. eg, drive mapping is a .cmd but printer mapping is a .vbs
Re: What do you use for your logon scripts.
VBS and a batch script. Depends what it needs. I am not going to write the extra three lines of code in VB if a simple batch script will do it in one line.
Re: What do you use for your logon scripts.
RM CC3 does it all for us so we don't have to change any.
Re: What do you use for your logon scripts.
Whatever seems easiest at the time. Mostly .VBS with a smattering of .CMD and a hint of compiled .AU3
Re: What do you use for your logon scripts.
Simple .bat files do the job for us here.
Re: What do you use for your logon scripts.
@AJBritton
Hmmm I wonder about the compiled AutoIT scripts though. Doesn't this require both the interpreter and script to extracted from the EXE and then load and finally executed.
Wouldn't this slow down the logons or at least mean that you wouldn't have a guranteed time line?
@everyone else
VBS has some nice stuff in it but it feels slightly sluggish compared to KiX even with overhead of having to load the interpreter. Yeah I know VBS is builtin to windows so no problem about deployment, especailly as KiX tends to have more version changes.
Re: What do you use for your logon scripts.
KiXtart scripts for most stuff and is used to call.
Batch files for BGInfo Wallpapers
VBS for Printers & Renaming Mapped Drives
Re: What do you use for your logon scripts.
Kixtart scripts for everything
Re: What do you use for your logon scripts.
Quote:
Originally Posted by NetworkGeezer
@AJBritton
Hmmm I wonder about the compiled AutoIT scripts though. Doesn't this require both the interpreter and script to extracted from the EXE and then load and finally executed.
Wouldn't this slow down the logons or at least mean that you wouldn't have a guranteed time line?
Have to say that I've never noticed a delay when executing a compiled AutoIT script. Most logon time is spent processing group policy anyway.
Whatever scripting language you use, the interpreter will have to load and execute.
I tend to use AutoIT when I need a user interface or to do automation. In these cases, absolute speed is not really a concern.