Jump to content

cluberti

Patron
  • Posts

    11,045
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    country-ZZ

Everything posted by cluberti

  1. Disable the firewalls on both machines, and I'd bet it starts working. You'll need to manually "punch holes" in each firewall to support whatever it is you need to be accessing with regards to the game server. As to the "net send" command, you need to make sure that the messenger service is running on BOTH computers, and that the messenger service port is also open on both machines' firewalls.
  2. You can actually remove it from the installation process using nLite (or another app), but otherwise Windows will install Outlook Express. However, even though the files are on the hard disk after Windows installation finishes, you can hide it by including OEAccess = NO in the [Components] section of your winnt.sif file.
  3. You might consider putting WinPE (or bartPE) on the USB key to kick off the installations - that might be a better road to take than installing directly from the USB key. From the PE you could format the hard disk(s), copy the files to the disk, and start the installation using your unattended file.
  4. Even when using riprep, if you delete the flat image you'll break riprep (due to the SIS service) - a riprep'ed image still copies it's files down using the flat files (well, almost always). You will most likely have to go into the properties of your server's object in AD and add your new flat image file again, and hope that your riprep images start working again.
  5. This can be done with some simple vb script: Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion" strEntryName1 = "RegisteredOwner" strEntryName2 = "RegisteredOrganization" strValue1 = "User" strValue2 = "Organization" objReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strEntryName1,strValue1 objReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strEntryName2,strValue2
  6. No problem - glad to hear everything's working fine. And now you'll know the next time a box "seems slow" what to look for - the darned A/V .
  7. If he has an MSDN subscription, he CAN download an Operating System from Microsoft. However, he should've also been able to download a key .
  8. You'd need a BIOS that is capable of using the USB key as a boot device - I know this is common in newer machines, but not quite sure how widespread this is yet. However, if your BIOS supports USB booting, it is possible: http://www.aaltonen.us/archive/2004/03/01/...b-key-addendum/
  9. That specific error can occur if you have IE configured to use a proxy - if so, either remove the proxy or add an exception to your WPAD or proxy config to allow the update service to connect directly to your WSUS server.
  10. Put much better than I care to even attempt : http://www.microsoft.com/technet/scriptcen...04/hey1015.mspx
  11. SP4 and higher can boot off of a volume larger than 7.8GB.
  12. http://support.microsoft.com/?kbid=555453
  13. You need to make sure that your IP range for the student PC's is actually listed as a subnet in your AD Site - otherwise, the RIS server will think this is a "remote" site and limit the number of concurrent connections from IP addresses in this range.
  14. I know antivirus software is crucial in today's world, but running A/V software on a server can be a bad idea, depending on what it's actually doing. Rule of thumb - if the server is using the hard disk for server operations (ie database, file, email, RIS), do NOT install antivirus if at all possible. If you absolutely HAVE to install antivirus, do NOT run it in realtime. Good to hear that disabling the A/V solved your problem (it usually does ).
  15. Your antivirus software should not be configured to run real-time on servers running the SIS service, because the filter drivers installed by the A/V software touch every file accessed by the system (just run filemon for a minute on your server and see just how many entries are caused by your A/V software - likely 50% or more). First things first - remove the A/V software from the server. Second, stop the SIS service and wait for the box to return to normal, performance-wise. Third, restart the SIS service, and let it do it's thing and rebuild it's indexes. I wouldn't recommend reinstalling the A/V software on the box, either, or this sort of scenario is likely to play out again at a later time. Configure another box on the network to scan this one remotely on a schedule, but installing a filter driver on a server who's files change frequently (ie database server, RIS, file server, email server - etc...) is just asking for a performance issue sooner or later. And disabling the A/V doesn't remove the filter driver, so even if it's not actively scanning or monitoring, it's still accessing every file operation on the system...
  16. Get a netmon trace from a client experiencing this issue, as this issue is likely with the client connecting to DFS itself (as you've seen with performance connecting directly to the UNC share). One question - Have you uninstalled the Antivirus software on both the client and server to make sure that the file system filter driver (installed by all Windows antivirus software applications on 32-bit Windows) isn't the culprit? We see this at least 50% of the time with DFS and performance issues...
  17. The GUI portion of Setup runs at 640x480, because your drivers aren't fully installed yet. Therefore, the setup is using the Microsoft standard VGA driver to display the screen, and by default it runs at 640x480. If you run sysprep or riprep this can be different, but a clean install will run at 640x480 during GUI mode.
  18. Wow - (inner_monologue) gotta stop drinking... (/inner_monologue)
  19. If you've got SP4 installed (or higher), you can boot off of a drive larger than 4GB. However, it must be NTFS, and you'll have to resize it using a third party tool like PartitionMagic. If the drive is NTFS, you can resize it to fit the whole drive via the third party tool, and it'll work.
  20. Yes, it's a one-time fee and it's approximately $500, if things haven't changed in a few years. And to jbm, that's the funniest thing I've heard today (not sure why, but it's just funny ). As previous users have stated, using the Corporate versions of XP don't require activation at all (and probably won't require you to purchase 1,000 copies either). Technically, however, these are supposed to be given only to customers with an SA agreement, so having one at home will probably require you to get a copy from your employer, or download illegally. I don't suggest the latter, and the former is probably out for most people. However, if you are going to spend money and you are a developer, getting an MSDN subscription will give you copies of XP and 2003 (and Vista / Longhorn when they come out) that don't have the internet activation limitation, and don't require activation for 60 days - since you're reinstalling every 30 days or so, you should never have to activate . Unfortunately an MSDN subscription will cost you money year over year, but you do get more than just OS CDs/DVDs and licenses with it. Just a thought.
  21. I do this by placing a .cmd file in $OEM$\$1\TEMP called "unattend.cmd" that is called from [setupParams] in my WINNT.SIF file, and it simply adds some RunOnce registry entries. Thes entries install applications, then run a .cmd file at the end before rebooting that imports registry settings and copies over shortcuts to the All Users desktop and start menu. My WINNT.SIF looks like so: [Data] AutomaticUpdates = YES AutoPartition = 0 MsDosInitiated = 0 UnattendedInstall = Yes OemDrivers = OemInfFiles [Unattended] Unattendmode = FullUnattended UnattendSwitch = YES OemPreinstall = YES OemPnPDriversPath = drivers\audio;drivers\chipset;drivers\misc\wireless;drivers\modem;drivers\network;drivers\RAID;drivers\touchpad;drivers\video OemSkipEULA = YES TargetPath = WINDOWS Filesystem = ConvertNTFS DUDisable = YES Hibernation = NO WaitForReboot = NO NoWaitAfterTextMode = 1 NoWaitAfterGUIMode = 1 DriverSigningPolicy = Ignore NonDriverSigningPolicy = Ignore [OemInfFiles] OemDriverFlags = 1 OemDriverPathName = "%SystemRoot%\nldrv" OemInfName = "hpt3xx.inf" [GuiUnattended] TimeZone = 035 AdminPassword = * EncryptedAdminPassword = NO OemSkipWelcome = 1 OEMSkipRegional = 1 AutoLogon = YES AutoLogonCount = 3 [SetupParams] UserExecute=%systemdrive%\temp\unattend.cmd [UserData] FullName = USER OrgName = ORG ComputerName = * ProductKey = xxxxx-xxxxx-xxxxx-xxxxx [Display] BitsPerPel = 32 Xresolution = 1024 YResolution = 768 [Identification] JoinWorkgroup = WORKGROUP [Networking] InstallDefaultComponents = Yes [NetOptionalComponents] Beacon = 0 [Components] Accessopt = Off CertSrv = Off CertSrv_Client = Off CertSrv_Server = Off Chat = Off Deskpaper = Off Dialer = Off Fax = Off Fp_extensions = Off FP_Vdir_Deploy = Off Freecell = Off Hearts = Off IIS_Common = Off IIS_Doc = Off IIS_FTP = Off IIS_HTMLa = Off IIS_Inetmgr = Off IIS_NNTP = Off IIS_NNTP_Docs = Off IIS_Pwmgr = Off IIS_SMTP = Off IIS_SMTP_Docs = Off IIS_WWW = Off IIS_WWW_Vdir_Printers = Off IIS_WWW_Vdir_TerminalServices = Off IISDbg = Off Indexsrv_system = Off LicenseServer = Off Media_utopia = Off Minesweeper = Off Mousepoint = Off Msmsgs = Off MSMQ_ADIntegrated = Off MSMQ_Core = Off MSMQ_HTTPSupport = Off MSMQ_LocalStorage = Off MSMQ_MQDSService = Off MSMQ_RoutingSupport = Off MSMQ_TriggersService = Off Msnexplr = Off Netoc = Off OEAccess = Off Pinball = Off Solitaire = Off Spider = Off WMAccess = Off zonegames = Off [PCHealth] ER_Display_UI = 0 ER_Enable_Applications = None ER_Enable_Kernel_Error = 0 ER_Enable_Reporting = 0 ER_Enable_Windows_Components = 0 ER_Force_Queue_Mode = 0 ER_Include_MSApps = 0 ER_Include_Shutdown_Errs = 0 [Shell] DefaultStartPanelOff = YES DefaultThemesOff = YES [SystemFileProtection] SFCQuota = 0 [SystemRestore] MaximumDataStorePercentOfDisk = 7 RestorePointLife = 7 [Branding] BrandIEUsingUnattended = Yes [URL] Home_Page = http://www.google.com Search_Page = http://www.google.com/ie_rsearch.html My unattend.cmd file looks like so: :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// $OEM$\$1\TEMP on CD is copied to %systemdrive%\temp, so switch into that first. %systemdrive% cd\temp :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Copy custom default user profile. Load some HKLM settings by merging shell.reg into registry. :// Since at this point, no profiles have been created yet, making these changes to Default User means Administrator, and :// any future users that are created, will get these settings. attrib -h "C:\Documents and Settings\Default User" attrib -h -r "C:\Documents and Settings\Default User\Application Data" attrib -h "C:\Documents and Settings\Default User\ntuser.dat" xcopy "%systemdrive%\TEMP\profile\Quick Launch" "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" /s/i/q copy /y "%systemdrive%\TEMP\profile\Internet Explorer.lnk" "C:\Documents and Settings\All Users\Start Menu" copy /y "%systemdrive%\TEMP\profile\Windows Explorer.lnk" "C:\Documents and Settings\All Users\Start Menu" copy /y %systemdrive%\TEMP\profile\ntuser.dat "C:\Documents and Settings\Default User" copy /y "%systemdrive%\TEMP\profile\Task Manager.lnk" "C:\Documents and Settings\Default User\Start Menu\Programs\Startup" copy /y "C:\Documents and Settings\All Users\Start Menu\Windows Update.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools" attrib +h "C:\Documents and Settings\Default User" attrib +h +r "C:\Documents and Settings\Default User\Application Data" attrib +h "C:\Documents and Settings\Default User\ntuser.dat" %windir%\regedit /s shell.reg %windir%\regedit /s tweaks.reg :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Copy Winzip to \Program Files\Winzip folder. xcopy %systemdrive%\TEMP\winzip %systemdrive%\progra~1\winzip /i/q :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Set RunOnceEx Goo to install applications after the reboot. SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Windows XP Support Tools" /f REG ADD %KEY%\001 /V 1 /D "%systemdrive%\TEMP\suptools\suptools.msi /qn" /f REG ADD %KEY%\001 /V 2 /D "%systemdrive%\TEMP\rktools\rktools.msi /qn" /f REG ADD %KEY%\001 /V 3 /D "%systemdrive%\TEMP\adminpak\adminpak.msi /qn" /f REG ADD %KEY%\001 /V 4 /D "%systemdrive%\TEMP\gpmc\gpmc.msi /qn" /f REG ADD %KEY%\001 /V 5 /D "%systemdrive%\TEMP\bootvis\bootvis.msi TRANSFORMS=%systemdrive%\TEMP\bootvis\bootvis.mst /qn" /f REG ADD %KEY%\001 /V 6 /D "%systemdrive%\TEMP\pstools\pstools.exe /verysilent /SP-" /f REG ADD %KEY%\001 /V 7 /D "%systemdrive%\TEMP\putty\putty.exe /verysilent /SP-" /f REG ADD %KEY%\001 /V 8 /D "%systemdrive%\TEMP\regclean\regclean.exe /verysilent /SP-" /f REG ADD %KEY%\005 /VE /D "Windows XP Updates" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\TEMP\jrnlvwr\jrnlvwr.msi /qn" /f REG ADD %KEY%\005 /V 2 /D "%systemdrive%\TEMP\hotfix\HMTCDWizard_enu.exe /qn" /f REG ADD %KEY%\010 /VE /D "Windows XP Messaging Components" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\TEMP\winmess\messenger.msi /qn" /f REG ADD %KEY%\010 /V 2 /D "%systemdrive%\TEMP\winmess\communicator.msi /qn" /f REG ADD %KEY%\015 /VE /D "Windows XP PowerToys" /f REG ADD %KEY%\015 /V 1 /D "%systemdrive%\TEMP\xppower\deskman.exe /v/qn" /f REG ADD %KEY%\015 /V 2 /D "%systemdrive%\TEMP\xppower\taskstch.exe /v/qn" /f REG ADD %KEY%\020 /VE /D "BGInfo" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\TEMP\bginfo\bginfo.msi /qn" /f REG ADD %KEY%\025 /VE /D "Diskeeper" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\TEMP\dskeeper\dskeeper.msi /qn" /f REG ADD %KEY%\030 /VE /D "SmartFTP" /f REG ADD %KEY%\030 /V 1 /D "%systemdrive%\TEMP\smartftp\smartftp.msi /qn" /f REG ADD %KEY%\035 /VE /D "WinZIP" /f REG ADD %KEY%\035 /V 1 /D "%systemdrive%\progra~1\winzip\winzip32.exe /noqp /autoinstall" /f REG ADD %KEY%\040 /VE /D "WinRAR" /f REG ADD %KEY%\040 /V 1 /D "%systemdrive%\TEMP\winrar\winrar.msi /qn" /f REG ADD %KEY%\045 /VE /D "Adobe Acrobat 7" /f REG ADD %KEY%\045 /V 1 /D "\"%systemdrive%\TEMP\adobe\Adobe Reader 7.0.msi\" /qn" /f REG ADD %KEY%\050 /VE /D ".Net Framework 1.1" /f REG ADD %KEY%\050 /V 1 /D "%systemdrive%\TEMP\dotnetfx\dotnetfx.exe /q:a /c:\"install /l /q\"" /f REG ADD %KEY%\050 /V 2 /D "%systemdrive%\TEMP\dotnetfx\867460.exe /q" /f REG ADD %KEY%\050 /V 3 /D "%systemdrive%\TEMP\dotnetfx\886903.exe /q" /f REG ADD %KEY%\055 /VE /D "Windows Media Player 10" /f REG ADD %KEY%\055 /V 1 /D "%systemdrive%\TEMP\wmp\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f REG ADD %KEY%\055 /V 2 /D "%systemdrive%\TEMP\wmp\wmcsetup.exe /q" /f REG ADD %KEY%\075 /VE /D "Recovery Console" /f REG ADD %KEY%\075 /V 1 /D "%systemdrive%\TEMP\cleanup.cmd" /f :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Change boot.ini timeout to 0. bootcfg /timeout 0 :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Restart. :end shutdown -r -t 0 And my cleanup.cmd file looks like so: @echo off :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Install the Recovery Console. reg query hklm\software\microsoft\windows\currentversion\setup /v sourcepath > source for /f "tokens=3 skip=3" %%1 in (source) do set sourcepath=%%1 xcopy %sourcepath%i386 %systemdrive%\i386 /s/i/q regedit /s %systemdrive%\TEMP\source.reg regedit /s %systemdrive%\TEMP\shell.reg regedit /s %systemdrive%\TEMP\tweaks.reg %systemdrive%\i386\winnt32.exe /cmdcons /unattend /dudisable :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Allow RDP, File and Printer Sharing, ICMP, and Office Communicator through the Windows Firewall. netsh firewall set service type = fileandprint mode = enable scope = all netsh firewall set service type = remotedesktop mode = enable scope = all netsh firewall set icmpsetting type = all mode = enable netsh firewall add allowedprogram "C:\Program Files\Microsoft Office Communicator\communicator.exe" "Microsoft Office Communicator 2005" ENABLE :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Move/remove unwanted shortcuts. copy /y "C:\TEMP\Icons\Desktop\*.lnk" "C:\Documents and Settings\All Users\Desktop" copy /y "C:\TEMP\Icons\SMenu\*.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs" md "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\Windows Support Tools" md "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\Windows Resource Kit Tools" xcopy "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Support Tools" "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\Windows Support Tools" /s/i/q xcopy "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Resource Kit Tools" "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\Windows Resource Kit Tools" /s/i/q copy "C:\Documents and Settings\All Users\Start Menu\Programs\SmartFTP\SmartFTP.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Accessories" copy /y "C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft Office Communicator 2005.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Accessories" copy /y "C:\Documents and Settings\All Users\Start Menu\Programs\Winzip\WinZip 9.0 SR-1.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Accessories" copy "C:\Documents and Settings\All Users\Start Menu\Programs\Executive Software Diskeeper.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools" del c:\docume~1\alluse~1\startm~1\setpro~1.lnk del "C:\Documents and Settings\All Users\Start Menu\WinZip.lnk" del "C:\Documents and Settings\All Users\Desktop\WinZip.lnk" del "C:\Documents and Settings\All Users\Start Menu\Activate Windows.lnk" del "C:\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk" del "C:\Documents and Settings\All Users\Desktop\Adobe Reader 7.0.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Adobe Reader 7.0.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Adobe Reader Speed Launch.lnk" del "C:\Documents and Settings\All Users\Start Menu\Windows Update.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Journal Viewer.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Media Connect.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Movie Maker.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Executive Software Diskeeper.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Messenger.lnk" del "C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft Office Communicator 2005.lnk" del /Q "C:\Documents and Settings\All Users\Start Menu\Programs\SmartFTP\*.*" del /Q "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Support Tools\*.*" del /Q "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Resource Kit Tools\*.*" del /Q "C:\Documents and Settings\All Users\Start Menu\Programs\Winzip\*.*" del /Q "C:\Documents and Settings\Administrator\Start Menu\Programs\PowerToys for Windows XP\*.*" rd "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Support Tools" rd "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Resource Kit Tools" rd "C:\Documents and Settings\All Users\Start Menu\Programs\Winzip" rd "C:\Documents and Settings\All Users\Start Menu\Programs\SmartFTP" rd "C:\Documents and Settings\Administrator\Start Menu\Programs\PowerToys for Windows XP" del "C:\Documents and Settings\Administrator\Start Menu\Programs\Internet Explorer.lnk" del "C:\Documents and Settings\Administrator\Start Menu\Programs\Outlook Express.lnk" del "C:\Documents and Settings\Administrator\Start Menu\Programs\Remote Assistance.lnk" del "C:\Documents and Settings\Administrator\Start Menu\Programs\Windows Media Player.lnk" del "C:\Documents and Settings\Default User\Start Menu\Programs\Remote Assistance.lnk" del "C:\Documents and Settings\Default User\Start Menu\Programs\Windows Media Player.lnk" cscript %systemdrive%\TEMP\desktop.vbs label c:WINXP :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Change default scripting engine from Wscript to Cscript. cscript //h:cscript //s :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Set the machinetype as a registry key, then query it to set the %machinetype% variable. :// Install all hardware-specific software later, based on the returned %machinetype%. cscript %systemdrive%\TEMP\machine.vbs reg query hklm\software\microsoft\windows\currentversion\setup /v machinetype > machinetype for /f "tokens=3 skip=3" %%1 in (machinetype) do set machinetype=%% IF "MACHINETYPE"=="Other" GOTO DESKTOP IF "MACHINETYPE"=="Unknown" GOTO DESKTOP IF "MACHINETYPE"=="Desktop" GOTO DESKTOP IF "MACHINETYPE"=="Low_Profile_Desktop" GOTO DESKTOP IF "MACHINETYPE"=="Pizza_Box" GOTO DESKTOP IF "MACHINETYPE"=="Mini_Tower" GOTO DESKTOP IF "MACHINETYPE"=="Tower" GOTO DESKTOP IF "MACHINETYPE"=="Portable" GOTO LAPTOP IF "MACHINETYPE"=="Laptop" GOTO LAPTOP IF "MACHINETYPE"=="Notebook" GOTO LAPTOP IF "MACHINETYPE"=="Handheld" GOTO LAPTOP IF "MACHINETYPE"=="Docking_Station" GOTO LAPTOP IF "MACHINETYPE"=="All-in-One" GOTO DESKTOP IF "MACHINETYPE"=="Sub-Notebook" GOTO LAPTOP IF "MACHINETYPE"=="Space_Saving" GOTO DESKTOP IF "MACHINETYPE"=="Lunch_Box" GOTO DESKTOP IF "MACHINETYPE"=="Main_System_Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Expansion_Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Sub-Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Bus_Expansion_Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Peripheral_Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Storage_Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Rack_Mount_Chassis" GOTO DESKTOP IF "MACHINETYPE"=="Sealed-Case_PC" GOTO DESKTOP :DESKTOP :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Nothing specific for this installation - yet. goto XIT :LAPTOP :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Nothing specific for this installation - yet. goto XIT :XIT :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Delete Run key used to execute this script, add RunOnce key to delete temp dir on startup. reg delete HKLM\Software\Microsoft\Unattend /f reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v unattend /f reg add "hklm\software\microsoft\windows nt\currentversion\winlogon" /v AutoAdminLogon /t REG_SZ /d 0 /f reg add "hklm\software\microsoft\windows\currentversion\runonce" /v cleanup /t REG_SZ /d "cmd /c rd /s/q %systemdrive%\temp" :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Change boot.ini timeout to 3. bootcfg /timeout 3 :// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :// :// Restart. :end shutdown -r -t 0
  22. There's no way to slipstream service packs with NT4. You could manually replace system files from the service pack's file list, but I'm not certain that would be 100% foolproof (nor would it be a supported configuration from Microsoft). However, it may be worth trying just for kicks .
  23. You should be able to use the netsh command to add the .exe and it's exceptions to the firewall, and the runas command in the script should make it work. Use "runas /?" to see all of the options of the runas command.
×
×
  • Create New...