fdv Posted December 1, 2005 Author Share Posted December 1, 2005 Alternate -- would this work for you oleg_ii?HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnceRunOnce","01",,"%11%\regsvr32 /s %11%\txfaux.dll"HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnceRunOnce","02",,"%11%\regsvr32 /s %11%\es.dll"HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnceRunOnce","03",,"%11%\regsvr32 /s %11%\wbem\msiprov.dll"HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnceRunOnce","04",,"%11%\regsvr32 /s %10%\apppatch\slayerui.dll" Link to comment Share on other sites More sharing options...
Oleg_II Posted December 2, 2005 Share Posted December 2, 2005 I didn't mean that the registration doesn't work in your fileset. I meant this form of registering DLLs didn't work for me before in my INFs And the form in your last post should work. Link to comment Share on other sites More sharing options...
tommyp Posted December 2, 2005 Share Posted December 2, 2005 FDV, be careful on your runonce lines, you had a bit too many runonce's lined up. Sort of like you were studdering. HAHA. The 11,nameofdll.dll has one too little commas. If you are looking for various ways to register things, open up hfslipwu.inf and take a look. I already had issues with registering dlls a while back and incorporated the fixes. BTW, dumb Q, but I just tested an old version of fdv's fileset (the one with the updates that I mentioned a few days back), and I am not getting the es.dll, txfaux.dll, msiprov.dll and slayerui.dll errors that x-pert is getting. How can I join the party and get those errors too? What am I doing wrong or right? Link to comment Share on other sites More sharing options...
fdv Posted December 2, 2005 Author Share Posted December 2, 2005 as far as anyone has been able to tell, x-pert is the only one who ever gets those errors!thanks tommyp for the suggested fix btw. i'll look at hfslipwu.inf to check on how best to register files. Link to comment Share on other sites More sharing options...
tommyp Posted December 2, 2005 Share Posted December 2, 2005 @x-pert - Can you attach your error_report file and your winnt.sif files? Link to comment Share on other sites More sharing options...
x-pert Posted December 2, 2005 Share Posted December 2, 2005 tommypMaybe I missed something... With last IE.IN_ version all working great for me. Link to comment Share on other sites More sharing options...
Squeeto Posted December 4, 2005 Share Posted December 4, 2005 Thanks Fred, TommyP and gang for all the hard work. Very fun.I tried the latest hfslip (51202) and test-set (ie.in_ is dated Dec.1) and it seems to run fine.Actually better. My "broken" wireless router connection is working again! **** wizards....thanks Fred.I notice that I have a little blue e ball on the taskbar and desktop icon. Will this go too?I have a confession too - I never use a psswrd to login. Now with the added winnt.sif file a little wizard no longer appears which setups a user account. Ok, sorry, this is REALLY trivial but now when I boot the laptop, I have to hit <enter> at the Administrator login. Too lazy? Confession #2 - I won't watch tv without a remote.I like the winnt.sif file so I was thinking of something like:"%systemroot%\System32\rundll32.exe netplwiz.dll,NetAccWizRunDll"but this runs too soon with [setupparams], [GuiRunOnce] and $OEM$ cmdlines.txtBtw, I am doing this from Opera right now. Cool Link to comment Share on other sites More sharing options...
Oleg_II Posted December 4, 2005 Share Posted December 4, 2005 (edited) Tried the latest test-set 4 and the latest hfslip (51202). All seems to be working but I still have two questions:1. I thought IE icon should go from desktop now but it's still here.2. Shouldn't KILL_MRU.EXE go to Startup automatically?SqueetoYou can create and place two files into HFSVPK (just copy and past in Notepad and save as CMD and REG files accordingly):USER.CMDnet user "Squeeto" /addnet localgroup Administrators "Squeeto" /addnet accounts /maxpwage:unlimited I used comma around the name on purpose: it lets names like "Oleg 2" with two and more parts.LOGON.REGWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Squeeto""AutoAdminLogon"="1" Edited December 5, 2005 by Oleg_II Link to comment Share on other sites More sharing options...
Crash&Burn Posted December 4, 2005 Share Posted December 4, 2005 (edited) Something interesting I've noticed regarding LoginID's under win2kA number of sites with Java code will error out when the resultant local users directory has an ampersand.ie C:\Users\Crash & Burn\...The failure relates to how the ampersand is parsed in java/html et al.(Opera's cache by default stores in application data there, as well as IE's TIF dir)Addenum: Perhaps soon time to start a new thread ? Now that the IE problems have been resolved...or are we trying to get this up to 99 pages or so Edited December 4, 2005 by Crash&Burn Link to comment Share on other sites More sharing options...
Squeeto Posted December 5, 2005 Share Posted December 5, 2005 Thanks Oleg II but I didn't want a predetermined user name. I have a couple of computers and I wanted one cd for both. My desired result would use the personalized name I enter half way through the install for an account name.I will batch install drivers after the system setup completes and run the rundll32.exe netplwiz.dll,NetAccWizRunDll then.One thing I really miss is the scrollbar on the CommandPrompt; can we get that back? I am going to have to learn how to reg tweak Link to comment Share on other sites More sharing options...
Oleg_II Posted December 5, 2005 Share Posted December 5, 2005 SqueetoThis file for choosing user name was found somewhere in Unattended section (the last lines for autologon don't work!):@echo off:STARTclsecho.echo Create Windows Accountecho ======================echo Enter a Windows Logon Name and Password you would like to create...echo.set /p UserName=Name:set /p Password=Password:echo.:ASKADMINset /p CreateAdmin=Add User to Administrators Group? (Type Y or N):if /I %CreateAdmin%==N goto CREATEUSERif /I %CreateAdmin%==Y goto CREATEUSERclsecho.echo Invalid Choice. Please type 'Y' for Yes or 'N' for No. (Without quotes)echo.goto ASKADMIN:CREATEUSERREM Create Userclsecho.echo Creating User Account "%UserName%" with Password of "%password%"...net user %UserName% %password% /addecho.echo.if /I %CreateAdmin%==Y goto ADDADMINREM echo Done.goto ADDANOTHER:ADDADMINREM Add User to Admin Groupecho.echo Adding User "%UserName%" to Administrators Group...net localgroup Administrators %UserName% /addecho.REM echo.REM echo Done.goto ADDANOTHER:ADDANOTHERgoto EXITset /p CreateAnother=Create another User? (Type Y or N):if /I %CreateAnother%==N goto EXITif /I %CreateAnother%==Y goto STARTcls.echo Invalid Choice. Please type 'Y' for Yes or 'N' for No. (Without quotes)echo.GOTO ADDANOTHER:EXITREM Set default user and user to autologonecho.echo Setting User "%UserName%" to Autologon.REG ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon /v DefaultUserName /t REG_SZ /d %UserName%REM REG ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon /v DefaultPassword /t REG_SZ /d %Password%REM REG ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon /v AutoAdminLogon /t REG_SZ /d 1echo.echo.echo Done.pauseexit Link to comment Share on other sites More sharing options...
Squeeto Posted December 5, 2005 Share Posted December 5, 2005 So, if we combine the two ideas:user.cmd :@echo offclsecho.echo Creating Windows Accountset /p UserName=Please enter a Name:echo.echo Creating ...net user %UserName% "" /addecho Adding ...net localgroup Administrators %UserName% /addnet accounts /maxpwage:unlimitedecho.rem Set to default user and user to autologonregedit /s logon.regexitlogon.reg:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="%UserName%""DefaultPassword"="""AutoAdminLogon"="1"Ok, the %UserName% in the reg file doesn't work but this comes really close Link to comment Share on other sites More sharing options...
Crash&Burn Posted December 5, 2005 Share Posted December 5, 2005 Just use one of the various tools that can add registry items from a batch file, I believe Nirsoft's nircomline (and the regsetval command) would work in this case. That way you wont lose reference to the variable UserName Link to comment Share on other sites More sharing options...
Squeeto Posted December 6, 2005 Share Posted December 6, 2005 (edited) This works, user.cmd -@echo offclsecho.echo Creating Windows Accountset /p UserName=Please enter a Name:echo.echo Creating ...net user %UserName% "" /addecho Adding ...net localgroup Administrators %UserName% /addnet accounts /maxpwage:unlimitedecho.rem Set to default user and user to autologon:@echo Windows Registry Editor Version 5.00> logon.reg@echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]>> logon.reg@echo "DefaultUserName"="%UserName%">> logon.reg@echo "DefaultPassword"="">> logon.reg@echo "AutoAdminLogon"="1">> logon.regregedit /s logon.regexit Edited December 6, 2005 by Squeeto Link to comment Share on other sites More sharing options...
fdv Posted December 6, 2005 Author Share Posted December 6, 2005 This week's challenge.Ok gents, try this one on for size. It's pretty easy I just want help doing it as I got roped into designing a new website for a local business and have been really devoting time to that. (Aside: you know one of the biggest reasons I hate IE? It can't display the alpha channel in a PNG file. All I need is transparency dam*it)One of my Italian readers, and I think a non-MSFN'er, rewrote one of his own adaptations of my defrag INF to an optional component for SYSOC. Seems such an obvious thing to do, but I never thought of it. Add/Remove Windows Components would have it -- a nice feature I think. I think it would be great for not only the DFRG.IN_, but also the winhtml.inf. I will codebox this contributor's defrag INF that he adapted. It's Italian and I'd like mine adapted the same way (don't worry about commenting things). Thanks for having a look gentlemen (and os2fan2)[Version]signature="$Windows NT$"ClassGUID={00000000-0000-0000-0000-000000000000}SetupClass=BaseLayoutFile=layout.inf[DestinationDirs]DefragCopyFilesSys = 11[Optional Components]Defrag[Defrag]OptionDesc = %DEFRAG_SNAPIN%Tip = %DEFRAG_Infotip%IconIndex = 33 ;where are the icons?Parent = AccessUtilCopyFiles = DefragCopyFilesSysAddReg = DF.AddReg;RegisterDlls = DefragRegister ;not working?ProfileItems = DefragUninstallItems,DefragInstallItemsUninstall = DefragUninstallModes = 0,1,2,3SizeApproximation = 419392[DefragUninstall]DelFiles = DefragCopyFilesSysDelReg = DF.AddReg;UnregisterDlls = DefragRegister ;not working?ProfileItems = DefragUninstallItems,DefragUninstallItemsCommon[DefragCopyFilesSys]dfrg.mscdfrgfat.exedfrgntfs.exedfrgres.dlldfrgsnap.dlldfrgui.dll[DefragRegister]11,,dfrgsnap.dll,111,,dfrgui.dll,1[DF.AddReg]HKLM,"SOFTWARE\Microsoft\Dfrg","FreeSpaceErrorLevel",0x00000000,"15"HKLM,"SOFTWARE\Microsoft\Dfrg","PathName",0x00020000,"%systemroot%\system32"HKLM,"SOFTWARE\Microsoft\Dfrg","ResourceDllName",0x00020000,"%systemroot%\system32\DfrgRes.dll"HKCR,"CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}","",0x00000000,"%DEFRAG_NTFS_CLASS%"HKCR,"CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}\LocalServer32","",0x00000000,"DfrgNtfs.exe"HKCR,"CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}","",0x00000000,"%DEFRAG_FAT_CLASS%"HKCR,"CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}\LocalServer32","",0x00000000,"DfrgFat.exe"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath",,0x00000010HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath","",0x00020000,"%systemroot%\system32\dfrg.msc %c:"[DefragInstallItems]Name = %DEFRAG_SNAPIN%CmdLine = 11,, dfrg.mscSubDir = %SystemTools_GROUP%WorkingDir = 11InfoTip = %DEFRAG_Infotip%IconPath = 11,,DfrgRes.dllIconIndex = 0[DefragUninstallItems]Name = %DEFRAG_SNAPIN%SubDir = %SystemTools_GROUP%,0x00000003[DefragUninstallItemsCommon]Name = %DEFRAG_SNAPIN%SubDir = %SystemTools_GROUP%,0x00000002[Strings]DEFRAG_SNAPIN="Utilità di deframmentazione dischi"DEFRAG_PROVIDER="Microsoft Corp., Executive Software International"DEFRAG_Infotip = "Deframmenta i volumi per rendere il computer più veloce ed efficiente."SystemTools_GROUP = "Accessori\Utilità di sistema"DEFRAG_NTFS_CLASS="Modulo Defrag NTFS"DEFRAG_FAT_CLASS="Modulo Defrag FAT" Link to comment Share on other sites More sharing options...
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