Discussion Locked

Login and other scripts

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I always download anti-virus update and tell my users to update from a network shared folder. but few of them do that. I want their computer to search for update whenever they login. what should i do that? i have heard about loging scripts which I am so ignorant of?....oh i am ashamed! please help me on this.
thanks

11 replies

by bfilmfan

A login script is a file which is executed when a user logs into the network.

Depends on which OS you use would depend on how you execute them.

by biftuk

u didn't give me any example. i know what a loging script is. My problem is how u write that? just a piece of codes for my problem.

by biftuk

so what is the script for my problem? where do i apply that? on Windows 2000 servers.

by blackcurrant

Hi

You could configure your user's AV program to update automatically. Failing this, you could find out how to schedule the AV program to install the updates from your shared folder using Windows Task Scheduler.

Another option is to purchase an enterprise product which will allow you to configure and update AV on all the users machines from one location. Once set you can leave it alone.

How many users do you have? Which AV program do you use?

by sgt_shultz

if you search microsoft knowlegebase for windows 2000 howto login scripts you will find easy instructions. there are several scripting languages. my 2 cents is start with simple microsoft tools and you can learn fancy script language later. you do not mention if you are on AD?
once you have a login script working then visit the scripting section for examples to do as you wish. 'if exists' is how we used to have to do it. (if a new file exists in the user's placeforthis then do the update and get rid of the file and tell me you did it. else don't.)
but i think nowadays this is the hard way. think microsoft has tools now for this. think you can use the windows update management tools maybe.
anyhow: mskb is support.microsoft.com (this is your home page, yes?)
here is one to start:
http://support.microsoft.com/default.aspx?scid=kb;en-us;198642
Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
and scripting support found at technet.microsoft.com

by jacksonian

Sgt Shultz,

Sgt Jackson here, United States Marine Corps. Login scripts are so underrated. I have a login script that installed EVERY Microsoft patch for NT, 2000 and XP. I also recently created a script I included to take care of Zotob and the IRC bot. You can check for Antivirus definitions, and apply the most recent ones. It all depends on your registry keys. Now dont get me wrong, login scripts are not the answer, they are a supplement. If my Marines are out fixing other issues, when they login to computers why not take the time for IAVA compliancy and install patches, tweaks and settings? It works for me. DOS is not dead. In the Marine Corps, we have the smallest portion of the defense budget, and in true Marine fashion, I have learned to do more with less!

by sahilshaa

you go on your client and map the folder as drive.
open task schedule and give the pathe of this folder and click on when i logon.

by jacksonian

Can you tell me a little bit more about your network environment? What antivirus software are you using and what version? Do all users have internet access? Are users physically connected to the LAN, or do you have some users who work on stand alone machines?

by koshti

You can try products like McAfee's ePO server.
there are third party patchmanagement tools too.

If you dont want the patch to be forced you can try putting a message in login script to inform that patch's are available.

This discussion is closed to new replies.