Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Hardware Profiles

25 Sep 2010   #31
OppfinnarJocke

Win 7
 
 

Quote   Quote: Originally Posted by Blue for Black View Post
Quote:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Sam>c:\users\sam\downloads\devcon.exe
devcon.exe Usage: devcon.exe [-r] [-m:\\<machine>] <command> [<arg>...]
For more information, type: devcon.exe help

C:\Users\Sam>
Please let me know if I'm missing something, doing something wrong, etc. If you need more info to determine it, just let me know.

Thanks,
Sam
Two things:
1. You must run devcon as an administrator
2. Run "devcon help" and you'll get help for the commands.

Basically, what I did, I had devcon list the hw for me and put the list in a file:
devcon hwids * > hwids.txt
Then I opened that file in a text editor and looked for the HW-ID of the battery controller and the wi-fi.

Then I created a bat-file with the following commands
devcon disable "PCI\VEN_8086&DEV_4235"
devcon disable "ACPI\PNP0C0A"

The first disables the wi-fi, the second disables the battery controller.

Then a corresponding bat-file to enable those devices
devcon enable "PCI\VEN_8086&DEV_4235"
devcon enable "ACPI\PNP0C0A"


Once I had these bat-files, I had to make a shortcuts to them, so that they could be run as administrator. This is a must. Always use the shortcuts.

In addition, in the same bat-files, I disable anti-virus, and a whole bunch of services that aren't necessary once the wi-fi is disabled. This looks like
sc stop Dhcp
You have to experiment a little with your own particular setup, but it's not too hard, and all of it basically corresponds to defining a different HW-profile. You can of course have several disable/enable bat-files, one set for each HW-profile you need.


My System SpecsSystem Spec
.
26 Sep 2010   #32
RADCOMJ1

windows 7 Ultimate
 
 

Every now and again this thread gets resurrected with a few new ideas but HW profiles was just quick and easy. I don't want to run my huge power consuming graphics card for surfing the net, a simple surfing and gaming profile would suit me without having to resort to dual boot. Maybe I'll try hyperOS.
My System SpecsSystem Spec
09 Nov 2010   #33
ibanez0r

Windows 7 Ultimate 64bit
 
 

Quote   Quote: Originally Posted by DeaconFrost View Post
What would you need a hardware profile for, in this day and age? I remember setting them up in NT 4.0 for docked and undocked status on a laptop. I haven't seen a need for doing so since those days.

one word.... GAMING
My System SpecsSystem Spec
.

03 Feb 2011   #34
Zoltarnicus

Windows 7 Enterprise x64
 
 
Wireless while docked not desired and 1/x

So, how about if I want my laptop to disable wireless adaptor while docked so that I can use the wired ethernet attached to the docking station? Vice versa, enable wireless when laptop is undocked. HW Profiles would have helped in this case. Anyone know of a way to accomplish this? For now I have a desktop icon that runs Wireless Assistant with command line parameters to manually enable/disable depending on docked status. Got to be a better way.
My System SpecsSystem Spec
13 Feb 2011   #35
Alain Pannetier

Windows 7 Family Premium 64bits
 
 
Hardware Profiles were so handy to boot Windows XP In Virtual or Nativ

Same case here. I'm used to running several OS simultaneously out of one box for SW development purposes.
To do so, I run VirtualBox. I've got a powerful laptop with a dual boot with Ubuntu and W7.

