Jump to content

vishyc88

Member
  • Posts

    22
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Posts posted by vishyc88

  1. The message you get from CPU-Z is because the architecture for the EXE does not match that of the PE you have built.

    Here is one example of how to get it from AutoIT:

    That was lovely Tripredacus. AutoIT solved the problem and your script worked like charm. I'll also attach a script for comprehensive information about your machine.

    $objWMIService = objget("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")$colSettings = $objWMIService.ExecQuery("Select * from Win32_OperatingSystem")$colMemory = $objWMIService.ExecQuery("Select * from Win32_ComputerSystem")$colCPU = $objWMIService.ExecQuery("Select * from CIM_Processor")$colVideoinfo = $objWMIService.ExecQuery("Select * from Win32_VideoController")$colSound = $objWMIService.ExecQuery("Select * from Win32_SoundDevice")$colMouse = $objWMIService.ExecQuery("Select * from Win32_PointingDevice")$colMonitor = $objWMIService.ExecQuery("Select * from Win32_DesktopMonitor")$colNIC = $objWMIservice.ExecQuery("Select * from Win32_NetworkAdapter WHERE Netconnectionstatus = 2")Dim $pcinfoFor $object in $colCPU	$PcInfo = $pcinfo & StringStripWS($object.Name,1) & @CRLFNextFor $objOperatingSystem in $colSettings    $PcInfo = $PcInfo & $objOperatingSystem.Caption & " Build " & $objOperatingSystem.BuildNumber & " Servicepack " & $objOperatingSystem.ServicePackMajorVersion & "." & $objOperatingSystem.ServicePackMinorVersion & @CRLF    $PcInfo = $PcInfo & "Available Physical Memory: " & String(Int(Number($objOperatingSystem.FreePhysicalMemory) / 1024)) & " Mb" & @CRLFNextFor $object in $colMemory    $PcInfo = $PcInfo & "Total Physical Memory: " & String(Int(Number($object.TotalPhysicalMemory) / (1024 * 1024))) & " Mb" & @CRLFNext$objFSO = objCreate("Scripting.FileSystemObject")$colDrives = $objFSO.Drives$Opticaldrives = "Opticaldrives : "For $object in $colDrives	If ($object.DriveType == 2) then		$PcInfo = $PcInfo & "Total space on : " & $object.DriveLetter & ":\  (" & $object.VolumeName & ")  = " & String(Round((Number($object.TotalSize) / (1024 * 1024 * 1024)),2)) & " Gb" & @CRLF		$PcInfo = $PcInfo & "Free space on  : " & $object.DriveLetter & ":\  (" & $object.VolumeName & ")  = " & String(Round((Number($object.FreeSpace) / (1024 * 1024 * 1024)),2)) & " Gb" & @CRLF	Else		$Opticaldrives = $Opticaldrives & $object.DriveLetter & ":\ "	EndIfNext$PcInfo = $PcInfo & $Opticaldrives & @CRLFFor $object in $colVideoinfo	$PcInfo = $PcInfo & "Video card: " & $object.Description & @CRLFNextFor $object in $colSound	$PcInfo = $PcInfo & "Sound device: " & $object.Description & @CRLFNextFor $object in $colMouse	$PcInfo = $PcInfo & "Mouse : " & $object.Description & @CRLFNextFor $object in $colMonitor	$PcInfo = $PcInfo & "Monitor : " & $object.Description & @CRLFNextFor $object in $colNIC	$Pcinfo = $pcinfo & $object.name & @CRLFNextClipPut( $pcinfo )MsgBox(48,"PCinfo",$PcInfo)MsgBox( 48, "PCinfo", "Information was copied to clipboard", 5)

    Regards,

    Vishnu

  2. Hi Friends,

    Is there a way to check RAM/physical memory size from within WINPE? The builtin windows diagnosys tools like systeminfo and wmic are missing. I tried running cpu-z standalone from a network share but fails, saying "Subsystem needed to support the image type is not present.". What i need is a simple standalone command line utility to check RAM size. Kindly help.

    Thanks!

  3. Hi everyone,

    I have already inserted the drivers into my winpe 3.0 image which i have built using WAIK. I tried using this boot.wim as my boot image in WDS but ended up getting the command prompt. Is it possible to use the winpe 3.0 boot.wim as the boot image on WDS? Iam running WDS on Windows server 2008 R2.

    Regards

    Vishnu

  4. Hi friends,

    How do i automatically set an administrator password during install time in windows 7 so that i can have a uniform password when deploying for large number of systems. Also i Would want the computer name to be set automatically. I have been trying to use WSIM to do this. But i dunno which option to select on the left pane and also where i should be putting the xml answer file. Im doing a network based installation so putting the xml file in the root installation directory is sufficient?

    Please help!

  5. Hi friends,

    First of all lemme explain what the problem is!

    We have multiple DHCP servers in our network and they should run no matter what! So that becomes a problem because when wpeinit happens it looks for a DHCP server for an IP address and sometimes it listens to the wrong DHCP server and the Windows installation wouldnt start. Now is it possible to set an IP address within 172.16.x.x - 172.16.x.x all the time winpe boots and I also dont want WINPE to obtain IP information froma DHCP server from here on. I know we can set an ip address manually using netsh but doing that will cause IP address conflicts coz we are including this in our startnet.cmd script.

    Please help!

  6. Hi friends,

    Ive googled a lot and i found a program called cmdow.exe which seems to work!

    This is what i have done to hide the command prompt:

    Firstly, while creating the winPE image you gotta put this program which is hardly 40kb into the system32 directory. And then in the startnet.cmd file, type:

    cmdow @ /HID
    wpeinit
    wpeutil initializenetwork
    <cmd>
    <cmd>

    It seems to work but the command prompt do appear for a second or two. Please let me know if it worked for you guys or if you have additional things you can suggest.

    Thanks

  7. Hi friends,

    How do i inject a network driver into winPE so that i can make some of the new systems on my network to work? I face this problem when i try to fire up windows 7 installation from WInPE 3.0 over the network. Now the problem is, because the PE image is unable to provide the required network driver, the installation fails to start!

    This is what i have done so far using WAIK, but I have failed to get it to work:

    >copype.cmd x86 c:\winpe 
    >dism /mount-wim /wimfile:c:\winpe\winpe.wim /index:1 /mountdir:c:\winpe\mount
    >dism /image:c:\winpe\mount /add-driver /driver:c:\drivers
    >dism /unmount-wim /mountdir:c:\winpe\mount /commit
    >copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim
    >oscdimg –n –bc:\winpe\etfsboot.com c:\winpe\iso c:\winpe\winpe.iso

    Is there anything additional i should do ?

    Please help!

  8. Hi friends!

    Im able to start the windows 7 installation using winPE, everything's fine but the time taken to load wpeinit process is too much. It takes atleast 5 - 10 mins just to load wpeinit. Otherwise everything's working like charm. I dont understand.

    Im using winpe 2.0. Will upgrading to winPE 3.0 improve the speed or is there any alternative to speed up the process?

    Please lemme know

  9. Hi friends,

    Is it possible to automatically run a bat script after the winpe environment has been created? Im trying to do this to automatically kickoff of the windows 7 installation from windows pe environment.

    Following are the commands i wish to execute:

    > net use z: \\172.16.255.254\win7 jet-123 /user:student

    >z:\setup.exe

    Please Please help!

    Thanks

×
×
  • Create New...