Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


  • Content Count

  • Donations

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jamesagmoore

  1. First, on a "master" pc setup the wireless connection as desired Save the current wireless network config to an xml file: netsh wlan export profile In the unattended scripts, restore the wireless network settings: netsh wlan add profile filename="PUT YOUR FILENAME HERE.xml"
  2. Disable IPv6 in Vista (makes ipconfig more readable): http://www.microsoft.com/technet/community...guy/cg1005.mspx [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters] "DisabledComponents"=dword:000000ff
  3. I use a cut down version of WinRE. By cut down I mean simply using the WinPE image which boots to the command prompt without the recovery programs. You have to download WinPE from the BDD or from the standalone WinPE package. Copy the .WIM file and boot.sdi into a \WinRE\ directory on the HDD of your choice. Edit the script below with your settings. When you boot Vista, press F8 as it boots. If everything has gone well there will be "Repair your installation" as the first option. set drive=D: set file=winre.wim set RAMDISK_OPTIONS={ad6c7bc8-fa0f-11da-8ddf-0013200354d8} set WINPE_GUID={572bcd56-ffa7-11d9-aae0-0007e994107d} bcdedit -create %RAMDISK_OPTIONS% -d "Ramdisk Device Options" -device bcdedit -set %RAMDISK_OPTIONS% ramdisksdidevice partition=%drive% bcdedit -set %RAMDISK_OPTIONS% ramdisksdipath \WinRE\boot.sdi bcdedit -create %WINPE_GUID% -d "Windows Recovery Environment" -application OSLOADER bcdedit -set %WINPE_GUID% device ramdisk=[%drive%]\WinRE\%file%,%RAMDISK_OPTIONS% bcdedit -set %WINPE_GUID% path \windows\system32\boot\winload.exe bcdedit -set %WINPE_GUID% osdevice ramdisk=[%drive%]\WinRE\%file%,%RAMDISK_OPTIONS% bcdedit -set %WINPE_GUID% systemroot \windows bcdedit -set %WINPE_GUID% detecthal yes bcdedit -set %WINPE_GUID% nx optin bcdedit -set %WINPE_GUID% winpe yes bcdedit.exe -set %WINPE_GUID% custom:46000010 yes bcdedit.exe -set {default} recoverysequence %WINPE_GUID% bcdedit.exe -set {default} recoveryenabled yes pause
  4. In my experience you can install with no key. You will get a warning and are then asked which edition of vista to install. Of course entry of a key will be necessary before activating when the 14 day period expires.
  5. I am running Vista RC1 on an ASUS A8N SLI Premium Raid 0 array by using the nvidia beta 2 drivers. http://www.nzone.com/object/nzone_download...betadriver.html The nvidia drivers released a few days ago do not work. The way to do it is like so: 1) Install a basic Windows XP on your c: and boot into it 2) Copy the sources directory of vista into d:\sources 3) run vista's setup.exe 4) When it asks for the drive to install, select load drivers and browse to the nvidia beta 2 drivers. 5) There should be 4 devices in the list. Select ALL the devices in the list 6) continue with the installation the original install will be moved into windows.old and you can delete it.
  6. Try setting the wallpaper as a BMP image (not jpg or any other format), and checking if the drop shadows come back
  7. My version of IE7 beta 3 fails integration because there is no -q switch. In addition there is no /integrate switch. This is the genuine version from MS's site. This is the text in IE7beta3_main.log: 00:00.000: ==================================================================== 00:00.000: Started: 2006/08/06 (Y/M/D) 13:58:54.515 (local) 00:00.000: Time Format in this log: MM:ss.mmm (minutes:seconds.milliseconds) 00:00.000: Command line: e:\c3fcef72bdf640945391a839\update\iesetup.exe -q /integrate:"D:\Win\mrmnvda4" 00:00.000: ERROR: Invalid command line argument: '-q' 00:00.000: INFO: Message to User: Run iesetup.exe /? for usage. Is there a different version that can be integrated? Thanks
  8. Are you referring to Firefox 2 beta 1? Turns out it's nullsoft and the silent mode can be run with /S (must be capital)
  9. You have to run setup.exe with the /guionly switch. It will record the parameters you select in an XML file which can be used for later unattended installations with setup.exe /unattended switch. The setup is based of WIM image, similar to how vista will be.
  10. I also believe it has to be a BMP file not a JPG or other format. Don't know why though
  11. A normal windows program just as a single winmain entry point. A service has many more to handle start/stop/pause/restart/system hibernate etc. from the service control manager. You can't just force a windows executable to behave in this way.
  12. I am trying this from a batch called during Windows XP installation, via cmdlines.txt. I get the error in the event logs: Anyone else installing donnet 2 from cmdlines.txt?
  13. A BIN file contains the data of each sector plus the error correcting codes that are attached to each sector. An ISO contains only the data of the sectors. When an ISO is burned the ECC is recalculated and added to the CD. Because the ECC is included in a BIN it is possible to verify the integrity. That is not possible with an ISO. The decision on which format to use should be based on the likelihood of it being corrupted.
  14. Any way to remove the "Shop for music online"? I find it incredible that an operating system includes this.
  15. Hello I've created a script to change drive letters based on the volume label (from My Computer) or the CD rom device name (which can be seen in device manager). It uses WMI to query to CD drive descriptions and partition labels. So for example I can setup the PC like this: cscript SetDriveLetterFromDescription.vbs //Nologo "HL-DT-ST DVD-ROM GDR8163B" "Y:" cscript SetDriveLetterFromDescription.vbs //Nologo "HL-DT-ST DVDRAM GSA-4163B" "Z:" cscript SetDriveLetterFromDescription.vbs //Nologo "Data" "D:" cscript SetDriveLetterFromDescription.vbs //Nologo "512MB DISK" "U:" cscript SetDriveLetterFromDescription.vbs //Nologo "80Gb USB2 Disk" "P:" following a reboot the drive letters in explorer will change. Shortcomings: 1) No support for multiple installations of same type of CDROM or same volume name in a single PC 2) No neat way of handling removable media (eg, compact flash) 3) No protection from people breaking their Windows install by reassigning the boot or system drive Save the below code in a file named "SetDriveLetterFromDescription.vbs". Take care before running it. Const ComputerName = "." Const HKLM = &H80000002 Set wmiServices = GetObject ( "winmgmts:{impersonationLevel=Impersonate}!//" & ComputerName) if WScript.Arguments.count <> 2 then WScript.Echo "Usage: " & WScript.ScriptName & " Description DriveLetter" WScript.Quit 1 end if SetDriveLetterFromDescription WScript.Arguments(0), WScript.Arguments(1) function SetDriveLetterFromDescription(strDescription,strNewLetter) currentdriveletter = GetDriveLetterFromDescription(strDescription) if currentdriveletter = vbNullString then strMessage = " Unknown description" elseif UCase(currentdriveletter)=UCase(strNewLetter) then strMessage = " Already set" elseif ChangeDrvLetter(currentdriveletter,strNewLetter) then strMessage = " OK" else strMessage = " Failed" end if WScript.Echo strDescription & " " & currentdriveletter & " -> " & strNewLetter & strMessage end function function GetDriveLetterFromDescription(strDescription) Set wmiDiskDrives = wmiServices.ExecQuery("SELECT Caption,Description,DeviceID,Drive FROM Win32_CDROMDrive WHERE Caption =""" & strDescription & """") For Each wmiDiskDrive In wmiDiskDrives GetDriveLetterFromDescription = wmiDiskDrive.Drive exit function next Set wmiDiskDrives = wmiServices.ExecQuery ( "SELECT Caption FROM Win32_LogicalDisk WHERE VolumeName =""" & strDescription & """") For Each wmiDiskDrive In wmiDiskDrives GetDriveLetterFromDescription = wmiDiskDrive.Caption exit function next end function Function ChangeDrvLetter(sSourceDrive, sTargetDrive) bOK = True ' Init value Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & ComputerName & "\root\default:StdRegProv") sKeyPath = "SYSTEM\MountedDevices" sSrc = "\DosDevices\" & UCase(sSourceDrive) iRC = oReg.GetBinaryValue(HKLM, sKeyPath, sSrc, sValue) If iRC = 0 Then sTrg = "\DosDevices\" & UCase(sTargetDrive) oReg.DeleteValue HKLM, sKeyPath, sSrc iRC = oReg.SetBinaryValue(HKLM, sKeyPath, sTrg, sValue) If iRC <> 0 Then bOK = False End If Else bOK = False End If ChangeDrvLetter = bOK End Function
  • Create New...