Jump to content

ShrimpBoy

Member
  • Posts

    44
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Posts posted by ShrimpBoy

  1. Hi!

    It almost work...

    I took the Ramdriv.sys provided with BartPE and did the following...

    copy ramdriv.sys to system32\drivers folder

    write ramdriv.reg to System32

    When I boot

    I do the following...

    Regedit /s RAMDriv.reg

    regsvr32 /s %SystemRoot%\System32\netcfgx.dll

    factory -minint

    netcfg -v -winpe

    net start dhcp

    net start nla

    I have the RAMDrive, but got this message while trying to connect to network...:(

    "Your system is low on virtual memory. To ensure that Windows runs properly, increase the size of your virtual memory paging file. For more information, see Help."

    How can I fix this??

    ShrimpyOne

    RAMDriv.reg

    ____________________________________________

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]

    "Temp"="Y:"

    "Tmp"="Y:"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}]

    "Class"="RamDisk"

    @="RAM Disk"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001]

    "ProviderName"="QSoft"

    "MatchingDeviceId"="ramdriv"

    "DriverDesc"="Ramdisk [ QSoft ]"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\UNKNOWN\9999]

    "ClassGUID"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}"

    "Class"="RamDisk"

    "ConfigFlags"=dword:00000004

    "Mfg"="QSoft"

    "HardwareID"=hex(7):72,00,61,00,6d,00,64,00,72,00,69,00,76,00,00,00,00,00

    "Service"="Ramdriv"

    "DeviceDesc"="Ramdisk [ QSoft ]"

    "Capabilities"=dword:00000000

    "Driver"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}\\0001"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\UNKNOWN\9999\Control]

    "DisableCount"=dword:00000000

    "ActiveService"="Ramdriv"

    "FilteredConfigVector& quot;,0x00010000,00,00,00,00,00,00,00,00,00,00,00,00"=""

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdriv]

    "Type"=dword:00000001

    "Start"=dword:00000003

    "ErrorControl"=dword:00000001

    "DisplayName"="Ramdisk [ QSoft ]"

    "ImagePath"="system32\\drivers\\ramdriv.sys"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdriv\Enum]

    "0"="Root\\UNKNOWN\\9999"

    "Count"=dword:00000001

    "NextInstance"=dword:00000001

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdriv\Parameters]

    "BreakOnEntry"=dword:00000000

    "DebugLevel"=dword:00000005

    "DebugComp"=dword:ffffffff

    "DiskSize"=dword:00200000

    "DriveLetter"="Y:"

    "RootDirEntries"=dword:00000200

    "SectorsPerCluster"=dword:00000002

    ____________________________________________

  2. Hi!

    I need to use one of those drivers to install a RAMDrive in my WinPE 1.6 based on Win2K3...

    -RAMDISK Sample provided by Microsoft site ( http://support.microsoft.com/kb/q257405/ )

    -RAMDISK driver from Win2K3 installation files ( I386\RAMDISK.IN_ and RAMDISK.SY_ )

    I would like to install it without applying registry directly into setupreg.hiv before booting WinPE...

    Is it possible?

    Can you provide a clear method to do that?

    Thanks!

    ShrimpyOne

    P.S.: I'm really cheap and I don't want to pay for a RAMDISK Driver to be legit, so use the free drivers that I've handy...

  3. Hi!

    I do a SysPrep on a machine and integrate some Mass Storage drivers in it...

    For some drivers, I get a warning titled "Hardware Installation", I'm tired and I want to get rid of them...

    I've tried 2 things...

    First, I specified this value in Sysprep.inf file....

    [unattended]

    OEMPnPSigningPolicy=ignore

    Second, I changed the computer "Driver Signing Options" to Ignore.

    I keep getting those **** warnings.

    I did a little script with AutoIt (www.hiddensoft.com) to answer those popups, but I can't use it anymore, so I need a "legit" way to do it...

    Thanks for your help!

    ShrimpyOne

  4. Hi!

    I did a Unattended Windows CD to install computers...

    Everything is working fine exept that it doesn't join the domain even if I specified it in Unattend file!!!

    When the computer has just finish installing, the computer is a member of the workgroup "WORKGROUP" and not my domain!

    What is wrong?

    Thanks!

    ShrimpBoy

    Here is my unattend file (Winnt.sif) used in my CD...

    ;*********************************************************************************

    ;*

    ;* Unattended Windows CD Creator

    ;*

    ;* Bill Gates (askbill@microsoft.com)

    ;*

    ;*********************************************************************************

    ;*

    ;* Unattend file informations

    ;*

    ;* Author: ShrimpBoy

    ;*

    ;* Date: 2005-12-07

    ;*

    ;* Time: 08:37:10

    ;*

    ;*********************************************************************************

    [Data]

    AutoPartition=0

    MsDosInitiated=No

    UnattendedInstall=Yes

    [unattended]

    OemPreinstall=Yes

    OemPnPDriversPath="Windows\Drivers\LAN\3com\1;Windows\Drivers\LAN\3com\2;Windows\Drivers\LAN\Broadcom\440x;Windows\Drivers\LAN\Broadcom\57xx;Windows\Drivers\LAN\Intel;Windows\Drivers\LAN\Marvell;Windows\Drivers\LAN\Nvidia"

    UnattendMode=FullUnattended

    UnattendSwitch=Yes

    OemSkipEula=Yes

    TargetPath=\WINDOWS

    [GuiUnattended]

    AdminPassword=Adm1nPassw0rd

    TimeZone=035

    AutoLogon=Yes

    OEMSkipRegional=1

    OemSkipWelcome=1

    [userData]

    FullName="Company KHA"

    OrgName="Company"

    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    ComputerName=*

    [TapiLocation]

    CountryCode=107

    AreaCode=514

    Dialing=Tone

    [RegionalSettings]

    LanguageGroup=1

    SystemLocale=00000C0C

    UserLocale=00000C0C

    InputLocale=00000C0C:00001009, 00001009:00000409

    [branding]

    BrandIEUsingUnattended=Yes

    Home_Page=http://company/

    [Proxy]

    Proxy_Enable=1

    HTTP_Proxy_Server=http://proxy.kha.company.com:1234

    Proxy_Override=<local>

    Use_Same_Proxy=1

    [identification]

    JoinDomain=company-ORG

    DomainAdminUser=company-ORG\adddomain

    DomainAdminPassword=ThatDawnPSWD

    MachineObjectOU="OU=Desktops,OU=Computers,OU=KHA,OU=company,DC=company,DC=org"

    [Networking]

    InstallDefaultComponents=Yes

    [GUIRunOnce]

    Command0="%SystemDrive%\Install\Starter.exe"

    [Components]

    msmsgs=OFF

    msnexplr=OFF

    [shell]

    DefaultStartPanelOff=Yes

    DefaultThemesOff=Yes

  5. Press Any Key,

    What are you talking about???

    You were fellin' lonely and want to talk?

    Try IRC instead of sendin' s*** to my post buddy!

    I want an answer, not this kind of joke!

    I would like to take the time to bring to your attention that I know how to manually do this setting...

    It may be written newbie right under my name, but you seems more like a newbie to me!

    Thanks!

    ShrimpyOne

  6. Hi!

    I want to change my registry to make every user's Windows Explorer to show files and folders as a list instead of icons...

    I've looked in TweakUI, but this setting isn't available...

    I've even bought Microsoft Press - Microsoft Windows XP Registry Guide, but didn't find any answer...

    Is there any place to find this kind of information?

    Thanks!

    ShrimpyOne

  7. Ok!

    Let's talk about it...

    I am on an active directory, and when I create a new computer with a syspreped disk image, after the sysprep process (hardware detect, join domain), the computer run something (from section [GuiRunOnce] of sysprep.inf) as administrator...

    My problem was that the admin guy had force a registry to write the domain name as the default domain name to prevent error from dummy people...

    So at the computer first boot, it applies Group Policies, so it change the default domain name for the computer name to the domain name and the computer cannot log on automatically with the credential supplied and failed...

    Have a nice understanding...

    ShrimpyOne

  8. Hi!

    I did a disk image like I did many times before, but this one is different...

    It work as well as needed in the sysprep part, it discovers the hardware and add the computer to the domain...

    Then when it boot for the first time, it is supposed to boot on the local computer with the administrator account... but, for an unknown reason, it try to boot with the administrator user on the domain instead of the local computer...

    I opened my disk image using Ghost explorer and grab the software registry hive, load it on my windows XP and check the winlogon keys...

    Nothing has been set like defaultdomain or autoadminlogon, so I wonder where it takes the domain name?

    How can I solve this since all my automated process is stoped by this required human intervention???

    Thanks!

    ShrimpyOne

  9. Hi!

    I've created a WinPE CD...

    I added BUILDOPTIONALCOMPONENTS with all swiches available to support vbs files and everything else...

    I've created an application in vb6 that do this...

    Dim WshShell As Object

    Dim ObjExec As Object

    Set WshShell = CreateObject("WScript.Shell")

    Set ObjExec = WshShell.Exec("something.exe")

    I have an error:

    Run-time error '429':

    ActiveX component can't create object

    I've checked in my registry, everything that is supposed to be written by OC.bat is there...

    What is missing???

    Thanks!

    ShrimpyOne

  10. Hi!

    Here is how to add a 32Mb Ramdrive to an existing WinPE CD..

    First... copy all the CD files on a writeable media... do I need to say this!?!?!? ;)

    Then copy the file RamDriv.sys from BartPEBuiler Ramdrive plugin to [WinPE CD]:\i386\System32\Drivers

    Then Run this command...

    REG LOAD HKLM\WinPE [WinPE CD]\i386\System32\setupreg.hiv

    Then add this registry file...

    RamDrive.reg begin:

    ____________________________________________

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Control\Session Manager\Environment]

    "Temp"="Q:"

    "Tmp"="Q:"

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}]

    "Class"="RamDisk"

    @="RAM Disk"

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001]

    "ProviderName"="QSoft"

    "MatchingDeviceId"="ramdriv"

    "DriverDesc"="Ramdisk [ QSoft ]"

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Enum\Root\UNKNOWN\9999]

    "ClassGUID"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}"

    "Class"="RamDisk"

    "ConfigFlags"=dword:00000004

    "Mfg"="QSoft"

    "HardwareID"=hex(7):72,00,61,00,6d,00,64,00,72,00,69,00,76,00,00,00,00,00

    "Service"="Ramdriv"

    "DeviceDesc"="Ramdisk [ QSoft ]"

    "Capabilities"=dword:00000000

    "Driver"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}\\0001"

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Enum\Root\UNKNOWN\9999\Control]

    "DisableCount"=dword:00000000

    "ActiveService"="Ramdriv"

    "FilteredConfigVector& quot;,0x00010000,00,00,00,00,00,00,00,00,00,00,00,00"=""

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Services\Ramdriv]

    "Type"=dword:00000001

    "Start"=dword:00000003

    "ErrorControl"=dword:00000001

    "DisplayName"="Ramdisk [ QSoft ]"

    "ImagePath"="system32\\drivers\\ramdriv.sys"

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Services\Ramdriv\Enum]

    "0"="Root\\UNKNOWN\\9999"

    "Count"=dword:00000001

    "NextInstance"=dword:00000001

    [HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Services\Ramdriv\Parameters]

    "BreakOnEntry"=dword:00000000

    "DebugLevel"=dword:00000005

    "DebugComp"=dword:ffffffff

    "DiskSize"=dword:02000000

    "DriveLetter"="Q:"

    "RootDirEntries"=dword:00000200

    "SectorsPerCluster"=dword:00000002

    ____________________________________________

    RamDrive.reg end

    Then Run this command...

    REG UNLOAD HKLM\WinPE

    Burn it and it works!

    This is the easiest method to add a 32Mb RamDrivre to an existing WinPE CD...

    ShrimpyOne

  11. Take the RAMDRIV.SYS From BARTPE and copy it in [WinPE CD]:\i386\system32\drivers

    Then add this in the file "WINPEDEF.INF" in section "AddReg"

    ; Ramdrive

    HKCU,"Environment","TEMP",0x00000000,"Q:"

    HKCU,"Environment","TMP",0x00000000,"Q:"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cache",0x00020000,"Q:\Local Settings\Temporary Internet Files"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cookies",0x00020000,"Q:\Local Settings\Cookies"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","History",0x00020000,"Q:\Local Settings\History"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Recent",0x00020000,"Q:\Local Settings\Recent"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Cache",0x00000000,"Q:\Local Settings\Temporary Internet Files"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Cookies",0x00000000,"Q:\Local Settings\Cookies"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","History",0x00000000,"Q:\Local Settings\History"

    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Recent",0x00000000,"Q:\Local Settings\Recent"

    ; End Ramdrive

    And then add this in the file "WINPESYS.INF" in section "AddReg"

    ; Ramdrive

    HKLM,"SYSTEM\ControlSet001\Control\Session Manager\Environment","Temp",0x00000000,"Q:"

    HKLM,"SYSTEM\ControlSet001\Control\Session Manager\Environment","Tmp",0x00000000,"Q:"

    HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","Class",0x00000000,"RamDisk"

    HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","",0x00000000,"RAM Disk"

    HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","ProviderName",0x00000000,"QSoft"

    HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","MatchingDeviceId",0x00000000,"ramdriv"

    HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","DriverDesc",0x00000000,"Ramdisk [ QSoft ]"

    HKLM,"System\ControlSet001\Services\Ramdriv","Type",0x00010001,0x00000001

    HKLM,"System\ControlSet001\Services\Ramdriv","Start",0x00010001,0x00000003

    HKLM,"System\ControlSet001\Services\Ramdriv","ErrorControl",0x00010001,0x00000001

    HKLM,"System\ControlSet001\Services\Ramdriv","DisplayName",0x00000000,"Ramdisk [ QSoft ]"

    HKLM,"System\ControlSet001\Services\Ramdriv","ImagePath",0x00000000,"system32\drivers\ramdriv.sys"

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","BreakOnEntry",0x00010001,0x00000000

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DebugLevel",0x00010001,0x00000005

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DebugComp",0x00010001,0xffffffff

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DiskSize",0x00010001,"0x02000000"

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DriveLetter",0x00000000,"Q:"

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","RootDirEntries",0x00010001,0x00000200

    HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster",0x00010001,0x00000002

    HKLM,"System\ControlSet001\Services\Ramdriv\Enum","0",0x00000000,"Root\UNKNOWN\9999"

    HKLM,"System\ControlSet001\Services\Ramdriv\Enum","Count",0x00010001,0x00000001

    HKLM,"System\ControlSet001\Services\Ramdriv\Enum","NextInstance",0x00010001,0x00000001

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","ClassGUID",0x00000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Class",0x00000000,"RamDisk"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","ConfigFlags",0x00010001,0x00000004

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Mfg",0x00000000,"QSoft"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","HardwareID",0x00010000,"ramdriv"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Service",0x00000000,"Ramdriv"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","DeviceDesc",0x00000000,"Ramdisk [ QSoft ]"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Capabilities",0x00010001,0x00000000

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Driver",0x00000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","DisableCount",0x00010001,0x00000000

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","ActiveService",0x00000000,"Ramdriv"

    HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","FilteredConfigVector& quot;,0x00010000,00,00,00,00,00,00,00,00,00,00,00,00

    ; End Ramdrive

    Have a nice Ramdrive!

    ShrimpyOne

  12. Hi!

    I think I've done it...

    Some informations were missing... here is what I did...

    To Add a mass storage driver, you need 4 informations...

    1-PCI ID String

    2-INF file name

    3-SYS file name

    4-Device driver description quoted

    Copy INF files in [WinPE CD]:\i386\inf

    Copy SYS files in [WinPE CD]:\i386\system32\drivers

    Copy the remaining files in [WinPE CD]:\i386\system32

    Once you did that...

    Open the file [WinPE CD]:\i386\txtsetup.sif

    Locate the section named "HardwareIdsDatabase"

    Add each PCI ID like this...

    [PCI ID String] = [sYS File name (Without .sys)]

    Then locate the section named "SCSI.Load"

    Add each INF File name without .inf like this...

    [sYS File name (Without .sys)] = [sYS File name],4

    the ",4" means that the file is in [WinPE CD]:\i386\system32\drivers

    Then locate the section named "SCSI"

    Add each INF File name without .inf like this...

    [sYS File name (Without .sys)] = [Device driver description quoted]

    And it worked as well as I needed...

    Thanks to all of you that helped me on that problem...

    ShrimpyOne

  13. Hi!

    Mats: I tried to way specified in metzen post... doesn't work! and I didn't found the dosnet.inf file so I have copied the sys file in drivers folder (in system32), the inf files in inf folder... it doesn't work...

    ChrisBaksa: Do you tell me to combien the 2 methods??? Add driver folder with winpeoem.sif and add the id in the txtsetup.sif???

    Thanks for your help, I continue to search....

    ShrimpyOne

  14. Hi!

    I've tried everything, nothing seems to work!

    I have few controller that I need to support on my WinPE CD...

    When I have a WinPE CD without mass storage drivers in it, it boots fine and

    I can press F6 to specify a driver, it works fine.

    I've tried to add them by copying the floppy in a folder (Intel1) in

    [WinPE]:\i386\system32 and then add the folder name in the file winpeoem.sif

    like this...

    [OemDriverParams]

    OemDriverRoot=""

    OemDriverDirs=Intel1

    And I didn't forget to remove the ";" in the beginning of each line...

    When I boot the cd like that I got this error message...

    File txtsetup.oem caused an unexpected error (18) at

    line 1747 in d:\xpsprtm\base\boot\setup\oemdisk.c.

    Press any key to continue.

    So I redownloaded the driver and I've tried again, same error!

    I also have tried to add the driver using drvinst.exe

    I got no error from drvinst.exe...

    I boot the cd correctly, but no disk is found!

    How can I add those drivers to my WinPE if those methods doesn't work?

    I have about 10 controller driver to add...

    How can I do it to be sure it will work.

    Please help me I don't want to have 10 floppies to boot every computer...

    Thanks a lot!

    ShrimpyOne

  15. Hi!

    I modified my ntoskrnl.exe to display a customized logo on boot, since then my WinPE CD doesn't work...

    It freeze while it run factory -minint or -winpe...

    I remove the new kernel and everything is working fine...

    Can I change the logo on boot screen?

    How can I do it with WinPE and be able to boot...?

    Is there any security to disable?

    Thanks a lot!

    ShrimpyOne

×
×
  • Create New...