xtremee Posted August 5, 2006 Posted August 5, 2006 Hi all,is there any tool/script that can convert .inf to .reg other than old way of hand ?Regards,Xtreme
Takeshi Posted August 5, 2006 Posted August 5, 2006 Convert .inf to .reg, Help Wantedwas the most recent post here 2 weeks ago. Have you seen it?
xtremee Posted August 5, 2006 Author Posted August 5, 2006 1st thanx for ur reply,i googled but can't find wat i'm wanna so i post this topicConvert .inf to .reg, Help Wantedc this -> http://www.google.com/custom?ie=UTF-8&...A1%3B&hl=en
jaclaz Posted August 5, 2006 Posted August 5, 2006 What kind of .inf are you talking about?Read this:http://www.911cd.net/forums//index.php?showtopic=17644This should be the thread on MSFN mentioned, but I can't see how it would help:http://www.msfn.org/board/index.php?showtopic=78984jaclaz
mazin Posted August 5, 2006 Posted August 5, 2006 @ xtremeeYou probably found some interesting INF files and want to partially exploit them.Honestly I know how to transform REGs to INFs, but not the opposite.As of now, you can run a CMD script to install an INF file then export the imported REG keys to a REG file(s).Example:Suppose you installed Power.inf to apply some power policies of your own.Also, Power.inf contains values that are imported under "HKCU\Control Panel\PowerCfg" and "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg".Then, your CMD should be:Start /Wait rundll32 %WINDIR%\System32\setupapi.dll,InstallHinfSection DefaultInstall 132 %SystemDrive%\Power.infREG EXPORT "HKCU\Control Panel\PowerCfg" %SystemDrive%\PCFGHKCU.regREG EXPORT "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg" %SystemDrive%\PCFGHKLM.reg
xtremee Posted August 5, 2006 Author Posted August 5, 2006 (edited) @Allthanx for replying ----------------------------------------------------------------------------------------------------------------------------------------------------@jaclazWhat kind of .inf are you talking about?Windows INF files not PE format i read the 2nd topic but this convert .reg to .inf and that is wat i'm not looking for (i.e. i need the reverse operation).--------------------------------------------------------------------------------------------------------------------------------------------------@Mazin run a CMD script to install an INF file then export the imported REG keys to a REG file(s).then if i have inf file that make various change to registery like Microsoft App. This will take a very long time form me to get the .reg for .inf---------------------------------------------------------------------------------------------------------------------------------------------------Regards,Xteme Edited August 5, 2006 by xtremee
Yzöwl Posted August 11, 2006 Posted August 11, 2006 I will ask againWhy would you want to convert an inf to a reg?Inf files are far more useful so why would you want to change them to an inferior format?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now