Fascix
Content Type
Profiles
Forums
Events
Posts posted by Fascix
-
-
Funny that Astalavista wasnt going all crazy on you whit his "USE THE SEARCH BUTTON"
jokes aside, ill asked this some days ago and i got some good answers.
check out this thread
hope this helps
0 -
Delprat: Yes ofcourse, thats right. Thanx
Doc Symbiosis: Good point ill make sure ill apply that to the cleanupt that needs it. Thanx
0 -
Hi
Sorry for this but i was just woundering how a command line in a batch file would look like if i want it to automaticly answer Yes or No.
I have a batch file i made (cleanup.cmd)
but some of the commands prompt me like this: (är du säker J/N?)
whitch is Swedish for (Are you sure Y/N?)
so a line like this prompt me to answer Yes or No:
DEL "%systemroot%\Web\Wallpaper\*.*"
How would the line look if i want it to automaticly say Yes?
Ill try to search in cmd help some more in the meenwhile
EDIT:
is this right?
DEL "%systemroot%\Web\Wallpaper\*.* /Q"
Thanx
0 -
Ohh okey so i need that even though i run the serial number in the RunOnceEx.cmd?
REG ADD %KEY%\025 /V 2 /D "%systemdrive%\Install\Apps\Nero\Nero66013.exe /silent /noreboot /NO_UI /sn=XXXX-XXXX-XXXX-XXXXX-XXXX-XXXX /write_sn" /f
0 -
Hey DLF
in your post you refered to this
REG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\Install\Apps\Nero\register.reg" /fabout that register.reg
what about that one how does it look like?
Thanx
0 -
Anyone?
0 -
Hej ppl
was just woundering what you mean by the "Removed KB890923 for WinXP SP2" on the first page and "You forget to mention the obvious removal of KB893066 (v1) and KB890175 for WinXP SP2" by Nilfred
Should i remove thoose from my DVD and SVCPACK.INF or does it mean that they no longer ar supported by MS or?
0 -
Ohh yes that seems to be a smart way to do it.
Ill look in to it.
Offtopic: what do you mean make your runonceex "on the fly"
how do you do that? care to explain?
0 -
I appriciate your replies guys but i still dont get it.
Call me dumb, call me an id*** but fact remains i dont get it?
What do you meen core of os
Like i install Win XP using my orginal cd on Virtual PC first?
Then "save image" i am all lost what image?
then test what you need... whaaa i am all lost
Sorry for this but if i could just understand this i would finish this UA DVD soooo much sooner
Maby i need a fool proof id*** guid whit pics and stuff haha no but seriously. maby a little mini guide atleast!
Thanx alot
0 -
In the guides regtweak section you say it will be coming soon maby a good idea would be to add some links to the forums Registry Tweaks threads in the meanwhile?
0 -
Ehy ehy ehy.. stop right there sir!!!
Intresting most defenetly intresting?
Iam not quite sure what you meen, please explain further!
Thanx
0 -
Hi
As i am sitting here waiting for my Virtual PC to finish installing Windows XP for the 10000 time i was thinking, is there a easier and faster way to test the changes i have made.
As for now when i test the changes i have done is:
1. Make an ISO of everything
2. Start up Virtual PC
3. Reboot it and load up the Windows text install
4. Install it (witch takes AGES)
Possible to just keep all my apps i have in the ISO in C:\Install\Applications and then run runonceex.cmd and reboot? would that do the trick for changes to atleast THAT file?
Any idea´s or am i just beeing a "lazy f*ck"
0 -
Today is microsoft "Patchday" is it not?
0 -
Hey thanx pal
Ill get right on it
0 -
Oki doki
But how would such a line in RunOnceEx look like?
maby? (if i have a copy of tweaks.reg in my &OEM%\%1\Install dir)
REG ADD %KEY%\100 /VE /D "Registry Changes and Tweaks" /f
REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\REGEDIT32.EXE /S tweaks.reg" /for? (if i use the same copy of tweaks.reg as in the cmdlines.txt)
REG ADD %KEY%\100 /VE /D "Registry Changes and Tweaks" /f
REG ADD %KEY%\100 /V 1 /D "REGEDIT32.EXE /S tweaks.reg" /for have i got it all wrong?
OHHH Important!!!!! WHERE in the RunOnceEx should i run it??? last? befor or after cleanup.cmd or?
Thanx
0 -
Hello
Okey i have read through out the forum that some of you apply your regtweaks 2 times, from different locations! becourse some tweaks dont "stick"
Well i was woundering what this is all about since my tweaks dont seems to apply as i would like!
I run my cmdlines.txt like this:
[COMMANDS]
"REGEDIT32.EXE /S tweaks.reg"
"RunOnceEx.cmd"and i dont know how many of them acctually get stuck!
so where, when and how would i apply them a second time for the best result.
Thanx ppl
0 -
Okey i have searched the forum and several threads came up but no one of them explained my problem, witch i think is strange.
I just got my self a "new" PC so i would like to test my DVD ISO live and not just only Virtual PC
Okey so the ISO is not final yet but in Virtual PC it boots and it installs
but when i burn the ISO image in Nero using (open file > winxp.iso > burn image)
It don´t boot on my "Live" PC. Just says "Boot from CD..." and nothing happends?
Am i burning the ISO wrong or what could be the problem?
I have read through http://flyakite.msfnhosting.com/ aswell
And it didn´t work!
I am totally lost here guys?! I really need this to work whit DVD, can´t go back to CD
Help!
EDIT: One other thing i tried to make a ISO whit nLite and then i tried to burn it in Nero using the same DVD-RW disc i used before, and even though i have Fully erased it using Nero it still tells me that the disc is not empty and the burn process fails Maby a bit offtopic but still you guys might know whats wrong?
Thanx ppl
0 -
Hello
Okey i have this problem now!
When trying to install everything seems fine until its time for The Applications install post and Cleanup process.
When Windows is trying to install the updates: Framework ASP, languagepack, High-Mat and Media Connect it says it can´t install becouse i dont have Admin rights.
And then later when its time for the Cleanup.cmd procces it hangs!
Here are my files:
---------------------------------------------------------
RunOnceEx.cmd: (in %OEM% dir)
cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "Windows Updates & Hotfixes" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\Framework_ASP\KB886903.exe /Q" /f
REG ADD %KEY%\001 /V 2 /D "%systemdrive%\install\Applications\Framework_SWE\langpack.msi /qb" /f
REG ADD %KEY%\001 /V 3 /D "%systemdrive%\install\Applications\High-mat\HMTCDWizard.msi /qb" /f
REG ADD %KEY%\001 /V 4 /D "%systemdrive%\install\Applications\WMC\wmcsetup.exe /Q:A /R:N" /f
REG ADD %KEY%\002 /VE /D "Avant Browser v10.0 Build 168" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\Applications\Avant\absetup.exe /S" /f
REG ADD %KEY%\003 /VE /D "QuickTime Alternative v1.41" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Applications\QuickTimeAlt\quicktimealt141.exe /VERYSILENT /SP- /DIR="%Program Files%\QuickTime Alt\" /COMPONENTS=qt,qt\codec,qt\directshow,qt\plugins,qt\browser /NORESTART
REG ADD %KEY%\003 /VE /D "Real Alternative v1.37" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Applications\RelAlt\realalt.exe /VERYSILENT /SP- /DIR="%Program Files%\Real Alt\" /COMPONENTS=real,real\codec,real\directshow,real\browser /NORESTART
REG ADD %KEY%\004 /VE /D "WinAmp v5.092" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\Applications\Winamp\Winamp5092.msi /qb INI="%systemdrive%\install\Application\Winamp\winamp.ini"
REG ADD %KEY%\005 /VE /D "WinRAR v3.50 b3" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\Winrar\wrar35b3sw.exe /S" /f
REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\Applications\Winrar\reg.cmd" /f
REG ADD %KEY%\006 /VE /D "AC3Filter v0.70b" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\Applications\Ac3filter\ac3filter_0_70b.exe /S" /f
REG ADD %KEY%\007 /VE /D "ffdshow v.2004.10.12" /f
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\Applications\ffdshow\ffdshow.exe /S" /f
REG ADD %KEY%\008 /VE /D "Nero Burning ROM v6.3.0.3" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\Nero\Nero6303.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /f
REG ADD %KEY%\009 /VE /D "Diskeeper Pro 9 + 9.0.524.0 Update" /f
REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\Applications\Diskeeper9\Setup.exe /S" /f
REG ADD %KEY%\009 /V 2 /D "%systemdrive%\install\Applications\Diskeeper9\Update.exe /S" /f
REG ADD %KEY%\099 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\099 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
EXITuseraccounts.cmd: (in %OEM% dir)
net user USERNAME PASSWORD /Add
net localgroup "Administratörer" /Add USERNAME
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXITcmdlines.txt: (in %OEM% dir)
[COMMANDS]
"REGEDIT /S tweaks.reg"
"RunOnceEx.cmd"
"useraccounts.cmd"autologon.reg: (in %OEM% dir)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="USERNAME"
"DefaultPassword"="PASSWORD"
"AutoAdminLogon"="1"cleanup.cmd: (in %OEM%\%1\Install\ dir)
cmdow @ /HID
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete
RD /S /Q "%AllUserProfile%\Delade dokument\"
RD /S /Q "%AllUserProfile%\Application Data\Microsoft\Media Index\"
DEL "%AllUserProfile%\Application Data\Microsoft\User Account Pictures\Default Pictures\*.*"
DEL "%UserProfile%\Mina Dokument\Min musik\*.*"
DEL "%UserProfile%\Mina Dokument\Mina bilder\*.*"
DEL "%UserProfile%\SendTo\E-postmottagare.MAPIMail"
DEL "%UserProfile%\SendTo\Komprimerad mapp.ZFSendToTarget"
DEL "%UserProfile%\SendTo\Mina dokument.mydocs"
DEL "%UserProfile%\SendTo\Skrivbord (skapa genväg).DeskLink"
RD /S /Q "%ProgramFiles%\ComPlus Applications\"
RD /S /Q "%ProgramFiles%\microsoft frontpage\"
RD /S /Q "%ProgramFiles%\WindowsUpdate\"
RD /S /Q "%ProgramFiles%\xerox\"
DEL "%CommonProgramFiles%\Microsoft Shared\Stationary\*.*"
DEL "%systemroot%\*.bak"
DEL "%systemroot%\*.bmp"
DEL "%systemroot%\*.old"
DEL "%systemroot%\*.tmp"
DEL "%systemroot%\clock.avi"
DEL "%systemroot%\control.ini"
DEL "%systemroot%\desktop.ini"
DEL "%systemroot%\win.ini"
DEL "%systemroot%\OEWABLog.txt"
DEL "%systemroot%\setuplog.txt"
RD /S /Q "%systemroot%\$hf_mig$\"
RD /S /Q "%systemroot%\addins\"
RD /S /Q "%systemroot%\Config\"
RD /S /Q "%systemroot%\Connection Wizard\"
RD /S /Q "%systemroot%\Cursors\"
DEL "%systemroot%\Driver Cache\i386\drivers.cab"
DEL "%systemroot%\Driver Cache\i386\sp2.cab"
RD /S /Q "%systemroot%\Help\Tours\"
DEL "%systemroot%\system32\tourstart.exe"
DEL "%systemroot%\inf\*.PNF"
DEL "%systemroot%\inf\mdm*.inf
DEL "%systemroot%\Media\*.*"
RD /S /Q "%systemroot%\msapps\"
RD /S /Q "%systemroot%\mui\"
RD /S /Q "%systemroot%\RegisteredPackages\"
DEL "%systemroot%\SoftwareDistribution\Download\*.*"
DEL "%systemroot%\Temp\*.*"
DEL "%systemroot%\Web\Wallpaper\*.*"
RD /S /Q "%systemroot%\system32\3com_dmi\"
RD /S /Q "%systemroot%\system32\1025\"
RD /S /Q "%systemroot%\system32\1028\"
RD /S /Q "%systemroot%\system32\1031\"
RD /S /Q "%systemroot%\system32\1037\"
RD /S /Q "%systemroot%\system32\1041\"
RD /S /Q "%systemroot%\system32\1042\"
RD /S /Q "%systemroot%\system32\1054\"
RD /S /Q "%systemroot%\system32\2052\"
RD /S /Q "%systemroot%\system32\3076\"
RD /S /Q "%systemroot%\system32\dhcp\"
DEL "%systemroot%\system32\dllcache\*.*"
RD /S /Q "%systemroot%\system32\DirectX\Dinput\"
RD /S /Q "%systemroot%\system32\export\"
RD /S /Q "%systemroot%\system32\inetsrv\"
RD /S /Q "%systemroot%\system32\ShellExt\"
RD /S /Q "%systemroot%\system32\SoftwareDistribution\"
RD /S /Q "%systemroot%\system32\xircom\"
RD /S /Q "%UserProfile%\Favoriter\Länkar\"
DEL "%systemroot%\Favoriter\*.*"
DEL "%systemroot%\Start-meny\Program\Fjärrhjälp.lnk"
DEL "%systemroot%\Start-meny\Program\Outlook Express.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Adressbok.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Guiden Programvarukompatibilitet.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Synkronisera.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Upptäck Windows XP.lnk"
DEL "%UserProfile%\Lokala inställningar\Temp\*.*"
RD /S /Q "%systemdrive%\Drivers\"
RD /S /Q "%systemdrive%\Install\"
@echo off
pushd %systemroot%
for %%a in ("*.log") do if %%a neq windowsupdate.log del /q "%%~a"
popd
goto :eof
EXITWinnt.sif: (in I386 dir)
;SetupMgrTag
[Data]
MsDosInitiated="0"
AutoPartition=0
UnattendedInstall="Yes"
[Unattended]
OemPreinstall=Yes
FileSystem=*
UnattendMode=FullUnattended
OemSkipEula=Yes
TargetPath=\WINDOWS
ProgramFilesDir=C:\Program
CommonProgramFilesDir="C:\Program\Delade filer"
[GuiUnattended]
AdminPassword="admin"
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=110
OemSkipWelcome=1
[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
FullName="NAME"
OrgName="ORG NAME"
ComputerName=COMPUTERNAME
[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=85
[TapiLocation]
CountryCode=46
AreaCode=031
[Identification]
JoinWorkgroup=XXXXX
[Networking]
InstallDefaultComponents=Yes
[GUIRunOnce]
command9 = "%SystemDrive%\D\BTS_DPs_finish.cmd"Also i should say that i am using the SWEDISH version of windos XP SP2 if dir names and other names should matter!!!!
Thanx people!
0 -
He he i have been busy with other things and when i look now you guys have really put some effort in this.
Thanx i will try all your tips!
EDIT: I have now tested your vbs script Gunsmokingman and your "last" command line" tip Yzöwl. Both worx like a charm but i think the command line is better, less code and i can keep it inside my cleanup.cmd file right?
Its okey to just paste in the
@echo off
pushd %systemroot%
for %%a in ("*.log") do if %%a neq windowsupdate.log del /q "%%~a"
popd
goto :eofinside my cleanup.cmd file right?
or do i need to remove the @echo off and goto:eof??
or do i just need to call this seperate file from cleanup.cmd? and if so do i need to add something to ether file so it returns to the cleanup.cmd file when finished?
Thanx again for all your help guys
EDIT:
By the way take a look at this:
cmdow @ /HID
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete
RD /S /Q "%AllUserProfile%\Delade dokument\"
RD /S /Q "%AllUserProfile%\Application Data\Microsoft\Media Index\"
DEL "%AllUserProfile%\Application Data\Microsoft\User Account Pictures\Default Pictures\*.*"
DEL "%UserProfile%\Mina Dokument\Min musik\*.*"
DEL "%UserProfile%\Mina Dokument\Mina bilder\*.*"
DEL "%UserProfile%\SendTo\E-postmottagare.MAPIMail"
DEL "%UserProfile%\SendTo\Komprimerad mapp.ZFSendToTarget"
DEL "%UserProfile%\SendTo\Mina dokument.mydocs"
DEL "%UserProfile%\SendTo\Skrivbord (skapa genväg).DeskLink"
RD /S /Q "%ProgramFiles%\ComPlus Applications\"
RD /S /Q "%ProgramFiles%\microsoft frontpage\"
RD /S /Q "%ProgramFiles%\WindowsUpdate\"
RD /S /Q "%ProgramFiles%\xerox\"
DEL "%CommonProgramFiles%\Microsoft Shared\Stationary\*.*"
DEL "%systemroot%\*.bak"
DEL "%systemroot%\*.bmp"
DEL "%systemroot%\*.old"
DEL "%systemroot%\*.tmp"
DEL "%systemroot%\clock.avi"
DEL "%systemroot%\control.ini"
DEL "%systemroot%\desktop.ini"
DEL "%systemroot%\win.ini"
DEL "%systemroot%\OEWABLog.txt"
DEL "%systemroot%\setuplog.txt"
RD /S /Q "%systemroot%\$hf_mig$\"
RD /S /Q "%systemroot%\addins\"
RD /S /Q "%systemroot%\Config\"
RD /S /Q "%systemroot%\Connection Wizard\"
RD /S /Q "%systemroot%\Cursors\"
DEL "%systemroot%\Driver Cache\i386\drivers.cab"
DEL "%systemroot%\Driver Cache\i386\sp2.cab"
RD /S /Q "%systemroot%\Help\Tours\"
DEL "%systemroot%\system32\tourstart.exe"
DEL "%systemroot%\inf\*.PNF"
DEL "%systemroot%\inf\mdm*.inf
DEL "%systemroot%\Media\*.*"
RD /S /Q "%systemroot%\msapps\"
RD /S /Q "%systemroot%\mui\"
RD /S /Q "%systemroot%\RegisteredPackages\"
DEL "%systemroot%\SoftwareDistribution\Download\*.*"
DEL "%systemroot%\Temp\*.*"
DEL "%systemroot%\Web\Wallpaper\*.*"
RD /S /Q "%systemroot%\system32\3com_dmi\"
RD /S /Q "%systemroot%\system32\1025\"
RD /S /Q "%systemroot%\system32\1028\"
RD /S /Q "%systemroot%\system32\1031\"
RD /S /Q "%systemroot%\system32\1037\"
RD /S /Q "%systemroot%\system32\1041\"
RD /S /Q "%systemroot%\system32\1042\"
RD /S /Q "%systemroot%\system32\1054\"
RD /S /Q "%systemroot%\system32\2052\"
RD /S /Q "%systemroot%\system32\3076\"
RD /S /Q "%systemroot%\system32\dhcp\"
DEL "%systemroot%\system32\dllcache\*.*"
RD /S /Q "%systemroot%\system32\DirectX\Dinput\"
RD /S /Q "%systemroot%\system32\export\"
RD /S /Q "%systemroot%\system32\inetsrv\"
RD /S /Q "%systemroot%\system32\ShellExt\"
RD /S /Q "%systemroot%\system32\SoftwareDistribution\"
RD /S /Q "%systemroot%\system32\xircom\"
RD /S /Q "%UserProfile%\Favoriter\Länkar\"
DEL "%systemroot%\Favoriter\*.*"
DEL "%systemroot%\Start-meny\Program\Fjärrhjälp.lnk"
DEL "%systemroot%\Start-meny\Program\Outlook Express.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Adressbok.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Guiden Programvarukompatibilitet.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Synkronisera.lnk"
DEL "%systemroot%\Start-meny\Program\Tillbehör\Upptäck Windows XP.lnk"
DEL "%UserProfile%\Lokala inställningar\Temp\*.*"
RD /S /Q "%systemdrive%\Drivers\"
RD /S /Q "%systemdrive%\Install\"
@echo off
pushd %systemroot%
for %%a in ("*.log") do if %%a neq windowsupdate.log del /q "%%~a"
popd
goto :eof
EXITDoes it seems to be in order? (bare in mind some directories and filenames are in Swedish )
Thanx
0 -
Thanx alot guys. Ill see if i can test the tweaks myself before i do a test install (i only have one working computer right now so i have to trust Virtual PC to handle them corectly.
Yzöwl. great thanx for that tip
0 -
Hmmm okey i tríed it but the test.log is empty!!!?
0 -
Martin Zugec
Okey i actually did this
I did a file called test.cmd in my root (c:\)
then i put your command line in it and ended it whit pause
then i change the *.log entries in the cmd file to *.qaz
(and WindowsUpdate.log to WindowsUpdate.qaz)
then i just created some *.qaz files and the WindowsUpdate.qaz in my windows dir
then i executed the test.cmd file and it didnt work
I did this just to test and see if it did indeed deleate just the other *.qaz files but not the WindowsUpdate.qaz
I use Windows XP sp2
0 -
Hey Martin Zugec
I tried your command but it seems to search for the files in C:\...
So nothing happends!
I changed the %windir% to %systemroot% and i tried to specify it whit: C:\Windows in your command line...
do i need to execute it from somewhere special?
gunsmokingman
i haven´t tried yours yet. but if i want this script for say *.txt files i just change the *.log from everywhere in the script to *.txt right and then use the little ' mark on the letter of the filename i want to exclude right? And its alright to call upon this from cleanup.cmd right?
thanx
0 -
Hi
I was just woundering if there is a command to exclude one or two files when i use the:
DEL "%systemroot%\*.log"
I dont want the WindowsUpdate.log to be deleted
Or do i then have to specify ALL the different *.log files i want to be deleted?
And if i want to keep more than one file, how do i specify that?
Also what are the different "Easy Paths"? like:
%systemroot% = Windows dir
%windir% = Is this the same? (dont know)
%systemdrive% = X:\ (where x is the drive that windows is installed to)
%ProgramFiles% = Program dir (specified in winnt.sif)
%CommonProgramFiles% = Common Program files dir (can also be specified in winnt.sif)
%CDROM% = The CDRom Drive
I am doing my Cleanup.cmd file now and paths like the ones above can really help
but the main question is main priority
Thanx people!
0
HotFixes: Using both SVCPACK.INF and /integrate
in Unattended Windows 2000/XP/2003
Posted
may i ask a question a little bit offtopic maby but, what does the:
do?
i dont use that flag in my SVCPACK.INF myself and it works fine (i think), just curious