Batch File Problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UnVzdHlfUm9zZXI=?=

    Batch File Problems

    Hi everyone,

    I'm having some issues figuring out how to complete certain tasks
    with a batch file, whether it be not knowing the right syntax or if it can
    even be accomplished with a batch file. Heres my problem.

    I work in the IT department at a local bank and we are in the
    process of deploying new PCs for some of the employees with older work
    stations. I just finished staging about a dozen of them and in the next month
    or so we will be recieving a shippment of about 20 or more.

    Our staging process involves several different things including
    running the initial setup of windows, updating windows, configuring certain
    things in the system properties such as adding the computer to the local
    domain, installing several different programs, and changing the security
    properties for a few different things. Needless to say, this is a very long,
    time consuming process. I can spend between 2 and 3 hours on each individual
    machine, and thats before it even leaves the IT department!

    Just recently I thought "Hey, I could probably use a batch file to
    do most of this stuff". So, I began constructing the code and, of course, ran
    into many problems. I've learned alot about how batch files work and their
    syntax but I'm not very experienced with them.

    Here is a list of problems that I've ran into:

    1. I don't know how to change system properties or if it is even possible
    -I need to add the computer to the local domain
    -I need to uncheck the Allow Remote Assistance in the remote tab

    2. I need to map a network drive

    3. I have to change the security settings for a folder
    -I need to add the Domain Users group with full control privledges
    *I already found the command (cacls) but i keep getting
    the error
    message "The trust relationship between this
    workstation and
    the primary domain failed". Whats that all
    about?

    4. I need to access the Computer Management Console
    -Add APP-ZEUS to the Power Users group

    5. I need to change the trusted sites in internet security settings
    -Uncheck the Require Server Verification box
    -Add an IP address to the sites

    6. And last but DEFINENTLY not least, I want to know if its possible to
    automate software installations and setups with a batch and, if so, how.


    Ok, I know thats alot but help would be greatly appreciated. I've
    searched the web but it seems like I'm getting everything except what I need.
    If you don't know about everything but still have an idea about some things,
    any help would be beneficial.

    Thanks,
    Rusty Roser
Working...