Options

How does everyone do administrative scripting?

slinuxuzerslinuxuzer Member Posts: 665 ■■■■□□□□□□
I was wondering how everyone handles this. The scripts at my plant are outdated batch since our domain controller was upgraded from NT4.

The concern I have here is the people who write our database front ends have told me that if the windows scripting host runs on all our machines it could be at major risk for virus's. We use all xp workstations and I believe the scripting host is running by default on xp (I know we haven't manually disabled it)

So my question is will this really be that much of a virus issue? and how is everyone else doing this.

We have recently started making users admins of their machines, and I am thinking about applying our scripts through group policy.

Comments

  • Options
    sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    I am not sure what the connection is between batch files in a login script and WSH?

    However, making your users local admins is way more dangerous than running WSH or batch files.
    All things are possible, only believe.
  • Options
    blargoeblargoe Member Posts: 4,174 ■■■■■■■■■□
    slinuxuzer wrote:
    We have recently started making users admins of their machines

    Whoa there.. that's a red flag. Why are you making them local admins?
    IT guy since 12/00

    Recent: 11/2019 - RHCSA (RHEL 7); 2/2019 - Updated VCP to 6.5 (just a few days before VMware discontinued the re-cert policy...)
    Working on: RHCE/Ansible
    Future: Probably continued Red Hat Immersion, Possibly VCAP Design, or maybe a completely different path. Depends on job demands...
  • Options
    slinuxuzerslinuxuzer Member Posts: 665 ■■■■□□□□□□
    The reason we are making users local admins is because my boss believes administratively it will be easier than installing apps for them etc. I tried to convince him this was a bad idea, but he does get the tunnel vision often. This guy hates computers and is basically juiced in because he drank beer with the clique that used to run our plant, corporate fired all his buddies and he is the last hanger on. Gotta love that good ole boy system.

    We are currently using, batch files. (scripts are becoming dated)
    I am wanting to re-write the scripts in vbscript and was told by one of our contracted sql developers that you would have to run wsh (wich is my understanding that it is already running) and that running wsh opens us to more virus issues.

    considering switching to vbscript because I don't know batch really well, same for vbscript and if I gotta learn something from what I know most people use vbscript for administrative scripting.
  • Options
    WanBoy67WanBoy67 Member Posts: 225
    As regards learning scripting be it VBScript or Powershell, Im in the same boat - it's something I want to learn. Another few weeks and I'll be in training for the Scripting Games. No weights thankfully icon_lol.gif

    Scripting Games MMVIII
    http://www.microsoft.com/technet/scriptcenter/funzone/games/default.mspx
    Yes we can, yes we can...
Sign In or Register to comment.