
Bachus
MemberContent Type
Profiles
Forums
Events
Everything posted by Bachus
-
Is it possible to replace ntuser.dat in Setup?
Bachus replied to Bachus's topic in Unattended Windows 2000/XP/2003
Exactly, and that's why I'm asking for any possible help. -
Is it possible to replace ntuser.dat in Setup?
Bachus replied to Bachus's topic in Unattended Windows 2000/XP/2003
I mean replace ntuser.dat (and the other file that makes up the registry whose name eludes me for the moment) with modified versions containing all of my registry tweaks. I'd try the same method as used for uxtheme.dll but I don't think it'll work as there really isn't a time that the registry files aren't being used by Windows. -
Are you saying that its only available in english or if only it were available in english? All I've found on it is in german.
-
I've been having a horrendous time ensuring that all of my registry tweaks work right and I'm finding that it is a losing battle so I'm going to try to come up with a workaround. I'm thinking that if I can tweak the registry exactly how I want it I can reuse the .dat files to replace the new ones created during Setup. Now that I think about it, though, the randomly generated SID will probably bring this plan to a screeching halt. So, has anyone tried this yet?
-
Batch troubles (can't figure it out)
Bachus replied to fillalph's topic in Unattended Windows 2000/XP/2003
What's interesting is that even after a reboot my Drivers directory won't be deleted... -
Change PC name (netbios) i DOS script mode
Bachus replied to david_dollas's topic in Unattended Windows 2000/XP/2003
Why? You can set it in the winnt.sif far more easily: [UserData] ComputerName=Compname -
So, anyone got any ideas about this?
-
They shouldn't make a difference. As their extensions show, they're just log files.
-
Both are listed, but the Plug and Play monitor is the active one. As if to mock me, the "default" monitor does get set to 32bit color and a refresh rate of 85.
-
Compressing the program into a sfx should work for anything, really.
-
I've noticed that the SID (5-1-5-blahblahblah) changes each time you install Windows. Try replacing HKEY_User\SID\ with HKEY_CURRENT_USER. Of course, I've got several problems getting registry tweaks to work, so I'm the last person you'll want to consult, really.
-
Actually, I had just thought of that a couple minutes ago. BTW, you have a Radeon, right? Have you had any trouble setting refresh rate and color depth in an unattended install? That little problem has constantly plauged me since the beginning.
-
I don't know what I did, but I fixed the problem I mentioned here and continued with more work. Unfortunately, now I have some silly problem wherein it seems Setup wants to start all of my batches at once or at least with a very short delay. In two cases a batch was even executed that isn't even in winnt.sif. I have no idea why its doing this but perhaps there is a clue in the fact that Messenger is loading during the batch commands which as I understand shouldn't be happening.
-
From my experience, if the directory already exist (eg: Documents and Settings\Bachus) then setup creates a new directory (Documents and Settings\Bachus.compname) and creates the default crap there.
-
So I guess the best option then is to pack everything in .rar files and extract them where I like, then? That'll do.
-
I'd rather reformat to do it. Does anyone know a way around Windows' desire to rename the user's directory if a directory by the same name already exists? For example, I've placed files on the cd in the $Docs directory so that during setup they get copied to Documents and Settings under my username, however, when Setup creates that user account, instead of using the username as the name for the directory to store settings in (because it already exists I guess) it adds the computer name at the end. This, of course, makes the $Docs bit rather worthless. Perhaps I'll just user winrar to make an archive and extract that during setup.
-
An interesting problem I just came across...
Bachus replied to Bachus's topic in Unattended Windows 2000/XP/2003
So no one has any ideas? -
I was just doing another test of my unattended disc when I came across a problem I've never had before. Just at the end of my main.cmd and either before or as hotfixes.cmd was starting, I got an error about not finding the path c:\in (should've wrote that down I guess ). The batch process then aborted, dumping me to the desktop. I've checked my batch files and my winnt.sif file, but nothing seems wrong. I haven't even touched the hotfixes.cmd since I first made it and it has never been a problem and the only thing I've done to the end of main.cmd was to remove a line adding some settings to the registry. In any case, here are winnt.sif, main.cmd, and hotfixes.cmd for you to look over. ;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes Repartition=No OemPreinstall=Yes TargetPath=\WINDOWS AutoActivate=No WaitForReboot=No UnattendSwitch=yes OemPnPDriversPath="Drivers\Catalyst3_6\2KXP_INF;Drivers\Nforce2\AudioDrv;drivers\Nforce2\AudioUtl;drivers\Nforce2\Ethernet;drivers\Nforce2\GART;drivers\Nforce2\IDE;drivers\Nforce2\MemCtl;drivers\Nforce2\SMBus;drivers\Nforce2\USB;drivers\TV_Tuner" DriverSigningPolicy=Ignore [GuiUnattended] AdminPassword=c665c788563ce4414549de11f7e8ccc2064c23bfcf039474f84ac63d4402d4db EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=40 OemSkipWelcome=1 ProfilesDir="D:\Documents and Settings" [UserData] ProductKey=key FullName="Richard Bach" OrgName="" ComputerName=SHODAN [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=85 [RegionalSettings] LanguageGroup=1 Language=00000409 [Shell] DefaultStartPanelOff = No [Identification] JoinWorkgroup=HOME [Networking] InstallDefaultComponents=Yes [Components] AccessOpt = Off AutoUpdate = Off dialer = off iis_webadmin = off media_clips = off OEAccess = off Paint = off rec = off templates = off msmsgs = off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off [GuiRunOnce] %systemdrive%\install\main.cmd %systemdrive%\install\hotfixes.cmd %systemdrive%\install\applications.cmd main.cmd: CLS @echo off ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registry ECHO hacks being implemented. The computer will restart automatically ECHO once the whole process has finished! ECHO. ECHO Ejecting CD-ROM Drives... start cd_eject.vbs ECHO. ECHO Removing Wallpapers... DEL "%systemroot%\Blue Lace 16.bmp" DEL "%systemroot%\Coffee Bean.bmp" DEL "%systemroot%\FeatherTexture.bmp" DEL "%systemroot%\Gone Fishing.bmp" DEL "%systemroot%\Greenstone.bmp" DEL "%systemroot%\Prairie Wind.bmp" DEL "%systemroot%\Rhododendron.bmp" DEL "%systemroot%\River Sumida.bmp" DEL "%systemroot%\Santa Fe Stucco.bmp" DEL "%systemroot%\Soap Bubbles.bmp" DEL "%systemroot%\Zapotec.bmp" DEL "%systemroot%\Web\Wallpaper\Crystal.jpg" DEL "%systemroot%\Web\Wallpaper\Friend.jpg" DEL "%systemroot%\Web\Wallpaper\Home.jpg" DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg" DEL "%systemroot%\Web\Wallpaper\Peace.jpg" DEL "%systemroot%\Web\Wallpaper\Power.jpg" DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg" DEL "%systemroot%\Web\Wallpaper\Radiance.jpg" DEL "%systemroot%\Web\Wallpaper\Ripple.jpg" DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg" DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg" DEL "%systemroot%\Web\Wallpaper\Ascent.jpg" DEL "%systemroot%\Web\Wallpaper\Autumn.jpg" DEL "%systemroot%\Web\Wallpaper\Azul.jpg" DEL "%systemroot%\Web\Wallpaper\Follow.jpg" DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg" DEL "%systemroot%\Web\Wallpaper\Tulips.jpg" DEL "%systemroot%\Web\Wallpaper\Wind.jpg" ECHO. ECHO Removing useless shortcuts... DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk" DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk" ECHO. ECHO Removing Screensavers... DEL "%systemroot%\system32\dllcache\scrnsave.scr" DEL "%systemroot%\system32\dllcache\ss3dfo.scr" DEL "%systemroot%\system32\dllcache\ssbezier.scr" DEL "%systemroot%\system32\dllcache\ssflwbox.scr" DEL "%systemroot%\system32\dllcache\ssmarque.scr" DEL "%systemroot%\system32\dllcache\ssmypics.scr" DEL "%systemroot%\system32\dllcache\ssmyst.scr" DEL "%systemroot%\system32\dllcache\sspipes.scr" DEL "%systemroot%\system32\dllcache\ssstars.scr" DEL "%systemroot%\system32\dllcache\sstext3d.scr" DEL "%systemroot%\system32\scrnsave.scr" DEL "%systemroot%\system32\ss3dfo.scr" DEL "%systemroot%\system32\ssbezier.scr" DEL "%systemroot%\system32\ssflwbox.scr" DEL "%systemroot%\system32\ssmarque.scr" DEL "%systemroot%\system32\ssmypics.scr" DEL "%systemroot%\system32\ssmyst.scr" DEL "%systemroot%\system32\sspipes.scr" DEL "%systemroot%\system32\ssstars.scr" DEL "%systemroot%\system32\sstext3d.scr" ECHO. ECHO Restoring Windows Activation State... COPY "%systemdrive%\Install\Activate\wpa.dbl" "%systemroot%\system32" ECHO Finished Restoring Windows Activation State! ECHO Windows Should be Activated! ECHO. ECHO Copying patched UXTheme.dll... REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.old COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\" REN %systemroot%\System32\uxtheme.dll uxtheme.old COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\" ECHO. ECHO Installing ASPI 4.6 ECHO Please wait... start /wait %systemdrive%\install\ASPI\INSTASPI.BAT ECHO. ECHO Installing DirectX 9.0b ECHO Please wait... start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk start pskill.exe wscript.exe ECHO. ECHO Installing Windows Media Player 9 ECHO Please wait... start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N ECHO. ECHO Applying Registry Tweaks... REGEDIT /S %systemdrive%\install\RegTweaks.reg ECHO. EXIT (BTW, I'm aware of an error in the beginning where the "useless shortcuts" are deleted. That will be taken care of once I decide where exactly to put the Documents and Settings directory and what to call it.) Finally, the hotfixes.cmd: CLS @echo off ECHO. ECHO Installing Windows Update Hotfixes ECHO. ECHO Installing Q329115... start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329048... start /wait %systemdrive%\install\Hotfixes\Q329048_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q323255... start /wait %systemdrive%\install\Hotfixes\Q323255_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329834... start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329170... start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q328310... start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329390... start /wait %systemdrive%\install\Hotfixes\Q329390_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q810833... start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q810577... start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q331953... start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q814995... start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q811630... start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing JScript 5.6... start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:N ECHO. ECHO Installing Q810565... start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q814033... start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q815021... start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q811493... start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q819639... start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:N ECHO. ECHO Installing Q817606... start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q823559... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q823980... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q821557... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q329441... start /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_x86_ENU /Q /M /Z ECHO. ECHO Installing Q817287... start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:N ECHO. ECHO Installing Q821253 Windows Error Reporting Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821253-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing June 2003, Cumulative Patch for IE6... start /wait %systemdrive%\install\Hotfixes\q818529.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for OE6... start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N ECHO. EXIT I've also got another problem. As you can see in main.cmd, I tried copying wpa.dbl to activate Windows but doing that alone didn't work. Do I need to set AutoActivate in winnt.sif to Yes? Oh, and I've got one other tiny little problem. Setting BitsPerPixel and Vrefresh in winnt.sif doesn't do anything. Actually, to be more specific, it doesn't do anything to the primary display. The Settings tab in Display properties lists two displays (because my Radeon 9500 supports dual monitors I guess) even though only one is connected. The first is listed as "Plug and Play Monitor on Radeon 9500" and the second is listed as "[Default Monitor] on Radeon 9500 - Secondary" At any rate, the vrefresh and bitsperpixel settings get set properly on the secondary display but remain at 16 bit and 60Hz on the primary. Its really annoying and I have no idea what to do about it.
-
autodetecting cdrom drive letter
Bachus replied to ashfaq_t's topic in Unattended Windows 2000/XP/2003
I'll take it. -
On a similar note, is it possible to change Program Files to just Programs? Yeah, I'm being anal, but it has always annoyed me that the directory name is longer than it should be.
-
My point is that you should still have your original XP CD somewhere. Use ISOBuster or something similar and extract the Microsoft Corporation.img from that disc and use it to replace your "broken" image.
-
My guess would be to extract the original boot image from your original XP cd. That ought to work.
-
Interesting tool you've found, Aaron, but I've got a question. Under HKEY_USERS, I have a string "S-1-5-21-1409082233-602609370-725345543-1003" that all of the registry values seem to be stored in. This appears to be randomly generated as this value is different on the virtual PC install I just tested (identical usernames and passwords, although I'm using the old XP Corp copy of XP to avoid any WPA issues that might spring up unexpectedly which could very well be my problem. In short, how and when does Windows determine what this key (what is the correct term for the "directories" within the registry, anyway?) will be?
-
Autologon doesn't seem to work
Bachus replied to Travelcard's topic in Unattended Windows 2000/XP/2003
Oh goody, it looks like my copy of XP will indeed work. Now maybe I should try Office again to find out what dumb thing I might be doing there.. -
Something's not right there. You can't already have it if they're sending it to you two weeks prior to its release and the release is October 3rd...Unless they made a typo and they meant September...