Jump to content

WosWasI

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Austria

Posts posted by WosWasI

  1. Normaly you cant take advantage off much ram!

    The best way i use is for a hdd installed Win7 ... search for a Ram drive they can 8 gb and write a little script they load every time you use the first time a new programm, load from HDD and save it in this ram drive ... start it.

    I use this methode since WinXP 64 and 16gb Ram.

    Possible usefull Methode ... i use Win7PE ... load it from my Windows Home Server ... do the same! In the moment no PC have a HDD in my Home. First start is slow -> PE is not the fastest solution, but if the programms are stored in the Ram ... it extrem Fast. I am every time the first Player on any Egoshooter Maps. All Programms works realy fast.

  2. Big Future Request to handle different Problems!

    I need a function they check if a Registry Key exist! I need it to detect Hardware like USB WWAN Modems for Dell E64xx Notebooks. My solution in the moment looks like this script:

    ' Constants (taken from WinReg.h)

    '

    Const HKEY_CLASSES_ROOT = &H80000000

    Const HKEY_CURRENT_USER = &H80000001

    Const HKEY_LOCAL_MACHINE = &H80000002

    Const HKEY_USERS = &H80000003

    ' Chose computer name, registry tree and key path

    '

    strComputer = "." ' Use . for current machine

    hDefKey = HKEY_LOCAL_MACHINE

    strKeyPath = "SYSTEM\CurrentControlSet\Enum\USB\Vid_413c&Pid_8184" '<- this key exist if the hardware is present!

    ' Connect to registry provider on target machine with current user

    '

    set objShell = WScript.CreateObject("WScript.Shell")

    Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

    ' Try to enum the subkeys of the key path we've chosen. We can't if the key doesn't exist

    '

    If oReg.EnumKey(hDefKey, strKeyPath, arrSubKeys) = 0 Then

    objShell.Run ("setup driver")

    objShell.Run ("setup wwanmanager")

    End If

    The WPI included Hardwaredetection are not enough. Videocard, Modem, NIC, ... are nice ... sometimes i need more hehehe

    Next Future Request!

    I need a function, they edit the Boot.ini to customize the time counter. 30sec are to long ^_^

×
×
  • Create New...