Solved

Logon scripts

Posted on 2003-10-22
10
429 Views
Last Modified: 2010-03-19
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
0
Comment
Question by:cakirfatih
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 3

Expert Comment

by:Pasdargent
ID: 9601309
Make it a logon script so you only have to update it in that single place.
0
 

Author Comment

by:cakirfatih
ID: 9601412
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
 
LVL 3

Expert Comment

by:Pasdargent
ID: 9601468
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 2

Expert Comment

by:haasjoh
ID: 9602039
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
 
LVL 24

Expert Comment

by:David Wilhoit
ID: 9604296
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
 

Author Comment

by:cakirfatih
ID: 9606917
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
 
LVL 24

Expert Comment

by:David Wilhoit
ID: 9607168
yea, that's up to you...

D
0
 
LVL 5

Accepted Solution

by:
koquito earned 300 total points
ID: 9623014
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
 

Assisted Solution

by:techwiz330
techwiz330 earned 200 total points
ID: 9645706
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
 
LVL 24

Expert Comment

by:David Wilhoit
ID: 9647466
how does that script work for you, Abdi?
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question