Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations


Everything posted by Dahi

  1. Search this forum for "protect" http://www.msfn.org/board/index.php?showto...1460&hl=protect http://www.msfn.org/board/index.php?showto...8523&hl=protect
  2. Please Search harder next time. This has been asked many many times. See here for the solution.
  3. You can put $OEM$ wherever you like if you specify the path with OemFilesPath. If OemFilesPath is omitted from winnt.sif then winnt32.exe setup looks for it under i386 by default.
  4. When installing with winnt32.exe, the $OEM$ folder must be insde the i386 folder, ie. \i386\$oem$
  5. A couple of spelling mistakes REG ADD %KEY$\002 /v 3 /D "REGEDIT /S %CDROM\Software\register\isobuster.reg /f : : REG ADD %KEY\011 /V 2 /D "%CDROM%\software\regeverest.exe" /f should be REG ADD %KEY%\002 /v 3 /D "REGEDIT /S %CDROM%\Software\register\isobuster.reg" /f : : REG ADD %KEY%\011 /V 2 /D "%CDROM%\software\regeverest.exe" /f
  6. Please use the search function, this has been answered before. Try the regtweaks here.
  7. I'm guessing, but it might be: FileSystem1="fat32" Size1="20000" gives you a 20GB partition. You will need 16k clusters for fat32 to support disks bigger than 16GB. I've no idea if theres an option for this. Note that the [DiskConfig] method of partitioning disks only works in winbom.ini using the factory mode of Sysprep from WinPE. AFAIK it does NOT work with winnt.sif
  8. You can name winnt.sif whatever you like, just enter the correct filename in the /unattend: option on winnt32.exe. You will also need to move your $OEM$ folder into the i386 folder.
  9. Dont paste long files like that into these forums, attach them. A search for "command" in your tweaks shows youre setting the file name completion character in two different places, and to 2 different values. I'm pretty sure 9 (TAB) is the correct value. 8 is the backspace key. ;----- Typing Long File Names In DOS ;----- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor] "CompletionChar"=dword:00000009 ;----- cmd prompt enhancements: tab key completes path+filenames, UNC checks off ;----- [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor] "CompletionChar"=dword:00000008 "PathCompletionChar"=dword:00000008 "DisableUNCCheck"=dword:00000001
  10. Is this related to unattended installs? Could you have avoided the problem in the first place by uncompressing without using paths? For example using 7zip with the e option (instead of x) extracts files ignoring the path in the archive. Recursing directorys with a batch file is extremely difficult, as you are probably finding out. Perl or Windows script would be more suitable. This untested code should move everything from folders called *\UnzipArchive\UnRar\* to F:\Uncompressing. Test well before use. for %%I in ( f:\uncompressing\*. ) ( for %%J in ( %%I\*. ) ( if /I %%~nJ==UnZipArchive ( move \y %%J\UnRAR\%%~nI %%I ) ) )
  11. newuser, Search for DISKPART. You can script Diskpart to modify partitions and change drive letters.
  12. Havent seen that before. What process did you use to slipstream Office? Have IE and OE been completely uninstalled? More likely the shortcuts have been hidden. Run these commands to get the shortcuts back. shmgrate.exe OCInstallShowIE shmgrate.exe OCInstallShowOE
  13. One option is to use setenv.exe in a batch file, see here
  14. Use == instead of =, and you might need quotes around %strComputername%
  15. To support multilanguage installs you might be able to use REG to get the local names for Desktop, Start Menu, Startup, and Program Files. But the problem I found was that SET wasnt setting the variable correctly in Japanese - the paths get cut off prematurely. Not sure if it works in Norwegian. Note that there must be a TAB character between DELIMS= and the quote mark (") SET KEY="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Common Desktop"`) DO SET ADT=%%I FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Common Start Menu"`) DO SET AST=%%I FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Common Programs"`) DO SET APR=%%I FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Common Startup"`) DO SET ASU=%%I SET KEY="HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Desktop"`) DO SET UDT="%%I" FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Start Menu"`) DO SET UST="%%I" FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Programs"`) DO SET UPR="%%I" FOR /F "USEBACKQ skip=3 tokens=3* DELIMS= " %%I IN (`REG QUERY %KEY% /v "Startup"`) DO SET USU="%%I" echo All Users desktop: %ADT% echo Current Users desktop: %UDT%
  16. The first line of your cmdlines.txt file must be [COMMANDS] [COMMANDS] "REGEDIT /S HKCU.reg" "REGEDIT /S HKLM.reg"
  17. For a network install (ie. you run winnt32.exe or winnt.exe to start the install) the $oem$ folder should be inside the i386 folder. Post your winnt.sif if you still cant get it to work. [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes DriverSigningPolicy=Ignore TargetPath=\Windows DisableDynamicUpdates=Yes ; Don't go get updates from Internet during install Hibernation=No ; Disable hibernation WaitForReboot=NO ; Yes=Wait 15seconds after guimode setup to reboot UnattendSwitch=Yes ; Set to yes during winnt installation to skip welcome [GuiUnattended] OEMSkipRegional=1 ; Indicates Regional info GUI to be skipped in setup TimeZone="235" ; Sets Timezone 235=Japan OemSkipWelcome=1 ; Used to skip welcome screens in GUI setup ; ProfilesDir="" ; Allows to change default location of profiles AutoLogon="Yes" ; Indicates that system should autologon after reboot AutoLogonCount=2 ; Number of times to auto logon AdminPassword=xxxx ; Local administrator password ; ProfilesDir = "%SYSTEMROOT%\Profiles" [Identification] JoinDomain=DOMAIN ; MachineObjectOU= "OU=Workstations, dc=domain, dc=co, dc=jp" DomainAdmin=DOMAIN\Administrator DomainAdminPassword=xxxx [UserData] ComputerName=SetupTest01 FullName="Department" OrgName="Company" ProductID=.... [Display] BitsPerPel=16 ; Number of colors in display Xresolution=1024 ; X resolution typically 1024 YResolution=768 ; Y resolution typically 768 Vrefresh=60 ; Vertical refresh rate [OEMBootFiles] ; This section is used to specify custom HALs, and also maps to the Mass Storage Device section [OsChooser] ; Used by RIS Clients Only [TapiLocation] AreaCode=03 ; Area Code for modem CountryCode=81 ; Country code for modem 1=USA Dialing=Tone ; Indicates tone or pulse dialing for modem LongDistanceAccess=0 ; Specifies number to dial for outside line [Shell] DefaultStartPanelOff=Yes ; No = use XP start panel, Yes= Use classic windows with icons on desktop DefaultThemesOff=Yes ; No means use XP Themes Yes means us Windows Classic themes ;CustomDefaultThemeFile=c:\winnt\Resources\Themes\Mytheme.theme; Used to specify a different default theme. Use to set Screen Saver and wallpaper [SystemFileProtection] ;SFCDllCacheDir=%SYSTEMROOT%\%WINDIR%\System32\Dllcache; Location of folder used by Windows File Protection ;SFCShowProgress=1 ; Display progress meter during scans ;SFCQuota=0x80 ; Size of DLL Cache in MB [SystemRestore] CheckpointCalendarFrequency=3 ; Number of days for Auto System Checkpoints or restore points created CheckpointSessionFrequency=10 ; Number of hours after which checkpoint is created MaximumDataStorePercentOfDisk=5 ; Max % of hard disk to user for system restore data store RestorePointLife=30 ; Max Age in days before a restore point is purged from database
  18. Thats a FAQ. rem Hide IE and OE icons (Win2000) rem "%SystemRoot%\system32\rundll32.exe" "%SystemRoot%\system32\shell32.dll",OCInstall HideIE rem "%SystemRoot%\system32\rundll32.exe" "%SystemRoot%\system32\shell32.dll",OCInstall HideOE rem Hide IE and Outlook Express icons (WinXP) "%SystemRoot%\System32\shmgrate.exe" OCInstallHideIE "%SystemRoot%\System32\shmgrate.exe" OCInstallHideOE
  19. This will hide the Startup folder if you have "Do not show hidden iles and folders" selected in Explorer. attrib +H "%UserProfile%\Start Menu\Programs\Startup"
  20. This will install all hotfixes in the Update folder on your CD. @echo off && Mode 60,12 && Color f2 FOR %%i IN ( "\Update\*.exe" ) DO ( ECHO Installing hotfix %%~ni %%i /O /U /N /Z )
  21. To clarify, the following options in winnt.sif simply prevent the creation of shortcuts to Internet Explorer and Outlook Express. The apps are installed, but shortcuts are not created. IEAccess=Off; Disables visible entry points (shortcuts) for IE OEAccess=off; Turn off Outlook Express icons It is also possible to turn shortcuts on and off after installation with the following commands. rem Show IE and hide OE icons (Win2000) "%SystemRoot%\system32\rundll32.exe" "%SystemRoot%\system32\shell32.dll",OCInstall ShowIE "%SystemRoot%\system32\rundll32.exe" "%SystemRoot%\system32\shell32.dll",OCInstall HideOE rem Show IE and hide Outlook Express icons (WinXP) "%SystemRoot%\System32\shmgrate.exe" OCInstallShowIE "%SystemRoot%\System32\shmgrate.exe" OCInstallHideOE
  22. cmdlines.txt is processed automatically if you have the following lines in your winnt.sif [unattended] OemPreinstall=Yes UnattendSwitch="yes"
  23. As JBM says, use the Components section of Winnt.sif [Components] AccessOpt = On; accessibility wizard CharMap = On; enables insertion of symbols and characters into documents Chat = On; chat client DeskPaper =Off; desktop wallpaper Dialer = Off; phone dialer Fax=Off ; Fax components fp_extensions=Off; Front Pager Extensions freecell = off; freecell game hearts=off; hearts game hypertrm = On; hyperterm IEAccess=Off; Disables visible entry points (shortcuts) for IE OEAccess=off; Turn off Outlook Express icons media_clips = off; Sample Sounds Media_Utopia = off; No utopia sound scheme minesweeper = off; game mousepoint = off; mouse pointers Mplay = on; Windows media player msnexplr=off; Disable install of MSN Explorer MsWordPad = On; Word Pad ObjectPkg = Off; object packager Paint = On; MS Paint pinball = off; game rec = off ; sound recorder reminst = off; remote installation services solitaire = off; Solitaire game spider=off; spider game Templates = Off; document templates TerminalServer=off; Installs Terminal Services on SERVERs only vol = on ; volume control Wms = Off; windows media technologies components zonegames=off; Installs MS Game Zone internet games
  24. cmdlines.txt in your $oem$ directory. The first line of this file must be [COMMANDS] [COMMANDS] "REGEDIT /S HKCU.reg" "REGEDIT /S SetExplorer.reg" "REGEDIT /S SetQuicklaunch.reg" "InstallApps.cmd"
  25. With Java 1.5.0 out now, you have to change the registry key [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_01]

  • Create New...