Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country


Everything posted by gtaylor

  1. Which of the following describes what you are trying to do? Auto login to NDS and NT Auto login to NDS and manual login to NT Auto login to NT and manual Login to NDS Auto login to NT and disable login to NDS Manual login to NDS and NT Novell Documentation: http://www.novell.com/documentation/noclie...ta/a3hfqfm.html http://support.novell.com/docs/Tids/Solutions/10052847.html
  2. You could use a command in the CMDLINES.TXT to delete the folder during the mini-setup phase (post-Sysprep): http://support.microsoft.com/kb/238955
  3. If you don't know exactly where you went wrong you should probably start again. Run through nLite with just the basic options (Windows XP + SP2) and see if you can produce a working unattended setup. Once you have a basic working unattended setup then start adding components and making customisations. Be careful with the more aggressive nlite options particularly the remove components section. The best advice is to make a small number of changes at a time, testing that your unattended setup still works after each change. This makes it much easier to identify and resolve problems with your setup.
  4. The error message you posted indicates a problem with the TXTSETUP.SIF file (found in the I386 folder), not with your WINNT.SIF file. Have you modified your TXTSETUP.SIF file in any way or integrated any Service Packs or Hotfixes? If you haven't modified your TXTSETUP.SIF file then it may have been corrupted while integrating a Service Pack or Hotfix.
  5. If I understand you correctly, your Windows XP setup is automatically formatting your drive using NTFS. You want to format the drives using FAT32. You have a couple of options which allow you to do this: 1. Manually partition the drives during setup. This will cause the installation to pause and prompt you to setup the partitions. You will be limited to a maximum partition size of 32GB using this method. ;Sample from WINNT.SIF [Data] ;Install Windows to the first available partition AutoPartition=0 <---- Set this value to 0 [Unattended] ;Specifies whether to delete all partitions on the first drive of the ;client computer and reformat the drive with the NTFS file system. Repartition=no <---- change this answer to no 2. Install on pre-formatted the drive using the OFORMAT tool. You will need to prepare the drive using FDISK and the OFORMAT tool to partition and format the drive using FAT32. I am not certain of the maximum partition size you can format using the OFORMAT tool. ;Sample from WINNT.SIF [Data] ;Install Windows to the first available partition AutoPartition=1 <--- Set this value to 1 [Unattended] ;Specifies whether to delete all partitions on the first drive of the ;client computer and reformat the drive with the NTFS file system. Repartition=no <---- Make sure this is set to no. ;Specifies whether to convert the primary partition to NTFS or to leave it alone. FileSystem=LeaveAlone <---- Add this line.
  6. You can check the version of Windows on the CD by opening the SETUPP.INI file in the I386 folder and looking at the PID line. PID=XXXXX YYY The first five digits determine the CD type (retail, volume, OEM or upgrade) and the last three digits determine the key type (OEM or Retail). You can Google the PID to determine your CD type. If the first five digits are 55043 then you almost certainly have an upgrade CD.
  7. If you only have one user account and don't have a password specified Windows will log you in automatically. The only workarounds I am aware of is to create password for your account or create a second user account.
  8. As far as I can tell I'm the first to document this particular feature. Here's how I came across this feature: I wanted to create a shortcut on the desktop but couldn't a way to do it using the ProfileItems directive. I read the documentation for ProfileItems on the MSDN site and decided to search for additional names-attributes flags. I came across it when I did a google search for FLG_PROFITEM_CURRENTUSER. Several of the results were to a file called "setupapi.h". Looking through the setupapi.h file I discovered an undocumented ProfileItems flag, FLG_PROFITEM_CSIDL (0x00000008). I knew that the CSIDL values were used to identify special folders so I guessed that this flag could be used to set the location for creation of the shortcut. I still didn't know how to use the flag to set the shortcut location, however after a couple of google searches I found an example of this flag in use. Following these examples I was able to quickly determine how the flag worked and successfully created shortcuts in a variety of locations. I decided to document this technique here to assist anyone else interested in using INF files to create shortcuts for their unattended installs.
  9. Note: This post assumes that you have a working knowledge of INF files, the ProfileItems directive and DIRIDS. Using the ProfileItems information documented on Microsoft's website you can only create shortcuts within the Start Menu folder structure. I have found a poorly documented technique which can be used to create shortcuts in any location using the ProfileItems directive. I haven't seen this documented anywhere and could only find a couple of examples of its usage through Google. The undocumented feature I have uncovered is an additional name-attributes flag for the Name directive of the profile-items-section. Syntax: [profile-items-section] Name=link-name[,name-attributes] Undocumented flag: 0x00000008, dirid (FLG_PROFITEM_CSIDL) Directs setup to create or delete a Start menu item in the location specified by dirid. Use: [profile-items-section] Name=link-name, 0x00000008, dirid Simply substitute the DIRID for the location you want the shortcut in. You can use the SUBDIR directive to place a shortcut into a sub-folder. Using the SUBDIR directive you can create a shortcut almost anywhere. Here is an example of the above flag in use: ;Sample INF file to create a desktop shortcut to the SYSPREP.EXE file [Version] Signature=$CHICAGO$ [DefaultInstall] ProfileItems=AUSysprepDesktopItemAdd [AUSysprepDesktopItemAdd] Name = "Prepare Computer for Imaging", 0x0000008, 16409 CmdLine = 24,"SYSPREP","sysprep.exe -mini -reseal -shutdown -quiet" InfoTip = "Reseals computer before disk imaging" WorkingDir = 24,"SYSPREP" For anyone interested I use a similar technique to remove the shortcut from the desktop: ;Sample INF to remove desktop shortcut to the SYSPREP.EXE file. [Version] Signature=$CHICAGO$ [DefaultInstall] DelFiles=AUSysprepDesktopItemDel [DestinationDirs] AUSysprepDesktopItemDel = 16409 [AUSysprepDesktopItemDel] "Prepare Computer for Imaging.lnk" Further Information: INF ProfileItems Directive http://msdn2.microsoft.com/en-us/library/ms794557.aspx List of available DIRIDS: http://www.msfn.org/board/index.php?showtopic=11440
  10. The problem is caused by Windows detecting different PnP IDs on each computer. The only method that *MIGHT* work is if you can import the registry entries containing the correct PnP IDs into your image. Unfortunately you would need to do this for every hardware variation. The only other solution is to ensure that your hardware is identical in every way (this includes BIOS versions and settings, location of PCI cards even the model of USB mouse you use). If anyone has a better way to get around this problem I would be glad to hear it.
  11. To the best of my knowledge there is no way to prevent US English being installed as an Input Language. What you can do is remove US English registry setting: Your WINNT.SIF file should contain the following Regional Settings: ;The [RegionalSettings] section contains entries for installing regional settings during Setup. [RegionalSettings] ;Specify the language group (1=Western Europe and United States) LanguageGroup=1 ;Specify the Language/Locale to install (0c09=English (Australian)) Language=0c09 You should run the following registry patch from your CMDLINES.TXT file: ;Delkeyboard.reg [HKEY_CURRENT_USER\Keyboard Layout\Preload] "2"=-
  12. The INF file I created should work. Which part doesn't work? Is the INF file copied to your C:\WINDOWS\SYSTEM32 folder? Is the ResetStartMenuOrder key created in the registry? Is the MenuOrder\Start Menu key being deleted from the registry? The name of the INF file must be "ResetStartMenuOrder.inf". Any variation on this and the INF file will not work.
  13. You may be able to achieve the same effect without using the REGPERM utility simply by deleting the MenuOrder key each time the user logs in. set ws = WScript.CreateObject("WScript.Shell") ws.Run ("REG DELETE "&Chr(34)&"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder"&Chr(34)&" /F"),0,1 "REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V AutoOrder /D autoorder.vbs /F" You could also achieve the same effect using an INF file: ;ResetStartMenuOrder.inf ;Simple INF file to reset the order of the items in the Start Menu [Version] Signature=$CHICAGO$ ;Install the ResetStartMenuOrder.inf file [DefaultInstall] AddReg=ResetStartMenuOrder.AddReg CopyFiles=ResetStartMenuOrder.Copyfiles [ResetStartMenuOrder] DelReg=ResetStartMenuOrder.DelReg [ResetStartMenuOrder.AddReg] HKLM,"%Run%",ResetStartMenuOrder,,"%InstallINF% ResetStartMenuOrder 128 %11%\ResetStartMenuOrder.inf" ;Resets the order of the StartMenu by deleting the appropriate registry entry [ResetStartMenuOrder.DelReg] HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu" [SourceDisksNames] 1=%DiskName%,,0 [ResetStartMenuOrder.Copyfiles] ResetStartMenuOrder.inf [SourceDisksFiles] ResetStartMenuOrder.inf=1 [DestinationDirs] ResetStartMenuOrder.Copyfiles=11 [Strings] Diskname = "ResetStartMenuOrder Installation, Disk #1" Run = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" InstallINF = "rundll32 setupapi,InstallHinfSection" Save the code above as ResetStartMenuOrder.inf and copy to your $OEM$ folder. Add the following to your CMDLINES.TXT file: ;Install ResetStartMenuOrder.inf "rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\ResetStartMenuOrder.inf"
  14. Try setting the AutoRestartShell registry entry to 0.
  15. The better way is to use the Run registry key. I modified your example: ;Add entry to Run key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "MyApplication"="C:\Program Files\MyApplication\MyApplication.exe"
  16. If you aren't wanting to run the Windows Shell (explorer.exe) then you can use your emulator software as a shell replacement. To replace the shell you simply change the Shell key in the following registry location: HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon This is probably the best solution if you don't want Windows running in the background.
  17. I haven't experimented with this for a while but I believe that the Run key is executed prior to the desktop appearing. HKCU\Software\Microsoft\Windows\CurrentVersion\Run HKLM\Software\Microsoft\Windows\CurrentVersion\Run
  18. If you have disabled the Indexing Service then there shouldn't be anything indexing your hard disk/s. Perhaps the indexing service wasn't correctly disabled? I just had another thought. What version of Microsoft Office was/is running on your computer. Versions of Office prior to XP had an indexing tool called Findfast which was enabled by default. Perhaps this is what is/was indexing your disk. Which dialog were you waiting 25 seconds for?
  19. I use the following INF file to disable ActiveSetup. Use: rundll32 setupapi,InstallHinfSection DefaultInstall 128 filepath\ActiveSetup.inf ;ActiveSetup.inf [Version] Signature=$CHICAGO$ [DefaultInstall] DelReg=ActiveSetup.Delete ;Disable Active Setup Items [ActiveSetup.Delete] ;Windows Messenger HKLM, "%ActiveSetup%\{5945c046-1e7d-11d1-bc44-00c04fd912be}","Stubpath" ;Internet Explorer 6 HKLM, "%ActiveSetup%\{89820200-ECBD-11cf-8B85-00AA005B4383}","Stubpath" ;Windows Media Player HKLM, "%ActiveSetup%\{6BF52A52-394A-11d3-B153-00C04F79FAA6}","Stubpath" ;Outlook Express HKLM, "%ActiveSetup%\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}","Stubpath" ;Outlook Express HKLM, "%ActiveSetup%\>{881dd1c5-3dcf-431b-b061-f3f88e8be88a}","Stubpath" ;Internet Explorer HKLM, "%ActiveSetup%\>{26923b43-4d38-484f-9b9e-de460746276c}","Stubpath" ;Windows Media Player HKLM, "%ActiveSetup%\>{22d6f312-b0f6-11d0-94ab-0080c74c7e95}","Stubpath" [strings] RunOnce = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" ActiveSetup = "SOFTWARE\Microsoft\Active Setup\Installed Components" I use this INF create/delete the default shortcuts. Use: rundll32 setupapi,InstallHinfSection AddGroups 128 filepath\Shortcuts.inf rundll32 setupapi,InstallHinfSection AddShortcuts 128 filepath\Shortcuts.inf rundll32 setupapi,InstallHinfSection DelShortcuts 128 filepath\Shortcuts.inf I run these from the CMDLines.txt and RunOnceEx to achieve the desired results. ;Shortcuts.inf [Version] Signature=$CHICAGO$ [AddShortcuts] ;Create Start Menu Items ProfileItems=RemoteAssistanceAdd, MovieMakerAdd, WindowsMediaPlayerAdd ProfileItems=InternetExplorerAdd, OutlookExpressAdd, WindowsMessengerAdd ProfileItems=WindowsExplorerAdd, CommandPromptAdd [DelShortcuts] ;Delete Start Menu Items DelFiles=AUStartMenuItemsDel, CUStartMenuItemsDel [AddGroups] ;Create Start Menu Groups ProfileItems=AUUtilitiesGroupAdd, AUInternetGroupAdd ProfileItems=CUUtilitiesGroupAdd, CUInternetGroupAdd [DestinationDirs] AUStartMenuItemsDel = 16406 CUStartMenuItemsDel = 16395 [AUStartMenuItemsDel] "Set program access and defaults.lnk" "Windows Catalog.lnk" "Windows Update.lnk" "Programs\Windows Messenger.lnk" "Programs\MSN Messenger 6.1.lnk" "Programs\Windows Movie Maker.lnk" [CUStartMenuItemsDel] "Programs\Internet Explorer.lnk" "Programs\Outlook Express.lnk" "Programs\Remote Assistance.lnk" "Programs\Windows Media Player.lnk" "Programs\Windows Messenger.lnk" "Programs\Accessories\Command Prompt.lnk" "Programs\Accessories\Windows Explorer.lnk" [AUInternetGroupAdd] Name="The Internet and Email",0x00000004 [AUUtilitiesGroupAdd] Name="Utilities",0x00000004 [CUInternetGroupAdd] Name="The Internet and Email",0x00000005 [CUUtilitiesGroupAdd] Name="Utilities",0x00000005 [InternetExplorerAdd] Name = "Internet Explorer" CmdLine = 16422,"Internet Explorer",IEXPLORE.EXE SubDir = "The Internet and Email" InfoTip = "@%11%\shell32.dll,-22546" DisplayResource = "%11%\shdoclc.dll",880 [OutlookExpressAdd] Name = "Outlook Express" CmdLine = 16422,"Outlook Express",MSIMN.EXE SubDir = "The Internet and Email" InfoTip = "@%11%\shell32.dll,-22565" DisplayResource = "%11%\shell32.dll",22053 [WindowsMessengerAdd] Name = "Windows Messenger" CmdLine = 16422,"Messenger",MSMSGS.EXE SubDir = "The Internet and Email" InfoTip = "Shows whether your friends are online and lets you have online conversations." [RemoteAssistanceAdd] Name = "Remote Assistance" CmdLine = 11,,"RCIMLBY.EXE -LaunchRA" SubDir = "Accessories" IconPath = 11,,RCIMLBY.EXE InfoTip = "@%11%\rcbdyctl.dll,-151" DisplayResource = "%11%\rcbdyctl.dll",152 ;Need to find the correct DisplayResource and Infotip data for this item [MovieMakerAdd] Name = "Windows Movie Maker" CmdLine = 16422, "Movie Maker", moviemk.exe SubDir = "Accessories" InfoTip = "Capture and edit digital media on your computer and then share your saved movies by e-mail, the Internet, recordable CD, or on a DV video tape" [WindowsMediaPlayerAdd] Name = "Windows Media Player" CmdLine = 16422, "Windows Media Player", wmplayer.exe SubDir = "Accessories\Entertainment" InfoTip = "@%17%\unregmp2.exe,-155" DisplayResource = "%17%\unregmp2.exe",4 [WindowsExplorerAdd] Name = "Windows Explorer" CmdLine = 10,,explorer.exe IconPath = 10,,explorer.exe IconIndex = 1 InfoTip = "@%11%\shell32.dll,-22579" DisplayResource = "%11%\shell32.dll",22067 [CommandPromptAdd] Name = "Command Prompt" CmdLine = 11,,CMD.EXE InfoTip = "@%11%\shell32.dll,-22534" DisplayResource = "%11%\shell32.dll",22022
  20. Sounds like what you really want is a multi-boot CD/DVD. Check the multi-boot forum for further information: http://www.msfn.org/board/index.php?showforum=82
  21. To the best of my knowledge unchecking the "Allow Indexing Service to index this disk for fast file searching" checkbox simply sets the "Not Indexed" attribute in the file system (similar to setting the read-only attribute for example). There is no performance benefit from unchecking this checkbox unless the Indexing Service is running. If you are not using the indexing service then the checkbox is irrelevent. If you wanted to waste your time unchecking this box then try the following utility: http://www.febooti.com/products/filetweak/
  22. These settings work fine for me. Perhaps you should post your complete answer file (minus Product Keys and passwords). As mentioned by bacd some of these entries only remove the programs shortcuts, not the actual files.
  23. You haven't really given us a whole lot to go on. What version of Windows XP? (Home or Professional) What type of network (home or corporate, workgroup or domain)? Is your network card being detected correctly during setup? What entries have you made in your answer file to configure the network?
  24. Settings applied to HKU\.Default take effect before a user is logged on. Once a user is logged on it uses the settings in the HKCU key. For example to change the screensaver password you change the following key: [HKEY_USERS\.DEFAULT\Control Panel\Desktop] "SCRNSAVE.EXE"="login.scr" I generally apply all my patches to the HKCU section of the registry.
  25. Check my reply in this thread. Replace the New Zealand country code (1409) with the Australian country code (0c09). http://www.msfn.org/board/index.php?showtopic=39213 Note: If specify Language=0c09 in the [Regional Settings] section of your WINNT.SIF file setup ignores the SystemLocale, Userlocale and InputLocale entries.

  • Create New...