Solved

Logon Script Generator

Posted on 2004-09-01
5
879 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

808 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