jbm Posted December 31, 2007 Posted December 31, 2007 (edited) I added a section to my .inf file that tweaks the registry tosetup services the way I want them. But it sets all the startuptypes to 0.I found how to fix it but don't see why it douesn;t work theoriginal way I had it.[sTRINGS]String2="System\CurrentControlSet\Services"Automatic="02,00,00,00"Manual="03,00,00,00"Disabled="04,00,00,00"HKLM,"%String2%\ALG","Start",0x00010001,%Disabled%HKLM,"%String2%\AppMgmt","Start",0x00010001,%Manual%HKLM,"%String2%\wuauserv","Start",0x00010001,%Automatic%sets all startup types to 0butHKLM,"%String2%\ALG","Start",0x00010001,04,00,00,00HKLM,"%String2%\AppMgmt","Start",0x00010001,03,00,00,00HKLM,"%String2%\wuauserv","Start",0x00010001,02,00,00,00workswhat am I doing wrong? Edited December 31, 2007 by jbm
Mordac85 Posted December 31, 2007 Posted December 31, 2007 In an INF those are comma delimited values, so I would assume your string value is evaluated as a single parameter instead of 4.
ricktendo Posted December 31, 2007 Posted December 31, 2007 (edited) edit Edited December 31, 2007 by ricktendo64
gosh Posted December 31, 2007 Posted December 31, 2007 (edited) Check out my services infedit: look at services.inf not the other one, it's not finished.-goshg3_services.infServices.inf Edited December 31, 2007 by gosh
jbm Posted January 1, 2008 Author Posted January 1, 2008 Thanks for the help, everyone.Wont say how long I was trying to fix it.
Yzöwl Posted January 1, 2008 Posted January 1, 2008 To quickly see where you went wrong, here's what your value data should have looked like:Automatic="0x00000002" or "0x2" 0r "2"Manual="0x00000003" or "0x3" 0r "3"Disabled="0x00000004" or "0x4" 0r "4"i.e.HKLM,System\CurrentControlSet\Services\ALG,Start,0x10001,4
jbm Posted January 5, 2008 Author Posted January 5, 2008 Thanks, I converted a reg file with reg2inf, which worked until Itried to add the string variables.The thing that confused me wasthat I just used the format for the string variable that reg2inf usedin the inf file.
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