Direct3DDevice9ent failed: An invalid parameter was passed to the...

5atcat

New member
Local time
4:36 AM
Messages
49
Well, I have this error for ages now and I can't stand it anymore.
Everytime I play Games like Counter Strike: Source or COD: MW3 my Laptop freezes and I just see some random Colours on my desk. Today I played MW3 on Windowmode and this helped me to know what my problem is but I still don't know how to solve this! Here's a picture: Imageshack - lolomh.png

If you need informations about my Laptop just ask for it because I don't know which informations I should post, anyway:
- Dell XPS L502X
- Windows 7 Ultimate 64bit
- Intel Core i7-2630QM CPU @ 2.00GHz
- 4.00 GB RAM
- Using 2 desktops, my Laptop and my ASUS
- NVIDIA GeForce GT 540M

Thanks in advance,
Fatcat
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Bump.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
After checking out quite a number of forums, threads and potential solutions, it seems that there is no 100% correct way to deal with that error.

Some have reported success updating their DirectX using this web installer (you need an active Internet connection to your machine for this):

Download: DirectX End-User Runtime - Microsoft Download Center - Download Details

Some have mentioned reverting to older drivers, or updating their drivers to the newest ones. I see that your problematic machine is an XPS L502X, which uses Optimus for switching between the dedicated 540M and the Intel integrated card. This makes it more complicated as only the drivers from your manufacturer can be used.

If you're doing any overclocking, revert it back to default clocks.
 

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
!

Thanks for the fast reply and I'm now done with this System Spec Thing so let me continue.
I think I've seriously tried everything, updated my NVIDIA drivers, updated DirectX via Web installer, manually installed almost every single driver from my DELL CD but I seriously don't know what to do.
But what is this Optimus thing? ANd do you have any other tipps what I should check or do?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Optimus is the technology that NVIDIA uses to allow your computer to switch between the 540M and the Intel Integrated graphics located on your CPU when necessary. (i.e. using the 540M when gaming and the Intel graphics when idling)

Does the problem occur on all other games or just those two games mentioned in your OP?

If I'm not mistaken there's a procedure for you to force your Laptop to use its 540M card when playing games, instead of letting the system decide whether to switch between the 2:-

Begin by opening the Nvidia control panel.

In the "Manage 3D settings" tab, go to program settings and click add.

Navigate to your game's installation path, and choose the games exe file.
(For example, if Modern Warfare 3 is installed at C:\Games\Modern Warfare 3 , go there and choose MW3.exe)

Force it to use your Nvidia card.

After you have applied the settings, go to your desktop and try running the game again.
 

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
Well I did what you told me but I received that Error again so I am now asking which of those 3 whould I choose? I am now gonna try 'HP Nvidia...', Hope you have some other suggestions for me! :)

http://imageshack.us/f/535/54767328.png/
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Yep. High Performance NVIDIA processor should be the one.

Other than that, I'm afraid I've run out of ideas..

You didn't reply my previous question though.

Does this error occur on all games or just those two games?

Does running a 3D program like Furmark produce the same Direct X error?

http://www.ozone3d.net/benchmarks/fur/
 

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
So I did what you told me and played for like 45 Minutes! But then all of the sudden again these Colours...
And yes this happens in every Game except for CrossFire idk why.
And btw I am now gonna run this Furmark thing.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Be careful when running Furmark.

If your temps are reaching 90 C and above, terminate the program immediately and allow your laptop to cool off.
 

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
Update:
Yes It ran even though it had a very low FPS and the Temperatures were almost permnanently above 90 o_o.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Update: Alright, ran it on 1920x1080 everything was alright, FPS 10-15.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Very interesting indeed.

We can rule out a graphics hardware problem now, which is good.

The only thing is that, I'm not sure how to proceed from here, considering you've tried all of the suggested software solutions. (Graphic Card Drivers, Direct X, etc).

The only i can recommend right now is to look at this generalized tutorial for troubleshooting gaming problems:-

http://www.sevenforums.com/gaming/77293-tips-troubleshooting-game-issues.html

There'll be a number of steps you've done, omit them and try out the rest. Good luck.
 

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
Well this guide didn't really help :/
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Well this guide didn't really help :/

I know, I just wanted to be thorough and offer you all the options available. Most forums i checked do not even have the solution to this problem.

I'll call for some insight from the others.
 

My Computer My Computer

At a glance

Windows 7 x64 Professional SP1Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ...8 GB DDR3ATI MOBILITY RADEON 4670
Computer Manufacturer/Model Number
DELL SXPS 1640
OS
Windows 7 x64 Professional SP1
CPU
Intel C2D T9550 2.66 GHz @ 2.793 GHz (Thanks ThrottleStop!!)
Motherboard
Intel PM45
Memory
8 GB DDR3
Graphics Card(s)
ATI MOBILITY RADEON 4670
Sound Card
CREATIVE XFI AUDIO NOTEBOOK
Monitor(s) Displays
16.1 WLED
Screen Resolution
1920x1080
Hard Drives
Seagate ST9500420AS 500GB (465GiBi) 7200 RPM Drive

External Drives:-
2 TB WD Essentials x 3
1 TB WD Mybook Gen 1
1 TB WD Mybook Gen 2
1 TB Seagate
1 TB Seagate
320 GB WD Scorpio Black (enclosed)
320 GB WD Scorpio Black (enclosed)
PSU
90W Dell Power Brick
Case
Dell Chassis
Cooling
Coolermaster Cooling Pad
Keyboard
Built-in backlighted Keyboard
Mouse
Logitech Wireless Mini Mouse
Internet Speed
4/0.5
That would be nice because I really want to play :/
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Just a shot.

