Solved

Reg command equivelent for Windows 2000 Server?

Posted on 2008-10-08
6
1,093 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Server Licensing - Home Server 6 70
Fresh Exchange 2016 CU3 install, Server 2016 - w3wp.exe 100% CPU 7 167
Windows Server 2016 GPU passthrough 4 54
SSRS troubles 4 69
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…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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