FacebookTwitter
Hatrack River Forum   
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Forum » Active Forums » Books, Films, Food and Culture » Simple batch help and/or resources to learn?

   
Author Topic: Simple batch help and/or resources to learn?
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post 
Hi,

I am testing trying to install DeepFreeze6 Enterprise in a computer lab. There is no way to make as .msi file that I can use on a 2003 server to install on all the computers.

Is there a simple batch file I can use to install on the computers? Should I use a VB script? I am studying VBscripts, but have not found anything on installing executables.

The instruction book with deepfreeze talks about silently installing with batch files. It provides a sample command line "DF6Wks.exe /install /freeze=C /PW=password"

I understand the command line, what I don't know is what batch file should I insert that in? Any ideas on where I can learn and see sample batch files or VB scripts to use that command?

This is where I am trying to find VB scripts I can use.

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post 
I am thinking I can just make a batch file with this in the text:

"\\servername\path\folder\DF6Wks.exe /install /freeze=C /PW=password"

Is it that simple?

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
TomDavidson
Member
Member # 124

 - posted      Profile for TomDavidson   Email TomDavidson         Edit/Delete Post 
Yes, provided that the account which runs the batch has administrative rights.
Posts: 37449 | Registered: May 1999  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post 
quote:
Yes, provided that the account which runs the batch has administrative rights.
Are you talking about the account that logs onto the computer or the account I set up the batch file on?

I plan to link a group policy to the batch file (which will reside on the server). If I do that, then all the computers in the OU should install the program since I am logged on to the server as an administrator--right?

Or do I need to put the computers in the OU in a group and give that group administrative (full) permission to the group policy?

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post 
I am bouncing back and forth with an exe file and an msi file.

When I do my msi script, I put in the full file path instead of browsing. When I restart the machine it doesn't add the program.

I have the program in a network folder with Administrator and System having Full control over the folder contents. Any ideas why it is not working?

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
TomDavidson
Member
Member # 124

 - posted      Profile for TomDavidson   Email TomDavidson         Edit/Delete Post 
Administrator and System are local accounts on each machine. A folder secured on your file server that way will have access restricted to the local system processes and the local administrative user for the file server.

This is no problem if you're running the script from the server and pushing the install out remotely to the other machines, but you probably aren't; for one thing, you probably need to be pushing the install out under an administrative account for those machines.

Rather, you need to run the install from a domain account that has administrative rights to all the individual machines AND has rights to the fileshare (but not necessarily the entire file server).

(BTW, I would strongly recommend looking into WSUS/Group Policy for this kind of software deployment, and SMS if you can afford it. It will save you much grief and heartache.)

quote:

I plan to link a group policy to the batch file (which will reside on the server). If I do that, then all the computers in the OU should install the program since I am logged on to the server as an administrator--right?

More accurately, all the computers in the OU that have permission to read that policy will then attempt to run your batch file using whatever account they used to initially read the policy (or under whatever account you specify as part of the policy; I strongly recommend this latter option). Note that running this batch file requires that the account in question a) have rights to view the policy itself; b) have rights to the fileshare; c) have rights to install applications on the local machine.
Posts: 37449 | Registered: May 1999  |  IP: Logged | Report this post to a Moderator
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2