tired-it
Member
- Messages
- 241
- Reaction score
- 23
I am not sure if this is the correct place to ask, but it may be useful for users who run post-setup tasks.
I have a running set of .REG files that I use in place of NTLite settings. Those files are separated by theme and Local v. User hive. When added to the registry section of NTLite, they merge fine into the installed image. Sometimes, I find some new changes that I want to push out to already installed systems.
I want to convert some of the registry keys from the .REG files into commands for importing through Powershell. What is an efficient method of doing so? I have read about many methods to do so, but none of them are clicking with me in the sense that they all approach the solution from a different angle.
What if the registry folder isn't there? What if there is already a key where I want to make a change? Can I force the change? What if there is an error, can I tell Powershell to ignore and continue?
When dealing with .REG files, it was as straightforward as adding a "-" to delete keys and folders. Powershell is a different beast for me.
This website seems to do the conversion for me, but I would like some help understanding the different parts of the command. I have nearly a hundred plus User hive registry keys that I want to convert into Powershell (and eventually place into a script for cycling through all users on the machine), but I know very little about Powershell (trying to learn as I go at least).
I have a running set of .REG files that I use in place of NTLite settings. Those files are separated by theme and Local v. User hive. When added to the registry section of NTLite, they merge fine into the installed image. Sometimes, I find some new changes that I want to push out to already installed systems.
I want to convert some of the registry keys from the .REG files into commands for importing through Powershell. What is an efficient method of doing so? I have read about many methods to do so, but none of them are clicking with me in the sense that they all approach the solution from a different angle.
What if the registry folder isn't there? What if there is already a key where I want to make a change? Can I force the change? What if there is an error, can I tell Powershell to ignore and continue?
When dealing with .REG files, it was as straightforward as adding a "-" to delete keys and folders. Powershell is a different beast for me.
This website seems to do the conversion for me, but I would like some help understanding the different parts of the command. I have nearly a hundred plus User hive registry keys that I want to convert into Powershell (and eventually place into a script for cycling through all users on the machine), but I know very little about Powershell (trying to learn as I go at least).