I would like for you to run the included script.

How to run the script and the script follow.

When finished, upload the ComputerInfo.txt file which lands on your desktop.

# **********************INSTRUCTIONS**************************
# STEP 1 *****************************************************
# RUN PowerShell as administrator
# WIN key | type POWERSHELL | do NOT hit ENTER |
# in the resulting PROGRAMS list, right-click on WINDOWS POWERSHELL |
# choose "Run as administrator" from the resulting list
# Click on the YES button (if such appears)
#
# WIN key = key with Microsoft log on top
# for the guru:
# WIN key | type POWERSHELL | CTRL+SHIFT+ENTER key combo | ALT+Y keycombo
# ************************************************************
# STEP 2 *****************************************************
# COPY, using CTRL+C, every line of script down thru both EXIT statements
# PASTE into Powershell
#----Right-Click at the PowerShell Prompt
#----(Ctrl+V does not work)
# Start copying with first line without a # at start of the line
# Note: Actually, you can paste the entire file if you rather
#-------Lines starting with a # are ignored by PowerShell
# ************************************************************
# ***************** NOTE - POWERSHELL VERSION*****************
# if you receive this error msg:
#--Get-WinEvent: The system can not find the path specified
# you need to update your PowerShell
# you must be using Powershell 2.0 or later.
#
# To determine your Powershell version:
#---Run PowerShell
#---enter $host.version
#---you should see at least:
# Major Minor Build Revision
# ----- ----- ----- --------
# 2......0......-1.....-1
#
# If you do not see the above, update your Vista/Win 7.
# ************************************************************
# *************** NOTE - EXECUTION POLICY*********************
# If you haven't set the execution policy, you may need to:
#---Run PowerShell
#---enter Set-ExecutionPolicy -executionpolicy remotesigned
# ************************************************************

==============================================

PHP:
# ***********************************************************************
# Puts COMPUTERINFO.TXT on your desktop
# COMPUTERINFO.TXT contains info about your bios and your computer system
# ***********************************************************************

function get-ID { 
  param ([string]$title, [int]$arraycnt, [int]$arrayndx) 
  $id = " " + $title + " "
  If ($arraycnt -ne 1) {$id = $id + [string]$arrayndx + " "}
  $id }
function get-title { param ([string]$id) 
  $hashes = ([int](51 - $id.length)/2)
  $hashstr = '#' * $hashes
  $title = $hashstr + $id + $hashstr
  If ($title.length -le 51) {$title += "#"}
  $title  }
$sterne = "*" * 79
$obj = New-Object PSObject
$bios = gwmi win32_bios
$id = get-id "BIOS" 1 0
$obj | Add-member -membertype noteproperty -name (Get-title $id ) -value $sterne
$obj | add-member -membertype noteproperty -name ($id + "Name") -value($bios.name)
$obj | add-member -membertype noteproperty -name ($id + "Manufacturer") -value($bios.manufacturer)
$obj | add-member -membertype noteproperty -name ($id + "Release Date") -value($bios.converttodatetime($bios.releasedate))
$obj | add-member -membertype noteproperty -name ($id + "Serial Number") -value($bios.SerialNumber)
$CS  = gwmi Win32_ComputerSystem   
$id = get-id "COMPUTER SYSTEM" 1 0
$obj | Add-member -membertype noteproperty -name (Get-title $id) -value $sterne
$obj | add-member -membertype noteproperty -name ($id + "Manufacturer") -value($cs.manufacturer)
$obj | add-member -membertype noteproperty -name ($id + "Model") -value($cs.model)
$obj | add-member -membertype noteproperty -name ($id + "Primary Owner") -value($cs.primaryownername)
$obj | add-member -membertype noteproperty -name ($id + "Type") -value($cs.systemtype)
$obj | add-member -membertype noteproperty -name ($id + "Total Memory") -value(([string][int]($cs.totalphysicalmemory/1073741824) + " GB"))
$obj | add-member -membertype noteproperty -name ($id + "User Name") -value($cs.username)
$CSprod  = gwmi Win32_ComputerSystemProduct 
$obj | add-member -membertype noteproperty -name ($id + "Product Name") -value($csprod.name)
$obj | add-member -membertype noteproperty -name ($id + "Version") -value($csprod.version)
$obj | add-member -membertype noteproperty -name ($id + "Identifying Number") -value($csprod.identifyingnumber)
$obj | add-member -membertype noteproperty -name ($id + "Vendor") -value($csprod.vendor)
$obj > $env:userprofile\desktop\COMPUTERINFO.TXT

EXIT
EXIT

=========================
thanks,
karl
 

My Computer My Computer

At a glance

MS Windows 7 Ultimate SP1 64-bitAMD A10-4600M6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)AMD Radeon HD 7660G
Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz4,00 GB(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Gr...
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell Inc. 0NJT03
Memory
4,00 GB
Graphics Card(s)
(1) NVIDIA GeForce GT 540M (2) Intel(R) HD Graphics Family
Sound Card
(1) Intel(R) Display Audio (2) NVIDIA High Definition Audi
Screen Resolution
(1) 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz (2)
Hard Drives
ST9500420AS ATA Device
Back
Top