Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm looking for a better solution to logon scripts. We run a NT4 domain & all clients are NT4. We run script files out of the NETLOGON share for all clients, but we're finding that adminstration of the 600+ script files is getting to be too much. I'v started to evaluate Inteletek's ScriptLogic which seems ok. Does anyone know of any other solutions?

What is your reason for running 600+ scripts? Are you not able to use some system variables and such to narrow the amount of scripts needed? This seems like a lot of scripts. Having worked in an environment with over 6000 users I could not even imagine that many there. What are you doing that is so user specific?

I agree with the post above. I've worked on a project with 18,000 users and had one really long logon script ! ;)
Organize your domain by putting people into Groups. Then have your logon script refer to those groups for mapping drives, setting access, bla bla....

Each user has his/her own logon script that maps printers & network drives. Our users are in domain groups, so where do I go from there to unify our scripts?

If you are using batch file scripting - you can use ingroupr.exe to determine group membership. Ingroupr.exe is included with MS Resource kit. Use it in your batch file.
If you want a more complicated scripting - you can use VBS (visual basic scripting). You will need to install the VBS host in each of the client computer or compile your script to an .exe.

If I already have a bunch of users set up and want to assign each of them a home dir and a global logon script, do I *have* to go through each user's properties individually? Surely there's a way to do this automatically?
I'm at a loss wondering why NT designers decided not to create user home dirs by default when the user is created and why there isn't a netware-like global logon script or even the ability to assign logon scripts in a group's properties page...These seem to be highly useful functions - anyone know why they were ommitted?

A comment to response 5.
To add a script MANY to exixting useraccounts.
Make a txt-doc. with the name of all users. like this:user1
user2
user3Then run the following command:
for /f %I in (textfile.txt) do net user %I /scriptpath:logonscript.bat

Hmmmm, a nice collection of tips here for various login probs.
I use ifmember from the free download of NT4 resource kit, a nice enhancement to scripting.
Only one question about all the %%this and %that !...
Where can you find definitive documentation about all these extra's and codes 'N' Stuff !

Can anyone please tell me a way hopefully by scripting to create THE SAME direcory structure for all my users automatically.
i.e.Users
Joe Bloggs

Can anyone please tell me a way hopefully by scripting to create THE SAME direcory structure for all my users automatically.
i.e.Users
Joe Bloggs
Docs
Worksheets
Emails
John Smith
Docs
Worksheets
Emails
Any advice greatly appreciated....please email me with details many thanks in advance

Back to the first thread. We have 3000 +\- a few users in 12 domains in 10 different locations and all use basically one long cryptic script. Generally they were started simply and updated as needed over a long period of time. As OS's created more scripting tools the simple scripts became more and more complex. I've looked at some that no one new who originally wrote them. Bottom line. Start simple and add components as you feel comfortable.

I was curious if someone could help me. I'm trying to run a vbs from the netlogon.bat file and was curious how you called the username variable in the vbs script that was called. Thanks for any help...

I was also wondeting if anyone could answer my question for me. I am trying to set up a default printer for users when they log on though a .bat script according to which computer they log on to.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |