Solved

Logon Script Generator

Posted on 2004-09-01
5
854 Views
Last Modified: 2008-02-01
Where can I fing a Script Gen?
0
Comment
Question by:JoshDale
  • 2
  • 2
5 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 11959022
Perhaps I never thought of looking until now, but I've never heard of one.  What is it you want to script for?  There are so many potentially unique variables for your installation and network, that I can't imagine a generator being terribly useful to most people.
0
 

Author Comment

by:JoshDale
ID: 11959030
Mostly assigning shares, printer and other things.
0
 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 250 total points
ID: 11959082
I searched google, both News and Groups and didn't find much.
Go to google, click on the link above the search area that reads "groups" - enter the following:

~login script ~generator

The second item that appears (URL is WAAAAAAAY too long, but posted anyway below) addresses your question.
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%23yduGkCZEHA.3112%40TK2MSFTNGP09.phx.gbl&rnum=2&prev=/groups%3Fq%3D~Login%2Bscript%2B~generator%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%2523yduGkCZEHA.3112%2540TK2MSFTNGP09.phx.gbl%26rnum%3D2

In short, a login script contains dos based commands that will do stuff for you.  For example:

Assign a drive to a share:
net use x: \\server\share

Assign a printer to an lpt port (still needs the user to connect to it)
net use lpt2: \\server\printershare

Then there's a host of other things you can do using commands such as
IF and SET and referencing environment variables.

There are, of course, other scripting languages and program functionality you can use.
Some useful tools include the PSTOOLS (search google for download link), WMI - Windows
Management Instrumentation, Visual Basic Scripting (VBS), KixStart is an old scripting
language - you can use whatever you want provided it's installed on or accessible to your
clients workstations.
0
 

Author Comment

by:JoshDale
ID: 11959113
Yea, I have to come out with my own on a regular basis, so I thought I would just look for a generator.
0
 
LVL 18

Accepted Solution

by:
exx1976 earned 250 total points
ID: 11960463
Check out this website:

http://www.microsoft.com/technet/scriptcenter/default.mspx

Pay particular attention to scriptomatic and adsi scriptomatic about 2/3 of the way down on the left of the page...

I strongly advise against doing things this way, you really should learn VBS if you want to use it, it's a wonderfully powerful tool, but, this should answer the question you asked..


HTH,
exx
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now