473,324 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Parse a Registration Entries (.reg) File

Hello group,

I am working on a C# app that pushes out registry settings to a number
of computers. My thought was to parse a registry export (.reg) file,
and then use RegistryKey.OpenRemoteBaseKey to update the remote
computer.

Questions: is this a decent way of automating registry updates? Is
there any sample code on parsing .reg files?

Thanks in advance,

J Wolfgang Goerlich

Jan 23 '07 #1
3 5265
If the computers are part of a domain, I would use Group Policy to push
out the registry settings.

jw********@gmail.com wrote:
Hello group,

I am working on a C# app that pushes out registry settings to a number
of computers. My thought was to parse a registry export (.reg) file,
and then use RegistryKey.OpenRemoteBaseKey to update the remote
computer.

Questions: is this a decent way of automating registry updates? Is
there any sample code on parsing .reg files?

Thanks in advance,

J Wolfgang Goerlich
Jan 23 '07 #2
Good point. No, unfortunately, these servers are across different
domains and OUs.

Andy wrote:
If the computers are part of a domain, I would use Group Policy to push
out the registry settings.

jw********@gmail.com wrote:
Hello group,

I am working on a C# app that pushes out registry settings to a number
of computers. My thought was to parse a registry export (.reg) file,
and then use RegistryKey.OpenRemoteBaseKey to update the remote
computer.

Questions: is this a decent way of automating registry updates? Is
there any sample code on parsing .reg files?

Thanks in advance,

J Wolfgang Goerlich
Jan 23 '07 #3
Good point. No, unfortunately, these servers are across different
domains and OUs.

Andy wrote:
If the computers are part of a domain, I would use Group Policy to push
out the registry settings.

jw********@gmail.com wrote:
Hello group,

I am working on a C# app that pushes out registry settings to a number
of computers. My thought was to parse a registry export (.reg) file,
and then use RegistryKey.OpenRemoteBaseKey to update the remote
computer.

Questions: is this a decent way of automating registry updates? Is
there any sample code on parsing .reg files?

Thanks in advance,

J Wolfgang Goerlich
Jan 23 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: wei | last post by:
i create a setup project from VS .NET. how do i run a reg file after finishing installing a program automatically?
0
by: Jeffrey Millar | last post by:
I was curious if anyone knew of a tool or class that will parse a .reg file and convert the syntax to a .inf file format? Thanks, Jeff M.
1
by: dixie | last post by:
I have a .reg file that I need to run across a network. Currently, we run it for each logon on the network manually, which is not really working well as there are over a hundred users and they...
7
by: DraguVaso | last post by:
Hi, Does anybody knows how to run a *.reg-file silently on a computer? I need this to do automatic updates of my application without user-interaction. So I don't want the user to be asked a...
1
by: Nikolay Petrov | last post by:
How can I export Windows Registry information to a .REG file, using VB .NET? TIA
1
Colloid Snake
by: Colloid Snake | last post by:
Hey everyone. I'm currently attempting to band-aid an horrible use of a Cacti implementation (and I swear, this is only temporary! No, really! They told me it's in the budget for next year, and has...
1
by: sharan | last post by:
Using the expat parser (http://expat.sourceforge.net/) i have to parse the following xml file and print it on the screen in tabular format. Want a c program on that in Linux environment....
1
by: sharan | last post by:
Using the expat parser (http://expat.sourceforge.net/) i have to parse the following xml file and print it on the screen in tabular format using C language. i am getting ouput serially but not in...
1
by: polisettyvenkatesh | last post by:
i want to export the particular registery key to a .reg file in the c# applicaton. How can i export this regisrey keys to the .reg file. provide me some samle so that there wll be a better...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.