Question Locked

Hide device from view in add remove hardware

0 helpful
28 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I work in a High School and the district recently purchased HP 6715b laptops. My group policy prevents them from accessing the laptop C drive and control panel. The students have found they can remove the NIC and wireless by using the add remove hardware feature in the toolbar. I do not want to disable this feature, but need to prevent the NIC and wireless device from being seen. Any reg hacks or GPO that will prevent disabling them?

28 replies

by older mycroft

What operating system is running on these laptops?

Whatever happened to school discipline, eh?

by seanferd

Systray for network card only, File menu for full system properties.

by michael.adams

System tray is where it is located. I do not want to disable the feature, it is used to remove the USB drives safely.

by older mycroft

Subtle difference but an important one nontheless.

You can ALWAYS prevent the 'connection' icon from showing at all, whether it is for LOCAL AREA CONNECTION or for WIRELESS NETWORK CONNECTION. For each of them you right-click on their icon in Control Panel > Network Connections, then [b]UNTICK[/b] the two boxes at the bottom of the Properties Page.

One for 'Show icon in notification area when connected'
One for 'Notify me when this connection has limited or no connectivity'

by seanferd

Or in the Explorer File menu?

You can Always Hide any tray icon:
Right-click Start > Properties > Taskbar tab > Hide inactive icons > customize > Local area connection > always hide.

File menu:
Group Policy > User config. > Admin. templates > Windows explorer > "Remove file menu from Windows explorer"

"Removes the File menu from My Computer and Windows Explorer.

This setting does not prevent users from using other methods to perform tasks available on the File menu."

While you're in there, check to make sure they cannot access control panel applets via the Run box or command line.

If you give them all the lowest privilege accounts (like Guest), they can't do this stuff anyway.

by michael.adams

In the system tray.

I do not want to hide or disable the icon. Doing so will prevent the students from removing their USB drives safely.

I wrote the district group policy for the students, everythng on the computer is locked down. They have no access to the C drive or any functions within windows. Programs are started from a Novell application window.

Guest still have access to the systray add/remove feature.

by seanferd

just apply "always hide" to that. It does not hide the systray.

edit: of course, they should not have permission to change the start menu properties settings, either.

by michael.adams

The lan icon is hid already. The problem is the LAN and wireless connections show along with connected usb drives. Windows is treating them as if they were removable pcmia cards vice installed in the laptop.

by older mycroft

I've just checked, connecting a Voyager USB stick to my wireless laptop.

It doesn't show ANY network connections in the 'Safely Remove Hardware' dialogue box.

I don't quite understand why yours does unless your wireless connections are all USB, and not internal to the laptop. In that case you can always configure the USB ports for 'Qucik Removal' - that way ythe user doesn't have to invoke the 'Safely Remove Hardware' option at all. They just remove the USB stick whenever (within reason).

by michael.adams

I agree that they should not be showing up. Neither of them are usb or pcmia. HP has no clue either.

by michael.adams

Not to sound bad, but you want to try and train over 2,000 students how to do this? And this is just my school.

by seanferd

for the two icons in question. If they are not currently at the top of the list, check under "past items".

The setting should apply to the individual icon, not the generic "safely remove" icon.
I'll see if I can check this out & confirm.

What possesses them to disconnect from a network, anyway? Half the younger folks I know don't think you can even use a computer without internet. :^0

by michael.adams

The safely remove icon shows harwdare that is removable. Changing the settings of the lan and wireless icons do not affect their appearance in SRH icon.

I think the students found by accident they can remove/uninstall the lan and wireless devices. Most likely it was when they were removing their USB.

by michael.adams

The network and wireless icons are already hidden. THe problem in within the safely remove software feature of windows. THe same feature that is used to safely unplug a usb drive. Both of the network devices are showing like they are removable, which they are not.

by older mycroft

That way the users don't have to use the 'Safely Remove Hardware' option at all.

In fact, it won't appear.

by seanferd

Configure for quick removal in Device Manager.

Then, also hide Safely Remove in the systray.
Why, you ask? I have my XP set up as indicated, but the Safely Remove still shows up occasionally. However, it does not seem to be functional, as I get no "OK to remove" message when clicked.

by older mycroft

But you have beaten me to it. Here's what I've got so far ...

Open Control Panel and expand the entry at Disk Drives. Right click on the USB device and select Properties. Click the Policies [TAB] and click on 'Optimize for Quick Removal'.

This will let the USB device be removed without invoking the 'Safely Remove Hardware' option. [b]HOWEVER, this action has to be taken while the USB device is actually inserted in the socket of the laptop, because the Quick Removal settings prevent the device from allowing any Disk Caching (that's the bit that 'Safely Remove Hardware' checks for in case it's still happening).[/b] [i]This might be considered by some to be an intrusion into personal liberties.[/i]

However, I'm still trying to figure out how to stop the icon appearing in the SysTray. I'm not having much luck with that.

It's a bit like trying to figure out how to cancel out all the colour on a television set, when the colour control hasn't been around in decades!!

by seanferd

Check this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[your network adaptors keys]

Check under the Enum key, make sure it is a PCI and not USB entry. If that is wrong, it is probably HP's fault. This needs to be fixed.

The hack (assuming it is correctly listed as PCI):
under each network adaptor key, create a DWORD DisableRemovable. This would probably need a data value of 1. If it works, export the keys and install on systems with the exact same hardware config.

Edit: Have you tried to see if this changes the behavior? Uninstall the affected devices from device manager and reboot for Windows to re-detect. Is it possible a driver update is needed? Perhaps the drivers are multi-purpose, and have simply installed/configured incorrectly for USB. In that case, I'd uninstall the drivers, then the hardware (in device manager), then install new drivers.

I keep wondering if this is an XP SP3 issue of some sort, whether the issue was introduced by MS or the OEM.

by michael.adams

I tried the DWORD values already, it did not work. Will test the enum setting tomorrow. Rebooting the laptop usually fixes the problem, Windows detects as a new hardware and reinstalls. Ocassionally it will not though, if the device is disabled it remains that way until I log on as the administrator and enable it.

by older mycroft

The 'Safely Remove Hardware' dialogue box features entries for all my multiple card readers and any virtual CD drives that happen to be mounted. It can get quite crowded in there sometimes! :^0

BUT I've never seen a Network connection being listed.

I was wandering down the erratic chain of thought that maybe these laptops were economy models and the motherboard was somehow sharing resources.

But I've not found anything online to substantiate my mental ravings.

This is a refreshingly new problem that's got me stumped for now. ;)

by michael.adams

I tested other HP laptops in the 6000 series, all of them have this problem. Looks like HP went the cheap way not thinking of the end user. I tried every reg hack I know including adding DWORD values to the nic itself to prevent removal but the safely remove hardware feature still rules..

by michael.adams

After racking my brain, it takes a lot of effort but it can be done.

The drivers by default load as a removable device, after changing the registry setting for each device, exporting them and creating additional policy to run on startup the problem is fixed.

by seanferd

I'll be bookmarking this discussion for future reference.

That is some odd behavior for the drivers, but I suppose the OEM might just use one install package for all possible devices requiring that driver.

Too bad you can't give yourself a "thumbs up" / "mark this answer as helpful".

This discussion is closed to new replies.