473,386 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Jul 25 '08 #1
0 804

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bill | last post by:
I need help closing a CMD window when it is executed from Access. 1) The batch file is called from Access. 2) Access closes, 3) the batch runs a copy of the access database (creating a backup)...
6
by: Charles Neitzel | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
1
by: Charles | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
3
by: Chris | last post by:
Hi, How can I execute a batch file form asp.net app. I have a form which a user uploads a text file. after the file is uploaded I want a batch file to then execute and do some work. Thanks
6
by: eric.goforth | last post by:
Hello, I have a simple batch file that I'm trying to call from a VB.NET application: @ECHO OFF IF (%1)==() GOTO END DIR %1 > MYDIR.TXT :END @ECHO ON
0
by: Elroyskimms | last post by:
I need to execute a batch file via ASP.Net. In my VB.Net code, I'm using System.Diagnostics.Process to call the batch file and its appropriate command line arguments. I'm using...
2
by: treborstetsam | last post by:
Hi, I am creating a small batch file that (hopefully) will copy files from one name to another. however one batch of files cause problems - for the application they are going to be used in, they...
4
ck9663
by: ck9663 | last post by:
hi guys this is a little challenging, at least for me...here goes... i have to run a DOS batch file from a server. with some parameters that i need to pass. these parameters can be found on a...
14
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, In my windows applicationm, i need to excute a batch file. this batch file throws some text and questions to the screen, i need to catch the standard Output, check if it's a question, in...
0
by: =?Utf-8?B?UnVzdHlfUm9zZXI=?= | last post by:
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....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.