Most of the time I boot out of the Ubuntu disk as host OS and boot various other OS as guests (it's a 16GB RAM laptop with i7 720QM - showing 8 CPUs).

Most guest OS live in their own dedicated VMDs, basically 50GB files on the Linux disks.
Except for the W7 partition which has its own 750GB disk, in the state it was when I purchased the laptop.
As you may know, with virtualbox, you can also, all precautions taken, boot a guest OS from a real partition (termed in this case raw disk).

However, I sometimes need to boot the native Windows partition natively rather than as a VirtualBox guest. It used to be easy with XP hardware profiles.

Not any more !!

I can still boot the native W7 inside VirtualBox as a guest. But when I try to boot it natively, W7 tries to reconfigure things and ends up displaying a grey screen (after spinning the disk for ages) thereby showing it's stuck somewhere or can't access the graphic card....
I can "repair" things but the same thing happens each time.

So now I'm using W7 only as a guest.

I can't help noticing that HW profiles have disappeared from the radar precisely when MS have tightened their anti-piracy policy and virtualization has arrived in the Wintel arena. Are we just witnessing yet another revenue protection measure ? (like when Intel would consent rebates to OEMs disabling VT in their BIOS ?).
My System SpecsSystem Spec
22 Apr 2011   #36
kazlady

Windows 7 Professional 64 bit
 
 

So I also have a legitimate use for Hardware Profiles. I am a cross platform programmer with a gamer husband. I have multiple valid licenses for my Windows 7 activations. My husband and I are very social and when I am programming, I like to be in the same room as him. He is an enthusiastic gamer so even when we are both home, he is usually logged in. The problem is, his computer is the only one in the house with virtualization so its the only one I can use to program. Mine has less RAM, less powerful Windows version, inferior processor, etc. His monitor is also the biggest in the house. He has agreed to use the inferior machine when I want to program when he's home as long as he gets the larger monitor and we can't afford to just buy another monitor. Though large real estate is nice, when I am programming, I would rather have a smaller screen and be in the same room. What I'd like to do is have both systems set up at all times and just change which monitor is the primary depending on which Windows profile I open on his computer. The other computer is irrelevant. Ideally, when he opens his, only his monitor activates, when I open mine, both monitors activate with the larger asthe primary and when I open the one for when he wants to game at the swame time, it only uses the smaller monitor. Here's another way to look at it.

Husband profile:
Computer 1 (uber) - 24" monitor
Computer 2 (inferior) - 17" monitor

Wife profile:
Computer 1 (uber) - 24" monitor and 17" monitor
Computer 2 (inferior) - off

Husband is benevolent profile:
Computer 1 (uber) - 17" monitor
Computer 2 (inferior) - 24" monitor

If anyone knows of a way that I can already do this, please let me know.

thanks
Kazlady
My System SpecsSystem Spec
23 Apr 2011   #37
zamar21

Win 7
 
 

That sounds like a true love story. How are your PCs and monitors wired to each other and in between?
My System SpecsSystem Spec
23 Apr 2011   #38
kazlady

Windows 7 Professional 64 bit
 
 

I kind of think it is :-)

Here's my setup:

Computer 1 (uber) - DVI out to 24" monitor DVI in, VGA out to 17" monitor
Computer 2 (inferior) - VGA out to 24" monitor VGA in (24" monitor has dual input)

It works fine, it's just annoying to have to re-setup the monitors every time I use them.

Any suggestions are greatly appreciated.

(as an unrelated side note, this is the first time I've ever used dual monitors and I kind of like having the smaller monitor for side stuff like maps while I'm gaming and Internet webpages with sample code while I'm programming. I don't get that when hubby is playing but it's nice when he's not around)
My System SpecsSystem Spec
13 Dec 2011   #39
glon

Win7 x64 Ultimate
 
 

Quote   Quote: Originally Posted by OppfinnarJocke View Post
Quote   Quote: Originally Posted by Blue for Black View Post
Quote:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Sam>c:\users\sam\downloads\devcon.exe
devcon.exe Usage: devcon.exe [-r] [-m:\\<machine>] <command> [<arg>...]
For more information, type: devcon.exe help

C:\Users\Sam>
Please let me know if I'm missing something, doing something wrong, etc. If you need more info to determine it, just let me know.

Thanks,
Sam
Two things:
1. You must run devcon as an administrator
2. Run "devcon help" and you'll get help for the commands.

Basically, what I did, I had devcon list the hw for me and put the list in a file:
devcon hwids * > hwids.txt
Then I opened that file in a text editor and looked for the HW-ID of the battery controller and the wi-fi.

Then I created a bat-file with the following commands
devcon disable "PCI\VEN_8086&DEV_4235"
devcon disable "ACPI\PNP0C0A"

The first disables the wi-fi, the second disables the battery controller.

Then a corresponding bat-file to enable those devices
devcon enable "PCI\VEN_8086&DEV_4235"
devcon enable "ACPI\PNP0C0A"


Once I had these bat-files, I had to make a shortcuts to them, so that they could be run as administrator. This is a must. Always use the shortcuts.

