Solved

Reg command equivelent for Windows 2000 Server?

Posted on 2008-10-08
6
1,094 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
  • 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
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

680 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