Jump to content

Dahi

Member
  • Posts

    146
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    country-ZZ

Everything posted by Dahi

  1. A search for "protect" finds at least 6 threads in this forum. Try it! Incroyable has a good suggestion here.
  2. As you noticed, autologin wont work with an encrypted password.
  3. Search this forum for WinPE. Theres a couple of options, all with limitations. One possibility is to boot with a WinPE (or BartPE) CD with an Autoexec batch that runs a diskpart script to partition and format your disk, and starts up your unattended install with winnt32.exe
  4. Or this. @echo off FOR %%XX IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%XX:\WIN51 SET CDROM=%%XX: FOR %%i IN ( "%CDROM%\Hotfixes\*.exe" ) DO ( ECHO Installing hotfix %%~ni %%i /O /U /N /Z )
  5. 1. "C" will be the drive letter of the last drive it finds with a file called WIN51 in the root folder. The FOR command makes the "C" loop through all letters from D to Z to look for the WIN51 file. 2. All WinXP install CDs should have a file called WIN51 in the root folder. 3. Thats fine. It doesnt matter what the WIN51 file contains.
  6. Put your username in a file called username.txt in your My Documents folder. @echo off set TAGFILE=username.txt FOR %%D IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO ( IF EXIST %%D:\NUL ( echo Checking %%D: pushd "%%D:\" FOR /F "USEBACKQ DELIMS==" %%I IN (`DIR /S /B %TAGFILE%`) DO ( echo Tagfile: %%I for /F "usebackq delims==" %%J in ( "%%I" ) do ( echo Username: "%%J" echo Directory: %%~dI%%~pI ) ) popd ) ) pause
  7. Use FOR to detect the WIN51 file in your CD and set the CDROM variable to the drive letter. Its explained in the advanced section of the guide. cmdow @ /HID @echo off FOR %%C IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%C:\WIN51 SET CDROM=%%C: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f REG ADD %KEY%\005 /V 1 /D "%CDROM%\install\AdobeReader6\setup.exe /qn" /f REG ADD %KEY%\040 /VE /D "MSN Messenger 7.0" /f REG ADD %KEY%\040 /V 1 /D "%CDROM%\install\msn7\msn.exe /qn" /f REG ADD %KEY%\045 /VE /D "Nero Burning ROM v6.3.1.23" /f REG ADD %KEY%\045 /V 1 /D "REGEDIT /S %CDROM%\install\nero\nero.reg" /f REG ADD %KEY%\045 /V 2 /D "%CDROM%\Nero\Nero63123.exe /silent /noreboot" /f
  8. 1. Nope. You could put the username in the tagfile and retrieve it with a FOR command. 2. Pushd changes to the specified directory. Popd returns to the original directory. Every pushd needs a corresponding popd. 3. NUL was required in older versions of MSDOS. It looks like its not required in WinXP batch files. 4. Usebackq changes the FOR command to process strings in back-quotes as commands (like Unix). Delims== sets the delimiter to = so that filenames with spaces are not broken into words by default. Type FOR /? in a command prompt window for more info.
  9. Need more info. Did you try a search for ntkrnlmp.exe ? Other people have had problems with this file before, usually after hacking it.
  10. Strange. Does the file bootfix.bin exist in your i386 directory?
  11. Might be a mistake in your WPI config.js Check for extra or missing quote marks.
  12. To get you started, this batch will find all tagfiles on any drive. For your homework, just add the registry correction bit, select a suitable tagfile, and youre done @echo off set TAGFILE=desktop.ini FOR %%D IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO ( IF EXIST %%D:\NUL ( echo Checking %%D: pushd "%%D:\" FOR /F "USEBACKQ DELIMS==" %%I IN (`DIR /S /B /a:h %TAGFILE%`) DO ( echo Found tagfile "%%I" ) popd ) ) pause
  13. After formatting your hard disk, copy the i386 folder, then run winnt32.exe or winnt.exe Use winnt.exe if you boot from a DOS or Win98 floppy. Winnt32.exe only works from WinXP or if you boot from a WinPE or BartBE CD. winnt32.exe /unattend1:C:\local\unattend.txt /s:c:\local\source\i386 /udf:%computername%,Z:\Control\unique.udb /syspart:c: /tempdrive:c: /debug4:c:\local\debug.log /noreboot /copysource:lang /dudisable
  14. Try with the -SMS option. setup.exe -s -SMS -f1setup.iss -f2c:\notes5.log
  15. line 1 of the inf-file \UNA2\winnt.sif is fault.What is UNA2? Are you installing with winnt.exe? Sometimes re-creating the winnt.sif fixes problems like yours. ";SetupMgrTag" is not required in winnt.sif files.
  16. digitalsr2, you havent described what you'd like to do. If you simply want to specify the computername and network settings for each PC then the UDF file method mentioned near the start of this thread will do what you need with 1 winnt.sif, 1 .udf file, and 1 UA CD or network install source. Search for "winnt32 udf" for more info.
  17. The quotes in your MsnMsgs.msi line are causing the problem. You need to put backslashes in front of each quote inside the REG command. Try this: cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\005 /VE /D "MSN Messenger 7" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\MSN\MsnMsgs.msi ADDEXPLORERTOOLBAR = \"\" SETSEARCHENGINE = \"\" SETHOMEPAGE = \"\" /QB" /f
  18. It sounds like a problem with one of your reg tweaks. Search your tweaks for HKCR or HKEY_CLASSES_ROOT and look for problems or post them here.
  19. Have you tried DomainAdmin=domainname/XXxxxxx ?
  20. I've never seen that error - I dont use USMT very often. Are your users members of a domain? USMT may not work with Workgroup users. I use the following command line options %USMTCMD%\scanstate.exe "%USMTPATH%" /i "%CFGPATH%\sysfiles.inf" /i "%CFGPATH%\Migapp.inf" /i "%CFGPATH%\Migsys.inf" /i "%CFGPATH%\miguser.inf" /i "%CFGPATH%\UserData.inf" /l "%USMTPATH%\scanlog.txt" /v 7 /x /s /f /o /q
  21. Post your cmdlines.txt Use RD or RMDIR with CMD /C to delete a folder. cmd3[pn]=['cmd /c RD /q /s "%AllUsersProfile%\\Start Menu\\Programs\\7-Zip"']
  22. When you right-click Nero.exe and select Properties, do you see an "Unblock" button? That should turn off the message.
  23. You can do it with autorun.inf and a batch file. You wont need winnt.sif, its only used by OS installs.
×
×
  • Create New...