Logon scripts

Hi guys,
I have a Windows 2000 domain, with 2K, XP and 9X machines.
I have a script that maps shares as a network drive.
Would it be better to specify this script as the logon script ( using active directory user and computers)
or to place in startup folder in the all user profile at all PC's.

i may modify that script in the future , because i will be moving files from one server to another

thanks,

fatih
cakirfatihAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PasdargentCommented:
Make it a logon script so you only have to update it in that single place.
0
cakirfatihAuthor Commented:
would this be ok if i log on to Windows 9X and 2000 machines.

and is there are a way to set up the logon script property with another script.
instead of going through all user's properties and typing it.

fatih
0
PasdargentCommented:
If using Active Directory, you can set the script to be the Logon Script in the Default Domain Group Policy Object.  It will only work with 2000 or higher machines, though.

You could add the batch script to every user's profile by means of a script.  All you would need to do is to enumerate all users in your domain and set the scriptPath attribute in Active Directory to the desired batch file.  This way, you can make wholesale (but, at the same time, individual) changes to the domain user accounts.  If you need further assistance, please let me know.
0
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

haasjohCommented:
I'm under the assumtion that 2K domain controllers (Active Directory) don't play well with Win95/98. Especially in the logon arena. I have used Kixtart to push login stuff to mixed PC's such as this. I think Group Policies wont work with 95/98 machines. I think Group Policies only work with 2K and above. The problem with 95/98 machines is the way they try to access resources via the 2K domain. All and all the logon scripts should go in the SYSVOL NETLOGON directory. I ended up adding the logon script through the users account for 95/98 users.
0
David WilhoitSenior Consultant, ExchangeCommented:
I have a vbscript that will create/set homefolder for every user in AD, and map a drive to the hidden share when the user logs into the domain. It's pretty nice if you want it....

D
0
cakirfatihAuthor Commented:
it sounds interesting. yeaa i would want that
can i modify the script , so i can add more shares to be mapped network drive

fatih
0
David WilhoitSenior Consultant, ExchangeCommented:
yea, that's up to you...

D
0
koquitoCommented:
I would leave it as a log on script.
If you set it up under Start Up folder, some users might take it out of there by accident or on purpose. At least you have that chance. Also you will have to do it for every profile under that computer.
Active Directory in my opinion is a better approach.
You can use the $ sign to make the folder invisible and %username% and other variables to restrict access to it also.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
techwiz330Commented:
Instead of making a GPO or putting it in the local directory, you could go into the properties of the users and go to the Profile tab and fill in Logon Script with the name of your script.  This refers to files in the NETLOGON share on our server.  Just put the script in the NETLOGON share and set the property for all users.  I know you can script adding this property, as somebody in my organization has done this; however, I did not write the script, so I am not familiar with how to do so.
0
David WilhoitSenior Consultant, ExchangeCommented:
how does that script work for you, Abdi?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.