(imported topic written by bc6591)
I keep running into situations needing an Administrative Login. I assume it is because we run most of our machine as lowly domain users. The latest seems to be the result of installing the XP sp3 fixlet (id# 13501). It generates the “Administrative Login Needed” and when I check the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce key I find about 31 entries related to Windows Media Player (I believe) as follows.
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmnetmgr.dll”
C:\WINDOWS\System32\regsvr32 /s /u “C:\WINDOWS\System32\wmv8dmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmvdmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmvdmoe2.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmadmoe.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmspdmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmspdmoe.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmsdmoe.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmsdmoe2.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmadmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\mpg4dmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\mp43dmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\mp4sdmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmsdmod.dll”
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\laprxy.dll”
“C:\WINDOWS\System32\logagent.exe” /RegServer
C:\WINDOWS\System32\regsvr32 /s “C:\WINDOWS\System32\wmvcore.dll”
C:\WINDOWS\system32\regsvr32 /s “C:\WINDOWS\system32\drmstor.dll”
C:\WINDOWS\system32\regsvr32 /s “C:\WINDOWS\system32\drmclien.dll”
C:\WINDOWS\system32\regsvr32 /s “C:\WINDOWS\system32\drmv2clt.dll”
C:\WINDOWS\system32\regsvr32 /s “C:\WINDOWS\system32\blackbox.dll”
C:\WINDOWS\system32\regsvr32 /s “C:\WINDOWS\system32\msnetobj.dll”
C:\WINDOWS\INF\unregmp2.exe /MigrateLibrary
“C:\Program Files\Windows Media Player\migrate.exe” /s
C:\WINDOWS\system32\regsvr32 /s C:\WINDOWS\system32\wmp.dll
C:\WINDOWS\system32\regsvr32 /s C:\WINDOWS\system32\wmpshell.dll
C:\WINDOWS\system32\regsvr32 /s C:\WINDOWS\system32\wmpasf.dll
C:\WINDOWS\system32\regsvr32 /s C:\WINDOWS\system32\wmpdxm.dll
C:\WINDOWS\system32\regsvr32 /s “C:\Program Files\Windows Media Player\mpvis.dll”
C:\WINDOWS\system32\regsvr32 /s C:\WINDOWS\system32\mspmsnsv.dll
C:\WINDOWS\INF\unregmp2.exe /Shortcuts /RegExts
I was wondering if I could just create a fixlet that would check the runonce key and if there are entries there, execute them one by one or in a batch file. This would give me more of a generic way to execute what shows up in the RunOnce key (assuming they will run under the System login and as a batch file). I have tried using the following to extract the key into appendfile
appendfile {values of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce” of registry}
appendfile {substrings separated by “%00” of (values of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce” of registry as string)}
They both create the file ok, but they dont seem to separate the individual lines. I would like to have the file separate each line so that it could execute as a batch file unless there is a better way. The lines are as follows:
Any ideas ?
Thanks, bc