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!

Hiding System Tray for users

Status
Not open for further replies.

Hayley78

Technical User
Sep 27, 2002
46
US
Hello!!!

I would really appreciate your suggestion's on this?!

I would like to hide the system tray for all users in windows 2000, I have been trying to use the MSCONFIG, but it still allows the users to unhide them.
And I'm having a problem with the end users disabling the wireless card's on the system tray? And then getting panic calls saying that the network has gone down.
(FYI I's IT Tech in a College).

Thanks in advance for your help.

Kind Regards

Hayley!
[noevil]
 
Open notepad and copy paste the below. Save as Hide_tray.vbs :

********* start copy/paste below this line
Option Explicit
On Error Resume Next

Dim WSHShell, p, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")

p=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoTrayItemsDisplay"
itemtype = "REG_DWORD"

WSHShell.RegWrite p, 1, itemtype

Set WshShell = Nothing

*********** end copy/paste

The script can be placed in your logon script for each user.
 
Afternoon BCastner,

Thank-you ever so much for your Reply.
I have done as you suggested and applied that to the login script, But unfortatly I get an error on line 7, when it's trying to apply?
I have tried to trouble shoot it myself, but unfortantly I don't know enough about scripts to do so.
Please could you tell me what I might be doing work?!

Kind regards

Hayley
[nosmiley]
 
Forgot a quotation mark, sorry. Revised:
********* start copy/paste below this line
Option Explicit
On Error Resume Next

Dim WSHShell, p, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")

p="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoTrayItemsDisplay"
itemtype = "REG_DWORD"

WSHShell.RegWrite p, 1, itemtype

Set WshShell = Nothing

*********** end copy/paste

 
Thanks BCastner,


I'm gonna get that tested today on some Student test Accounts that have been set up!

I'll keep you updated!

Thanks again.
 
bcastner,
How do you it....

Alway's got the answer...
Do you have a direct link to MS, with keyword built in?

Any link other than the MSDN link I have would be appreciated. Seem's like I'm having to do alot of this stuff lately.

I'm trying for...

1.Disable Right Click on Start Button
Or Hide... Open, Explore
Managed to hide the Search already...

2.Hide Settings on Start Menu
Managed to hide everything within except Taskbar & StartMenu
This is the must, I don't want them to make changes.
I have a couple things in place, but not working!
Can I hide the Taskbar entirely???

3.Hide Programs on Start Menu
Managed to hide everything within except...
Programs, StartUp
However, By changing the security settings on both of these folders and Denying Access to them would be an acceptable alternative if I can't hide them as well.

I did notice, by denying access to startup folder, my script file would not run!

Fixed by adding a new Run Key, then adding a string that pointed to the script.
Is that the correct method? It's working!


I managed to find alot of these strings...
NoContr... NoPrinter, ect...
By searching a few different PC's.
A reference to these would be great!
I know I've added more than I need to my script, and would like to remove the un-neccessary ones.

Seems like you need others.... To make another work.
Example Printers... Had a hard time with this one.

Thanks
Carl

AccessGuruCarl
Programmers helping programmers
you can't find a better site.
 
Hello BCastner,


I have applied the ammended code, But it doesn't make any changes!?
Would this code work for 2k? as I know that the registry key that it changes works in XP. But it doesn't seem to work in 2000.

Is there anything else that I could try? Or do you think that I'm applying it wrong??

Thanks again for your Help!

Hayley,
[2thumbsup]
 
Hayley78

Did it work for you?

bcastner:
The only thing I have running is PC Anywhere!

It still shows up in the TaskBar/System Tray?

Or is it just a clever way for PC Anywhere to place it on the Taskbar, Is there a way to test this?

I'll add the volume control back to see if in deed the System Tray is hidden?

Post back my result later.

Carl

AccessGuruCarl
Programmers helping programmers
you can't find a better site.
 
AccessGuruCarl,

You read sites and take notes. For example for the issues you raised, poke around in:
I am one of many MS-MVps on Tek-Tips. My award was in Windows Networking. And yes I do have "special access" as am MVP to Microsoft but rarely use it. The only recent example I can think of was to raise issues about Win2k SP4 problems, or to add my voice as an MVP to a real issue with an update. Any workarounds for a pressing and hot issue I usually make a lightbulb post here, or in the XP or Browser forum.

But my best resource is Google.
Learn to Google well. For example, I would preface a Google query for many of of the questions above with:

"windows 2000" registry hide taskbar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top