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)

I use .bat for all mine at all my sites
I used to use cmd, everything is vbs now though

vbs here too (apart from me ... but I like .bat files)
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
.bat and .cmd mainly
Nath
Whatevers easiest. eg, drive mapping is a .cmd but printer mapping is a .vbs
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.

RM CC3 does it all for us so we don't have to change any.
Whatever seems easiest at the time. Mostly .VBS with a smattering of .CMD and a hint of compiled .AU3
Simple .bat files do the job for us here.
@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.

KiXtart scripts for most stuff and is used to call.
Batch files for BGInfo Wallpapers
VBS for Printers & Renaming Mapped Drives
Kixtart scripts for everything
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.Originally Posted by NetworkGeezer
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)