Solved

Reg command equivelent for Windows 2000 Server?

Posted on 2008-10-08
6
1,096 Views
Last Modified: 2013-12-05
I have written a batch file to collect registry information using reg query for Windows 2003.  I need to do the same for Windows 2000 Server, but the syntax is not there when I type help.  I need recommendations (without installing perl, etc) for collecting the information in a fast and convenient way that will not take hours.  Any recommendations?  I also need to do a reg add command that is equally as fast.  I have done that for 2003 as well, but 2000 appears to be a stumbling block.  Any ideas?
0
Comment
Question by:awakenings
[X]
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
  • 4
  • 2
6 Comments
 

Author Comment

by:awakenings
ID: 22669415
I should mention that this server is a stand alone and is not on a domain.  I also don't want to perform any installs of software.
0
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 22669972
The Windows 2000 version of reg.exe was part of the Support Tools. The tool itself doesn't require installation as such on the machine you want to run it on, it can just be copied into the folder with the batch script.
Windows 2000 Service Pack 4 Support Tools
http://www.microsoft.com/downloads/details.aspx?familyid=F08D28F3-B835-4847-B810-BB6539362473&displaylang=en
0
 

Author Comment

by:awakenings
ID: 22670008
So here is a question...  I just downloaded the file.  I just install the support tools on my test computer then I can extract the reg.exe for Windows 2000 server?  It will take me a few minutes to verify as I'm currently updating and patching my test computer.

Thanks,

Awakenings
0
Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

 

Author Comment

by:awakenings
ID: 22670045
I should also ask, do the commands translate from 2003 to 2000 easily?
0
 
LVL 84

Expert Comment

by:oBdA
ID: 22670205
Yes, reg.exe should be in the installation folder (%ProgramFiles%\Support Tools by default, if I remember correctly).
And again "if I remember correctly", the syntax should be the same as for the W2k3/XP version; there just was an early version for NT4 that had a different syntax.
Just run the W2k reg.exe on the machine and check the Syntax.
For a first test of your script, you might want to add an "echo" in front of all "reg add ..." lines writing to the registry, so that you can see if it's about to add the correct entries, and whether the reading part works OK.
0
 

Author Comment

by:awakenings
ID: 22672647
Hey!  Everything works great!  On to the next troubleshooting!  Thanks!
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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