Windows – Adding key to registry

I would like to create a batch file, that will add registry key, not manually, but full automaticly by .BAT file. This link goes about adding everything but not the key. This link shows how to add everything, and how to add key manually, but it requires user interference, which I am trying to avoid.

Is there possibility to add KEY (non REG_*) to “folder?” in registry by one simple batch file?

Solution:

In a command prompt type REG /? and you will see the functionality available in your batch file.
REG ADD /? will give you more info on actually adding the key. ย If you’re planning on running this from SCCM, you may need to specify 32/64 bit registry as it may cause some errors.

Actual Examples of REG ADD:

REG ADD HKLMSoftwareMyCo /v Data /t REG_BINARY /d fe340ead

http://technet.microsoft.com/en-us/library/cc742162(v=ws.10).aspx

๐Ÿ’ 

๐Ÿ”ต Best-selling hard drives, USB flash drives & SSDs everyone's buying.

Fast, reliable, and on sale now. Thousands pick these weekly โ€” don't miss Amazon's lowest storage prices.

โšก Top 10 Bestsellers
๐Ÿ† 4.7โ˜…+ Reviews
๐Ÿ“ฆ Prime Shipping
๐Ÿ‘‰ See today's best-selling Data storage on Amazon.com HDD ยท USB Flash Drives ยท SSD ยท External Drives
๐Ÿ›’
โœ… Updated hourly โ€” Amazon real-time ranking ๐Ÿ”ฅ Limited stock deals ๐Ÿ”— Affiliate
โญ Click to see complete best-selling list โญ
Scroll to Top