Jump to content

New IE Removal Fileset


fdv

Recommended Posts

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


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

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

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.txt

Btw, I am doing this from Opera right now. Cool :P

Link to comment
Share on other sites

Tried the latest test-set 4 and the latest hfslip (51202). All seems to be working :thumbup 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?

Squeeto

You can create and place two files into HFSVPK (just copy and past in Notepad and save as CMD and REG files accordingly):

USER.CMD

net user "Squeeto" /add
net localgroup Administrators "Squeeto" /add
net accounts /maxpwage:unlimited

I used comma around the name on purpose: it lets names like "Oleg 2" ;) with two and more parts.

LOGON.REG

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="Squeeto"
"AutoAdminLogon"="1"

Edited by Oleg_II
Link to comment
Share on other sites

Something interesting I've noticed regarding LoginID's under win2k

A 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 by Crash&Burn
Link to comment
Share on other sites

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

Squeeto

This file for choosing user name was found somewhere in Unattended section (the last lines for autologon don't work!):

@echo off

:START
cls
echo.
echo Create Windows Account
echo ======================
echo Enter a Windows Logon Name and Password you would like to create...
echo.
set /p UserName=Name:
set /p Password=Password:
echo.


:ASKADMIN
set /p CreateAdmin=Add User to Administrators Group? (Type Y or N):
if /I %CreateAdmin%==N goto CREATEUSER
if /I %CreateAdmin%==Y goto CREATEUSER
cls
echo.
echo Invalid Choice. Please type 'Y' for Yes or 'N' for No. (Without quotes)
echo.
goto ASKADMIN

:CREATEUSER
REM Create User
cls
echo.
echo Creating User Account "%UserName%" with Password of "%password%"...
net user %UserName% %password% /add
echo.
echo.

if /I %CreateAdmin%==Y goto ADDADMIN
REM echo Done.
goto ADDANOTHER

:ADDADMIN
REM Add User to Admin Group
echo.
echo Adding User "%UserName%" to Administrators Group...
net localgroup Administrators %UserName% /add
echo.
REM echo.
REM echo Done.
goto ADDANOTHER

:ADDANOTHER
goto EXIT
set /p CreateAnother=Create another User? (Type Y or N):
if /I %CreateAnother%==N goto EXIT
if /I %CreateAnother%==Y goto START
cls.
echo Invalid Choice. Please type 'Y' for Yes or 'N' for No. (Without quotes)
echo.
GOTO ADDANOTHER

:EXIT
REM Set default user and user to autologon
echo.
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 1
echo.
echo.
echo Done.
pause
exit

Link to comment
Share on other sites

So, if we combine the two ideas:

user.cmd :

@echo off

cls

echo.

echo Creating Windows Account

set /p UserName=Please enter a Name:

echo.

echo Creating ...

net user %UserName% "" /add

echo Adding ...

net localgroup Administrators %UserName% /add

net accounts /maxpwage:unlimited

echo.

rem Set to default user and user to autologon

regedit /s logon.reg

exit

logon.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

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

This works, user.cmd -

@echo off

cls

echo.

echo Creating Windows Account

set /p UserName=Please enter a Name:

echo.

echo Creating ...

net user %UserName% "" /add

echo Adding ...

net localgroup Administrators %UserName% /add

net accounts /maxpwage:unlimited

echo.

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.reg

regedit /s logon.reg

exit

Edited by Squeeto
Link to comment
Share on other sites

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=Base
LayoutFile=layout.inf

[DestinationDirs]
DefragCopyFilesSys = 11

[Optional Components]
Defrag

[Defrag]
OptionDesc = %DEFRAG_SNAPIN%
Tip = %DEFRAG_Infotip%
IconIndex = 33 ;where are the icons?
Parent = AccessUtil
CopyFiles = DefragCopyFilesSys
AddReg = DF.AddReg
;RegisterDlls = DefragRegister ;not working?
ProfileItems = DefragUninstallItems,DefragInstallItems
Uninstall = DefragUninstall
Modes = 0,1,2,3
SizeApproximation = 419392

[DefragUninstall]
DelFiles = DefragCopyFilesSys
DelReg = DF.AddReg
;UnregisterDlls = DefragRegister ;not working?
ProfileItems = DefragUninstallItems,DefragUninstallItemsCommon

[DefragCopyFilesSys]
dfrg.msc
dfrgfat.exe
dfrgntfs.exe
dfrgres.dll
dfrgsnap.dll
dfrgui.dll

[DefragRegister]
11,,dfrgsnap.dll,1
11,,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",,0x00000010
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath","",0x00020000,"%systemroot%\system32\dfrg.msc %c:"

[DefragInstallItems]
Name = %DEFRAG_SNAPIN%
CmdLine = 11,, dfrg.msc
SubDir = %SystemTools_GROUP%
WorkingDir = 11
InfoTip = %DEFRAG_Infotip%
IconPath = 11,,DfrgRes.dll
IconIndex = 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...