Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Install applicatoins on Windows 2000

Posted on 2003-11-10
Medium Priority
Last Modified: 2010-04-14
I want to install several applications on almost 100 Windows 2000 PCs. How can I make all these applications to start their installation process automatically, rather I need to trigger the installations manually one by one?

Thanks in advance for help
Question by:kuanfai
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 9719496
It can be very easy if you have an active directory domain and server. Some of the tools that you'll want to use include group policy software installation and logon scripts.

Both of these can be setup from the same place in 'active directory users and computers' from the server or PC with the administration tools installed.

you can still do logon scripts and group policy on individual machines, not on the domain. but it requires touching each one, either physically or though the network and shared drives. Let me know you scenario and I will expound on either.

Paul Hieb
Network Engineer
M Technology Services

Author Comment

ID: 9719542
The PCs are in one workgroup, but there is no server to control them. Since my application utilized several other applications or tools, I want to install them on these PCs with one command or script something like the shell script on Linux. I know that there is a tool called ON Command CCM 4.5 that can do this. However it out of my budget to buy this tool. I believe there should be a way to do this in Window 2000 with some command, isn't it?

Expert Comment

ID: 9719613
If these applications require lots of feedback to install you might be best off programming a VB script using Windows scripting host. you can also use windiff.exe to 'build' packages. of these I know, but have never implemented. food for thought though.

However, you can write simple batch files to map drives, begin installation of programs, even if they require input, and to copy shortcuts, other files or import registry files. then it's as simple as dropping the bat file in the startup folder or imoporting a regfile that adds a 'run' or 'runonce' reference to the batch file. pretty much any command you can use in command line mode you can batch. And there are some other cool tricks to automate batch jobs. I have some samples and step by steps if you like.

Author Comment

ID: 9719650
Thanks for the comments. I would very appreciate if you can email me the samples on how to achieve this. my email address is: kuanfai_yf@hotmail.com

Accepted Solution

PaulHieb earned 750 total points
ID: 9719779
Here's some of the scripts we're using....

printers.bat.... automatically sets up network printers.

@Echo off
if exist %temp%\Sales5.txt goto SkipPrinter1
if errorlevel 1 goto SkipPrinter1
 echo Installing Sales5.  Press Yes to any questions....
 start \\mtserv\LJ5Sales
 echo Installed > %temp%\Sales5.txt
if exist %temp%\MTS4.txt goto SkipPrinter2
if errorlevel 1 goto SkipPrinter2
 echo Installing MTS4.  Press Yes to any questions....
 start \\mtserv\mtslj4
 echo Installed > %temp%\MTS4.txt
if exist %temp%\tektronix.txt goto SkipPrinter3
if errorlevel 1 goto SkipPrinter3
 echo Installing Tektronix.  Press Yes to any questions....
 start \\mtserv\tektronix
 echo Installed > %temp%\tektronix.txt

Here's one to run a backup job from the comand line.
this only works if you use the RSM utility to discover the GUID of you tape drive. -- Only for backup, but it shows some methods of if-then logic, variables, and using the output of other commands down the line.

for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do  set dt=%%i-%%j-%%k-%%l
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
rsm.exe refresh /pg85C01307D4C24BDFB7AA3AA3BDD3E509
ping -n 30>nul
for /f %%a in ('rsm.exe view /cg85C01307D4C24BDFB7AA3AA3BDD3E509 /TPhysical_media /guiddisplay /b') DO set media=%%a
set partition=%media%
rsm.exe erase /pg%partition%
ping -n 30>nul
rsm.exe refresh /pg85C01307D4C24BDFB7AA3AA3BDD3E509
rsm.exe freemedia /pg%partition%
rsm.exe refresh /pg85C01307D4C24BDFB7AA3AA3BDD3E509
ping -n 30>nul
ntbackup.exe backup @D:\Full.bks /n "%dtt%" /d "%dtt%" /n "%dtt%" /v:yes /r:yes /rs:no /hc:on /m normal /j "%dtt%" /l:f /p "4mm DDS"
rsm.exe eject /LG85C01307D4C24BDFB7AA3AA3BDD3E509 /astart

The following text in a .reg file can be directly imported into the local registry or scripted by appending the file name and path of the file as an argument to the 'regedit' executable. the following, if imported enables remote desktop sonnections to XP Pro Machines.

example: 'regedit -s myregfile.reg' (the -s to suppress confirmation dialogs)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]

Or open up your windows 2000 TCP stack a little (good for LAN communication)

Windows Registry Editor Version 5.00


Now you see how easy it would be to install as many apps as you wanted if you had every file and registry entry stored from an app and just put the copy and import commands into a batch file. Let me know how it goes. if you run into anything, I'd be glad to help on it.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

636 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