Command to change Hands Free Telephony setting of a specific device? - windows

I am trying to automate the task of enabling/disabling the Hands Free Telephony service for a specific bluetooth device (headphones).
The normal way I am able to manually do this is by opening "Control Panel > Hardware and Sound > Devices and Printers" and then right-click on the device, select "Properties", then on the Properties window that opens, select the "Services" tab, then check/uncheck the "Hands Free Telephony" option.
Searching around, all that seems to come up is commands to modify System services, or posts about manually enabling/disabling the way I described. The closest I have come so far is to open the properties window for specific devices using rundll32.exe from a Microsoft support post (https://support.microsoft.com/en-us/topic/how-to-invoke-the-device-properties-dialog-box-from-the-application-or-from-a-command-prompt-ca8ba122-ec37-2bbe-432d-6ff831f05fcd). But this is not the same properties window that opens from right-clicking in Devices and Printers.
Am I going about this the wrong way? Is there a better way to change the services properties for a specific device?

Related

Does not show simple network management protocol in windows 10 issue

My step is these..
Right-click on the Windows Start button and choose Control Panel.
Select Programs from within the Control Panel, then, under Programs and Features, select Turn Windows features on or off.
Find the Simple Network Management Protocol (SNMP) in the list of features and check the checkbox.
I can't find the Simple Network Management Protocol in the list of features..

How to unhide the cursor without changing the application

I need to do a pre-purchase evaluation of a Flash application that is intended for a touch screen.
Since I still don't have the touchscreen now, I need to run the application on my desktop computer and the application is unusable without a visible cursor.
I am using Windows.
Is there a way to unhide the cursor without asking the developers to change the application?
I've previously used remote access software (such as Windows Remote Desktop or TeamViewer) for this purpose. Another option is a virtual machine - in both cases you'll be able to see the cursor on the local/host machine.
If you happen to be on a Windows 8 machine, you might give a try to the Windows Simulator (http://blogs.msdn.com/b/visualstudio/archive/2011/09/29/first-look-at-windows-simulator.aspx, available for free with Visual Studio Express) that additionally simulates multitouch gestures such as pinch/rotate with only a mouse.
A few other ideas:
1) You can try using the "Show location of pointer when I press the CTRL key" mouse visibility property (Control Panel - Hardware and Sound - Devices and Printers - Mouse - Pointer options). Although not entirely convenient, it might help you if the application doesn't require quick response times.
2) If the application is distributed as a .swf file and the right button hasn't been disabled, sometimes right-clicking (anywhere in the application) to bring up the context menu will cause the cursor to show up and remain visible.

How to disable the "Safely Remove Hardware" icon from the System Tray

When plugging in a USB device the "Safely Remove Hardware" icon/option appears in the System Tray. Is there any way to disable this so it doesn't show at all?
I cannot use an option like a program or anything that have to be installed and/or kept running. The only option I really have is a registry or setting during Windows Deployment.
This is to be used on 2000+ cash registers so I couldn't care less if one cannot "safely" remove the USB device they happen to plug into the cash register.
click the arrow->Customize
then you get Control Panel\All Control Panel Items\Notification Area Icons window.
Here you can have 3 options for each icon. And select hide icon and notification option.

How to disable the appearence of the taskbar when a USB is plugged?

I'm developing a software that should be able to "lock" the computer in it, so there will be no chance for any user to return to Windows and use other softwares except if he closes the software using a key (I guess this is what people call to operate in kiosk mode).
After much research I managed to disable Ctrl, Windows Key and Alt using hooks and registry files, so with this I could eliminate (I think) all ways of the user getting away from the software from the keyboard.
But now I found that if somebody plugs an USB device (e.g. a pendrive/data traveler), considering W7, the taskbar immediately apears alongside that traditional dialog where you can choose what you're going to do with the USB device you plugged (open its contents with Explorer, etc.), so somebody can go away from the software apart from the keyboard.
I would like to know how could I stop this, by code or registry (code would be much better!), so if somebody plugs a pendrive the taskbar don't appear and neither that dialog. If I can block USB input from thoose already used (by mouse and keyboard), that could also help.
Btw, if somebody knows of any other tricky way of going away from a kiosk-mode app, tell me!
Thanks,
Momergil
If you replace explorer.exe with your own application in the Shell value of the Winlogon registry key, your application will be started instead of Explorer. Then all you need to do is disable Task Manager, which can be done via a group policy setting.
The full path to the Winlogon key is
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Why don't you just stop explorer.exe, disable Ctrl+Alt+Delete and Ctrl+Shift+Esc to enter kiosk mode?

User settings' persistence in NPAPI?

I was wondering, if there's anything in NPAPI, which supports reading/writing user settings? Currently I use XPCOM, but I want to get rid of this code in order to support other browsers than Firefox.
I understand I can just read/write the file system (or registry on Windows) directly, but I want to explore other options - allowing the user edit these settings from the browser (e.g. about:config in FF) is, arguably, a better user experience than to direct him to edit some custom-made config files.
On the Mac plugins that need preferences sometimes ship a system preference pane with the plugin (and have a context menu item to open that pref pane), so that users have a UI for editing prefs. If there's not something similar for Windows and Linux you could always ship a small app that edits the prefs.
There is no such functionality in NPAPI.

Resources