In addition, in the same bat-files, I disable anti-virus, and a whole bunch of services that aren't necessary once the wi-fi is disabled. This looks like
sc stop Dhcp
You have to experiment a little with your own particular setup, but it's not too hard, and all of it basically corresponds to defining a different HW-profile. You can of course have several disable/enable bat-files, one set for each HW-profile you need.
First of all sorry to bump this older thread, no offense meant to anyone. :P

I'm trying to utilize devcon to disable my m-audio firewire soundcard.

I thought if I did "devcon disable <device>" it would disable the device right away. But it doesn't - says the device will be disabled on next reboot. Now I can disable a device manually in Device Manager without a reboot so what's up with Devcon not being able to do this itself?

Code:
E:\progstorage\Firewire410\fix>devcon disable 1394\M*
1394\M-AUDIO&FW_410\4900D100016C0D00                        : Disabled on reboot
The 1 device(s) are ready to be disabled. To disable the devices, restart the
devices or reboot the system .
"To disable the devices, restart the
devices or reboot the system" WTF? restart the devices to disable them?

So I'm wondering how you were able to disable your devices via devcon without reboot and second, if there's maybe any other way to programatically disable a device besides devcon?

Thanks!
My System SpecsSystem Spec
14 Sep 2013   #40
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 
Hardware profiles

Quote   Quote: Originally Posted by ibanez0r View Post
Quote   Quote: Originally Posted by DeaconFrost View Post
What would you need a hardware profile for, in this day and age? I remember setting them up in NT 4.0 for docked and undocked status on a laptop. I haven't seen a need for doing so since those days.

one word.... GAMING
3rd post on this once active always useful forum. I (want to!) use my Dell XPS L502x to watch stuff, and develop stuff, and play with and hopefully one day develop google labs.

I would love a quick load, barebones profile, and a development profile, and maybe one to utilise the two soundcards and awesome mic... I don't know how (else) to do this except with devcon, which has been a while since I've attempted such a solution. Maybe Mcafee and Indexing and all the other little things happening constantly, and collectively, is resulting in the (lack of) performance.

Any suggestions, including ways to monitor performance (load time of OS and particular apps/suites, consumers of resources over time, particular KPIs to keep an eye on... I have TuneUp Utils which gives further insights, and it looks like there's lots more provided by MS in W7HP... I come from the land of XP )

Thanks guys really interesting and useful thread.
My System SpecsSystem Spec
Reply

 Hardware Profiles




Thread Tools




Similar help and support threads
Thread Forum
User profiles
On advice here - when I installed W7 ... I followed: https://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html and kept OS on my C:\ and put user profile with its mass of video, pictures & music on a separate drive, and apps on a 3rd drive .... the advice here was...
General Discussion
User Profiles
I've noticed that I have 3 User Profiles under Advance Settings for my computer. The first one is Default Profile, 1.5MB, the second one is gilloz PC/gilloz 650MB and the last one is gilloz PC/UpdateusUser, 14.7MB. Should I delete any of them other than the default one? Seems there is more data...
General Discussion
Hardware profiles?
I searched and found some threads where the ? was asked about Hardware profiles and the answers were mostly No and why would you need them? Well, for one-I have only one PC-I use for everything. But, I record audio (my music ) with Sonar Sound forge, etc. It would help if I could have the internal...
Hardware & Devices
user profiles
Hi as per my previous thread before attempting an over install because my PC would not boot I removed the hard drive and hung it as a sata slave on my othe PC to check the Data was there. Windows directory is shown as are program files etc However the users directory is 834mb in size (...
General Discussion
Multiple Printer Profiles; Deleting Unneeded Profiles
It has been my practice with prior versions of Windows OS's to set up multiple printer profiles, one for drafts, one for color, etc. "The Devices and Printers" section allows me to create such profiles, but does not show them individually. When I delete them in Windows, they are not deleted in...
Performance & Maintenance
user profiles
hi, i got my windows 7 laptop and the default user name was benjamin. i went and changed it to my name(andrew) but everything is still under benjamin. it was bsically just a cosmetic change to the profile. so i made a new profile with the name andrew and now was wondering if it would be bad if i...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:42.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App