Jump to content

Recommended Posts

Posted

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)

Posted

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

Posted
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.
Posted

@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.

Posted

KiXtart scripts for most stuff and is used to call.

Batch files for BGInfo Wallpapers

VBS for Printers & Renaming Mapped Drives

Posted
@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.

Posted
batch for logon scripts that map network drives at the moment.

vbs for printers and tweaking other settings.

 

Ben

 

Same here. But I am learning VBScript and other things at the moment and might change things in the future at some point. Traditionally I have loved batch scripts- but my HND course has moved us away from "easier" to "bloody learning curve" :lol:

Posted

Batch for drives, vbs for printers and WMI queries. Stuff gets prototyped in batch scripts usually.

 

A few of my scripts are in perl, since scriptomatic can export to perl (and python), and I can then get a (linux) monitoring box to run the scripts against workstations.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...