Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove Icon

Status
Not open for further replies.

rmv

MIS
Jul 26, 2002
80
US
How would I be able to remove the Unplug or Eject Hardware Icon for all users from the systray?
 
Why would you want to? If users still have physical access to yank the device then being able to shut it down will only prevent damage to the device.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
I'm sorry I should have explained my situation. I'm building a Windows 2000 Server with Citrix PM4. When all users connect to the server they see the icon on the bottom right hand corner. The desktop is locked down but some users for curiosity sake will still try to click on it and receieve an error. If the icon does not appear it'll help to prevent unwanted help desk calls. As Administrators we can just check the button do not show in taskbar but this settings is under the HKCU setting. The Reg key it actually modifies after selecing the check box is under a preference Reg key and not a true policies key so I'm having problems trying to create the .adm template for the key to use as a Policy. Trying to get others input who might of had accomplished this task already.
 
Group Policy - User Configuration - Administrative Templates - Start Menu and Taskbar - Hide notification area
I think that will hide the whole system tray - may accomplish what you need.
 
RVM...if you let me know the actual key and value, I'll create a ADM for you.

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
pgaliardo - Do you now which .adm template that Hide notification area is from. Under my Start Menu and Taskbar settings I do not have that option.

ncotton - The key is HKCU\Software\Microsoft\Windows\CurrentVersion\Applet\Systray\

DWORD Services with value = id(29)

This is the sample .adm file I've created which doesn't work.

CLASS USER

CATEGORY "Systray Settings"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Applets\SysTray"
POLICY "Remove Icons from Systray"
ACTIONLISTON
VALUENAME "Services"
VALUE NUMERIC 29
END ACTIONLISTON
END POLICY
END CATEGORY


Just a note it has a value = if(31) when the icon appears. When I select to not show Unplug/Eject icon on the taskbar it changes that key to = id(29)

Thanks everyone for your help so far.
 
RMV - don't exactly which template it is from. I only found it from the Group Policy editor.
 
pgaliardo - When you are in Group Policy Editor you can right click on Administrative Templates and select Add/Remove Templates and it'll show you the .adm files you are viewing. I think the Group Policy settings you are viewing are for XP workstations and not 2000 Server templates.
 
Let me back track - when I said Group Policy Editor that infers the local machine editor. I was referring to a domain wide policy. I am looking at a policy on an OU in Ad Users and Computers. It is a Windows 2000 server. Right Clicking on the admin templates gives me the following:
conf
inetres
system
wmplayer
wuau
Hope that helps.
 
rmv, look under

User Configruation
Administrative Templates
Start Menu and Taskbar

This should be part of the System.adm file. I don't have access to a 2000 system any longer, but my 2003 system has it in the same place as WinXP.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
RMV,
Isn't that the ADM file I modified for you last week. Last Thread

I tested it, and it works (as far as the registry change is concerned. It would need for the computer to be rebooted before the change would be visible. I didn;t check any physical system change, but for altering that registry key, it worked.

If it's not having the desired effect, then the problem lies somewhere else. Either that is not the right/only registry key, or there is a processing problem.

When you say the ADM "doesn't work", what do you mean...if you cant see your settings, you have to turn off the filtering for "Only show settings that can be fully managed", as this is a policy preference, not a true policy, therefore doesn't show up in the editor by default.

In the editor, highlight the Administrative Templates object > click View > Filtering > REMOVE CHECK / UNCHECK on "Only show policy settings that can be fully managed"

The GPO is right for changing the value. I even still have the ADM on my server.

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Neil,

Thank you for making me understand. The .adm file does work. We are running still on a NT 4.0 domain and I was incorporating that .adm file with our others. It shows up in poledit fine but when I selected the setting and saved it into our .pol file and rolled it out to our domain controllers it did not work. I opened the .pol file and realized that setting was not being saved. After I check the box off to enable it no matter what when I open the policy back up it shows the setting not enabled.

To resolve this issue I took your .adm file and emplemented it locally and rebooted and it went away. Guess I can't roll it out with our global policy but it works locally.

Thank you.

 
So once you push out the policy, what does the client registry read? Does it get changed? But then later/on reboot gets over writen....

On a test machine, apply only this policy to it, no others, not even default domain. See then.

Does NT let you specify non true policies?

I have never worked on an NT domain, so I can't give you much on processing for it.

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top