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: hotkey to disable an audio device of choice

04 Jan 2014   #11
fohrums

Windows 7 x64
 
 

Quote   Quote: Originally Posted by N00berG00ber View Post
No.

I can't emphasis this enough. keyword: "Disable"

In other words. I'm looking for a way to "Disable" (turn off) a device. I mentioned twice that I have a hotkey to switch audio devices already using NirCmd in which from that command-line tool i'm able to set between (or all) which device I want as default device and communication device, etc.


My System SpecsSystem Spec
.
04 Jan 2014   #12
fohrums

Windows 7 x64
 
 

Quote   Quote: Originally Posted by Ztruker View Post
You would have to write the batch file to apply the registry changes, then setup a hotkey to invoke the batch file.

The Open and Set registry actions indicate the key you need to modify. After disabling, go into regedit and export that key. Do it again after you enable it again.

That should give you the registry changes you need to apply.
thanks what I did was found which of the 4 I highlighted made the change and it was the one listed with the description changing the DWORD value. How I made I signed it to a hotkey was sending it to desktop (as shortcut) and right-click properties to define the key combination.

only problem now is that it's always verifying yes/no if I want to go forth with the action. How do I disable that security? I tested it out and know it's safe.
My System SpecsSystem Spec
05 Jan 2014   #13
Ztruker

Windows 10 Pro X64
 
 

How are you applying the change? Are you using the reg command? If so, looks like the /F parameter is what you need.

Quote:
C:\Users\rrkurtz>reg add /?

REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f]
[/reg:32 | /reg:64]

KeyName [\\Machine\]FullKey
Machine Name of remote machine - omitting defaults to the
current machine. Only HKLM and HKU are available on remote
machines.
FullKey ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY.

/v The value name, under the selected Key, to add.

/ve adds an empty value name (Default) for the key.

/t RegKey data types
[ REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ |
REG_DWORD | REG_QWORD | REG_BINARY | REG_NONE ]
If omitted, REG_SZ is assumed.

/s Specify one character that you use as the separator in your data
string for REG_MULTI_SZ. If omitted, use "\0" as the separator.

/d The data to assign to the registry ValueName being added.

/f Force overwriting the existing registry entry without prompt.

/reg:32 Specifies the key should be accessed using the 32-bit registry view.

/reg:64 Specifies the key should be accessed using the 64-bit registry view.

Examples:

REG ADD \\ABC\HKLM\Software\MyCo
Adds a key HKLM\Software\MyCo on remote machine ABC

REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead
Adds a value (name: Data, type: REG_BINARY, data: fe340ead)

REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail
Adds a value (name: MRU, type: REG_MULTI_SZ, data: fax\0mail\0\0)

REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d ^%systemroot^%
Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%)
Notice: Use the caret symbol ( ^ ) inside the expand string
My System SpecsSystem Spec
.

06 Jan 2014   #14
fohrums

Windows 7 x64
 
 

I see, so forcing it using /f command.

Problem is skype doesn't recognize the change and I have to still manually switch the output so it doesn't matter. I ended up not needing this method.

Appreciate the help, hopefully others read and value that.
My System SpecsSystem Spec
06 Jan 2014   #15
Ztruker

Windows 10 Pro X64
 
 

Ah well, it was worth a try.
My System SpecsSystem Spec
Reply

 hotkey to disable an audio device of choice




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How to toggle between default sound device using hotkey
Edit: See second post. Found script for AutoHotKey but not sure how to compile or use it ? Also when ever I plug a USB device in it changes default sound device from Line 1 to SRS.. I usually plug my Smartphone on for charge every day using USB so it gets annoying. I'm using two audio...
Sound & Audio
Shortcut or Hotkey to quickly disable or enable folder options
anyway to do this? shortcut, hotkey? http://i1263.photobucket.com/albums/ii636/TheDarkAvenger85/Forums/folder_options.png
General Discussion
Disable / rebind Win+X hotkey?
It it possible to disable Win+X hotkey without disabling the Mobility Center itself? Or, better yet, use some other hotkey for mobility center (which, though, is probably simple) and bind some other hotkey to Win+X? I have...
Customization
Hotkey to disable additional screens?
I have 2 screens, one large one for most my work, with a smaller one for when I am working with files and need to be changing windows a lot, it gives me somewhere to put them. However with my current graphics card, rendering 2 screens at once causes a notable fps drop when one screen is displaying...
Software
Audio device disable on every windows start up..!
Hi guys.. hope you all will be fine.. guys today I m seen a new kind of problem in win seven. every time when windows seven starts, the audio device is disable and the speaker Icon is marked with red cross.. and when I single left click on speaker icon, a diagnostics windows appear and...
Hardware & Devices
Audio card choice
Have just done my first build - SN i5 2500 on Gigabyte H67 UD3H board and jsut want to do a little experimenting with an audio card - nothing flash but quality. Have picked out two locally and wondered what others might think of these. Auzentech X-Raider 7.1 ASUS Xonar DG there is a...
Sound & Audio


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 13:52.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App