
zedox
Content Type
Profiles
Forums
Events
Posts posted by zedox
-
-
@echo off
cmdow @ /HID
SetLocal enableextensions
SET CDROM=%~d0
IF NOT DEFINED UserName FOR /F "tokens=3 delims=\" %%d IN ("%UserProfile%") DO SET UserName=%%d
COPY /Y "%CDROM%\$OEM$\system32\cmdow.exe" "%systemroot%\system32\"
DEL /F /Q "%systemroot%\Web\Wallpaper\*.jpg"
DEL /F /Q "%systemroot%\system32\*.scr"
DEL /F /Q "%AllUsersProfile%\Documents\My Music"
DEL /F /Q "%AllUsersProfile%\Documents\My Pictures"
RD /S /Q "%AllUsersProfile%\Documents\Recorded TV"
DEL /F /Q "%AllUsersProfile%\Start Menu\Activate Windows.lnk"
DEL /F /Q "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL /F /Q "%AllUsersProfile%\Start Menu\Windows Update.lnk"
DEL /F /Q "%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Activate Windows.lnk"
RD /S /Q "%UserProfile%\Favorites\Links"
DEL /F /Q "%UserProfile%\My Pictures\"
DEL /F /Q "%UserProfile%\Start Menu\Programs\Remote Assistance.lnk"
DEL /F /Q "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"
DEL /F /Q "%UserProfile%\Start Menu\Programs\Accessories\Windows Explorer.lnk"
DEL /F /Q "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"
DEL /F /Q "%UserProfile%\Start Menu\Programs\Accessories\Address Book.lnk"
EndLocal
EXITThe last "DEL" commands are meant to remove the outlook express and address book shortcuts.
But doesnt seem to work.
The shortcuts only appear in the Administrators account. So what is the environment variable for the administrators account?
0 -
@ scibott
Did you use nLite to create an unattended installation of Media Center?
0 -
Problem 1
Hi guys, can I have some assistance with my unattended install please...
[GuiUnattended]
AutoLogon = Yes
EncryptedAdminPassword = No
AdminPassword = "******"
TimeZone = 085
OEMSkipRegional = 1
OemSkipWelcome = 1Ok, the problem is I get the message...
The system could not log you on. Make sure your User name and domain are correct, then type your password again. Leters in passwords must be typed using the correct case.I used nLite to change the Administrators name to a different name... and the auto logon automatically selects the username as Administrator.
---------------------------------------------------------------------------------------------------------------------------
Problem 2
not sure if this problem comes under Windows Media Center Edition forum or Unattended...
Get the following error when executing Media Center...
This Application has failed to start because dbgeng.dll was not found. re-installing the application may fix this problem.
After clicking OK i get the next error...
Application has generated an exception that could not be handled.
Process id=01dc (476), Thread id=0x1e8 (488).
Click OK to terminate the application.
Click CANCEL to debug the application.If I Click OK I get the first error message again!!!
I've searched the hard drive for dbgeng.dll and the file can not be found...
How can I get my windows setup to copy this file over as it should do?
0 -
God, nothing works.
It still doesn't work
0 -
I think i've cracked it.
I created 2 directorys to be copied to C:\ during unattended setup.
Then at the end of the 1st runonceex it will copy another runonceex from one of the directories that will execute a silent install of office 2000 disc1 upon a restart, included in that runonceex is the code to restart the machine.
After the restart it will install office 2000 disc1 silently, then copy the other runonceex from the other directory, which includes the code to run disc 2 setup silently, and restarts the machine.
Then once its restarted again, Office installation disc 2 runs and restarts the machine for a 3rd and final time.
Woop... now lets see if it works.
REG ADD %KEY%\055 /VE /D "Norton Antivirus" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\Software\nav\NAVSETUP.EXE /QB" /f
REG ADD %KEY%\055 /V 2 /D "taskkill /F /IM CfgWiz.exe /QB" /f
I used
start /wait C:\Install\symantec\NAVCE.MSI /passive /qn /norestart
That seems to work.
0 -
Ohh... come on.. I give up?!
0 -
So how can I stop both setups for office installing at the same time?
0 -
Doesnt work.
That just opens another commandprompt file which is directed to the location of the runonceex.cmd file.
Which happens also when I add /wait to the script.
0 -
Oh yea, forgot to say... Tried that!
0 -
Anyone?! PLEASE?
0 -
@ Falcon-X, hi! I have the same problem as bartjuh. How did you fix it?
0 -
ECHO.
ECHO Norton Antivirus Corporate Edition 7.6
start /wait \\192.168.58.1\vphome\clt-inst\WIN32\SETUP.EXE /SExecutes setup, but doesnt run silently.
ECHO.
ECHO Microsoft Office 2000 Professional
start \\192.168.58.1\"system files"\"Microsoft Office 2000 Professional"\Setup\Disc1\SETUP.EXE transforms="\\192.168.58.1\system files\Microsoft Office 2000 Professional\Setup\Disc1\unattended.MST" /qb-
start \\192.168.58.1\"system files"\"Microsoft Office 2000 Professional"\Setup\Disc2\SETUP.EXE transforms="\\192.168.58.1\system files\Microsoft Office 2000 Professional\Setup\Disc2\unattended2.MST" /qb-Executes the first disc (setup) and installs silently. But as soon as its executed the other executes.
How can I delay it until setup has finished?
0 -
Ok, Im stumped...
Ive got my cmd file running on first boot up after fresh installation.
But when it comes to installing microsoft office using my transforms file and the /qb+ switches it completely skips it with no errors...
Heres my cmd file...
CLS
@echo off
TITLE Final Installation tasks...
net use H: \\192.168.58.1\data /user:REDHILL\administrator *********
ECHO.
ECHO Copying Shortcuts
COPY "\\192.168.58.1\data\utility\support\Employee Intranet.url" "C:\Documents and Settings\All Users\Desktop\"
ECHO.
ECHO Adobe Acrobat Reader 7.0
start /wait C:\Install\"Adobe Acrobat Reader"\AdbeRdr70_enu_full.exe -p-s /v/qn
ECHO.
ECHO WinZip 9.0
start /wait C:\Install\WinZip\WINZIP32.exe /noqp /autoinstall
ECHO.
ECHO Macromedia ShockWave Player 8.0
start /wait C:\Install\"Macromedia Shockwave Player"\Shockwave_Installer_Full.exe /S
ECHO.
ECHO Microsoft .NET Framework 1.1
start C:\Install\"Microsoft .NET Framework 1.1"\dotnetfx.exe /q /c:"install.exe /q"
[b]ECHO.
ECHO Microsoft Office 2000 Professional Disc 1
start /wait \\192.168.58.1\"system files"\"Microsoft Office 2000 Professional"\Setup\Disc1\SETUP.EXE transforms="\\192.168.58.1\system files\Microsoft Office 2000 Professional\Setup\Disc1\unattended.MST" /qb-
ECHO.
ECHO Microsoft Office 2000 Professional Disc 2
start /wait \\192.168.58.1\"system files"\"Microsoft Office 2000 Professional"\Setup\Disc2\SETUP.EXE transforms="\\192.168.58.1\system files\Microsoft Office 2000 Professional\Setup\Disc2\unattended.MST" /qb-
ECHO.
ECHO Norton Antivirus Corporate Edition 7.6
start /wait C:\antivirus.cmd
ECHO.
ECHO Completing Final Installation Tasks
net user aspnet /DELETE
net use H: /DELETE
EXITI have tried running each from their own cmd files... doesnt work.
If I run my cmd file after my system has started up it seems to run the first disc. But not the second.
Please help!!!
0 -
Hello!
Ok, Trying to run several setups silently from a batch file after installation of windows.
Problem I have is the files needed are stored on a server.
When the setup file is "called" it asks for password and username, what commands shall I add to my batch to stop it asking!?
EDIT:
net use X: \\SERVER\FOLDER /user:DOMAIN\USERNAME PASSWORD
Map any file, folder from the server, and itll remember the logon details.
0 -
I obviously didnt search hard enough... Figured it all out... Does anyone else want my method?
0 -
Hiya, I've searched hi and low for instructions on how to slipstream and silently install office 2000... but to no avail, I can't find anything!
Any links or help will be appreciated. Thanks!
0 -
erm, no. If people could give me file names then I'd definatly look into it.
0 -
Ok, ill give it ago without the network mappings... but some of the installations are coming from drives that will need to be mapped.
I've found out how to add usernames and passwords for the mappings...
cmdow @ /HID
@Echo Off
SET PP=%SystemDrive%\Install\
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "CBSbutler Final Installation Tasks" /f
REG ADD %KEY%\000 /VE /D "Mapping Network Drives" /f
net use H: /delete
net use P: /delete
net use S: /delete
net use T: /delete
net use H: \\192.168.58.1\data /user:REDHILL\administrator password:********
net use P: \\Profile1\profile7-000
net use S: \\192.168.58.1\system files
net use T: \\192.168.58.1\vphome
REG ADD %KEY%\001 /VE /D "Copying Shortcuts" /f
COPY "\"H:\utility\support\Employee Intranet.url\" \"C:\Documents and Settings\All Users\Desktop\""
REG ADD %KEY%\002 /VE /D "Adobe Acrobat Reader 7.0" /f
REG ADD %KEY%\002 /V 1 /D "\"H:\UTILITY\Software\Acrobat\Adobe Acrobat Reader\Ver 7\AdbeRdr70_enu_full.exe\" -p\"-s /v\"/qn\"\"" /f
REG ADD %KEY%\003 /VE /D "WinZip 9.0" /f
REG ADD %KEY%\003 /V 1 /D "%SystemDrive%\"Program Files\"\WinZip\winzip32.exe /noqp /autoinstall" /f
REG ADD %KEY%\004 /VE /D "Macromedia ShockWave Player 8.0" /f
REG ADD %KEY%\004 /V 1 /D "%PP%Macromedia\Shockwave_Installer_Full.exe /S" /f
REG ADD %KEY%\005 /VE /D "Microsoft .NET Framework 1.1" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Microsoft\dotnetfw.exe /q /c:\"install /q\"" /f
REG ADD %KEY%\006 /VE /D "Microsoft Office 2000" /f
REG ADD %KEY%\006 /V 1 /D "\"S:\MS Office 2000\Disk1\SETUP.EXE\""
REG ADD %KEY%\006 /V 2 /D "\"S:\MS Office 2000\Disk2\SETUP.EXE\""
REG ADD %KEY%\006 /V 3 /D "\"S:\Service Packs\Office Updates\Office 2000 Service Packs\o2ksp3.exe\""
REG ADD %KEY%\007 /VE /D "Norton Antivirus Corporate Edition 7.6" /f
REG ADD %KEY%\007 /V 1 /D "\"T:\clt-inst\WIN32\NAVCE.EXE\" /QN" /f
REG ADD %KEY%\008 /VE /D "Installing Patches and further Security Fixes" /f
REG ADD %KEY%\008 /V 1 /D ""
REG ADD %KEY%\009 /VE /D "Completing CBSbutler Final Installation Tasks" /f
REG ADD %KEY%\009 /V 1 /D "%PP%cleanup.cmd" /f
EXITIll try the above script first... If that fails, ill try it without the network mappings, one app at a time. Cheers
0 -
I'm using it on my windows 2000 installation.
Upon connecting it prompts for a password to connect to the network... Dont want it to ask.And even entering the correct password it always returns back that it was incorrect.
After skipping that, it says "cannot find the file "RunOnceEx.cmd" (or one of its components). Make sure the path or filename is correct and that all the libaries are availabe"
:s
0 -
Make sure drivers are being installed for your graphics processor before first boot too.
0 -
-
1: Complete ALL your nLiting/HFSLIPing/XPloding ... ect.
2: Copy the following files from your I386 directory, to the root of %systemdrive% (you can delete it after modification)...
NTOSKRNL.EX_
NTKRPAMP.EX_
NTKRNLMP.EX_
NTKRNLPA.EX_
3: Now the fun parts...
Press Start>Run>"CMD">OK
Type the following, hitting return after each line...
expand.exe ntoskrnl.ex_ ntoskrnl.exe
expand.exe ntkrpamp.ex_ ntkrpamp.exe
expand.exe ntkrnlmp.ex_ ntkrnlmp.exe
expand.exe ntkrnlpa.ex_ ntkrnlpa.exe4: Click this link ResHacker
Save a copy or open from the download. When you open the downloaded file. I'd Extract it to %systemdrive%\Program Files\Reshacker (create the directory). Create a shortcut and add it to your start menu/desktop ect...
Open Reshacker, Click File>Open and point to C:\ntoskrnl.exe.
Expand "Bitmap", expand "1" and click "1033". Right Click on "1033" and click "save [bitmap : 1 : 1033]..."
Save this file to your %systemdrive%.
5: Now go to your saved image. Open it in Paint (ect) and do your editing... Remembering you CAN NOT increase the dimensions, and it must be saved as a 16 colour bitmap.
6: Reopen "Reshacker", Point to the "ntoskrnl.exe" file again, expanding the same archives.
Right click "1033" again, but this time click "Replace Resource".
Click "Open file with new bitmap" and point to your edited Bitmap.
Click "Replace".
Click "File>Save"
7: Repeat process 6: For "ntkrpamp.exe", "ntkrnlmp.exe", and "ntkrnlpa.exe"
Replacing the same image each time. (Not sure what will happen if you use different ones)
8: Press Start>Run>"CMD">OK
Type the following, hitting return after each line...
makecab.exe ntoskrnl.exe ntoskrnl.ex_
makecab.exe ntkrpamp.exe ntkrpamp.ex_
makecab.exe ntkrnlmp.exe ntkrnlmp.ex_
makecab.exe ntkrnlpa.exe ntkrnlpa.ex_9: Copy all the files ending in .ex_ (Except ones with _original in the name, you can remove these) Back to your "I386" Directory, overwriting the originals if prompted.
---------------------------------------------------------------------------------------------
All the above has edited your bootscreen during the Windows 2000 installation process. Once Windows is installed it will revert back to the originals.
To fix it so it will stay with your edited bootscreen, or to modify it for another edited bootscreen after install; follow the rest of the guide...
---------------------------------------------------------------------------------------------
9: Copy the following files from your "I386" directory, to the root of %systemdrive% (you can delete it after modification)...
SP4.CAB
SP3.CAB
10: Extract the contents of each cab using WinZip or WinRar, I'd advise you to extract them to directories named "SP4" and "SP3"...
11: Copy the following files to each folder, SP3, and SP4.
NTOSKRNL.exe
NTKRPAMP.exe
NTKRNLMP.exe
NTKRNLPA.exe
Replacing any files if prompted.
12: Click Microsoft Cabinet Software Development Kit
Save the file to "%systemdrive%\Windows\System32\"
Press Start>Run>"CMD">OK
Type the following, hitting return after each line
cd c:\sp4
cabarc.exe n sp4.cab *.*
cd c:\sp3
cabarc.exe n sp3.cab *.*Within the sp3, and sp4 folders will be the repacked cabinet files. (SP4.CAB, SP3.CAB) And copy these to your "I386" Directory.
DONE!
Cheers to memberjoe for his help!
0 -
My Winnt.SIF
;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=Yes
WaitForReboot="No"
OemPnPDriversPath="Drivers\001_network"
DriverSigningPolicy=Ignore
KeyboardLayout="United Kingdom"
[GuiUnattended]
AdminPassword=*******
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=85
OemSkipWelcome=1
[UserData]
ProductID="*****-*****-*****-*****-*****"
FullName=""
OrgName=""
ComputerName=*
[Display]
BitsPerPel=24
Xresolution=1024
YResolution=768
Vrefresh=75
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[Identification]
JoinDomain=REDHILL
DomainAdmin=administrator
DomainAdminPassword=********
[Networking]
InstallDefaultComponents=Yes
[Branding]
BrandIEUsingUnattended=Yes
[URL]
Home_Page=http://www.google.co.uk/
Search_Page=http://www.google.co.uk/
[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1
[GuiRunOnce]
RunOnceEx.cmdMy CMDLINES.TXT
[Commands]
"REGEDIT /S .\discover.reg"
"cmd /c start /min cmd /c .\discover.bat"
"RunOnceEx.cmd"My RunOnceEx.cmd
cmdow @ /HID
@Echo Off
SET PP=%SystemDrive%\Install\
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Final Installation Tasks" /f
REG ADD %KEY%\000 /VE /D "Mapping Network Drives" /f
regedit /s ie.reg
net time \\192.168.58.1 /set /y
net use H: "\\192.168.58.1\data"
net use P: "\\192.168.58.1\profile7-000"
net use S: "\\192.168.58.1\system files"
net use T: "\\192.168.58.1\vphome
REG ADD %KEY%\001 /VE /D "Copying Shortcuts" /f
copy "H:\utility\support\Employee Intranet.url" "C:\Documents and Settings\All Users\Desktop"
REG ADD %KEY%\002 /VE /D "Adobe Acrobat Reader 7.0" /f
REG ADD %KEY%\002 /V 1 /D ""H:\UTILITY\Software\Acrobat\Adobe Acrobat Reader\Ver 7\AdbeRdr70_enu_full.exe" -p\"-s /v\"/qn\"\"" /f
REG ADD %KEY%\003 /VE /D "WinZip 9.0" /f
REG ADD %KEY%\003 /V 1 /D "%PP%"Program Files"\WinZip\winzip32.exe /noqp /autoinstall" /f
REG ADD %KEY%\004 /VE /D "Microsoft .NET Framework 1.1" /f
REG ADD %KEY%\004 /V 1 /D "%PP%Microsoft\dotnetfw.exe /q /c:"install /q"" /f
REG ADD %KEY%\005 /VE /D "Macromedia ShockWave Player 8.0" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Macromedia\Shockwave_Installer_Full.exe /S" /f
REG ADD %KEY%\006 /VE /D "Norton Anitvirus Corporate Edition" /f
REG ADD %KEY%\006 /V 1 /D ""T:\clt-inst\WIN32\NAVCE.EXE" /QN" /f
REG ADD %KEY%\007 /VE /D "Completing Final Installation Tasks" /f
REG ADD %KEY%\007 /V 1 /D "%PP%cleanup.cmd" /f
net use T: /DELETE
EXITMy Folder Structure is as follows.
My Installation Is Windows 2000, with Service Pack 4, IE6, DirectX9 Slipstreamed.
And over 20 hotfixes intergrated.
Any Problems you can spot? Please let me know.
0 -
you think I havn't tried that?
0
Autologin not working correctly...
in Unattended Windows 2000/XP/2003
Posted
Hey all,
I changed the administrators name to my name using nLite and now windows trys to log onto the administrator account even though it doesnt exist! So autologin isnt working.
How can I fix this!? PLEASE!?