Jump to content

vishyc88

Member
  • Posts

    22
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Everything posted by vishyc88

  1. 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, Is it possible to customize the Windows 7 SKU edition list during the initial phase of the installtion where we get to select the Editon of choice like Ultimate, Home Premium, Home starter and so on? What i plan to have is only Ultimate and home Premium as the 2 options available to choose from. Is it possible? Please help.
  5. 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!
  6. Well, my File server is 172.16.255.254/16. So I would want all the systems to be in the range 172.16.0.1 - 172.16.255.253 so that they are in the same subnet. And i dont understand onething, How is the default subnet mask 255.240.0.0? Can you please explain?!
  7. Topics Merged Hi friends, Can someone help me out with a Batch script which will help set an ip address randomly from the following: IP Range: 172.16.x.x - 172.16.x.x Subnet mask: 255.255.0.0 Please help!
  8. That seems like a good point but Im not the administrator of the other DHCP servers. Allen
  9. 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!
  10. 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
  11. But when I use the "/drivers" option, It tells me that its adding drivers. I thought dism is capable of adding multiple drivers from a directory! And i even read about this is in Technet. Ok Let me me just try out your suggestion Trip.
  12. Hi friends.. Is it possible to hide the command prompt in winpe so that i can hide the commands in the startnet.cmd file which gets executed automatically? Please help
  13. hi friends..its not working..tried everything.
  14. Thanks for the reply echo! The /Recurse wouldnt make any difference here because there are no subdirectories! What i have done is, Ive extracted the files from the EXE setup file from Intel into a folder and i believe it contains all the necessary inf, sys files etc. So i reckon its something else!?!
  15. 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!
  16. 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
  17. Hi ...im back! Im able to start the installation, everything's fine but the time taken to load wpeinit 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? Please lemme know
  18. Hi, I am not able to find the winpeshl.ini file in the image. where is it located? Please let me know Thanks
  19. 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...