Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations


About Dahi

Contact Methods

  • Website URL

Dahi's Achievements



  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%

  • Create New...