Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

2K Terminal Services - Hiding Control Panel Icons etc

Thread Tools
 
Search this Thread
 
Old 17 June 2002, 02:37 PM
  #1  
Mr Footlong
Scooby Regular
Thread Starter
iTrader: (7)
 
Mr Footlong's Avatar
 
Join Date: Jun 2001
Location: Stalking Kate Beckinsale
Posts: 4,265
Likes: 0
Received 0 Likes on 0 Posts
Question

Hi guys, I have a quick question regarding hiding icons within terminal server sessions. I have restricted rights down, such as no change date/time and add/remove progs lets them in, but refuses to manipulate programs, so half way there. Is there an easy way to do this. I haven't noticed it whilst tweak the domain policies.

Cheers,

Nick
Old 17 June 2002, 02:48 PM
  #2  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Rename all files with the ext cpl in login script then rename them back at logout..

ren *.cpl *.cph
ren main.cph main.cpl - to show this one.

ren *.cph *.cpl

David
Old 17 June 2002, 03:39 PM
  #3  
Mr Footlong
Scooby Regular
Thread Starter
iTrader: (7)
 
Mr Footlong's Avatar
 
Join Date: Jun 2001
Location: Stalking Kate Beckinsale
Posts: 4,265
Likes: 0
Received 0 Likes on 0 Posts
Smile

cool enough idea, but that would also hide them on the server's screen too. I searched for all of the cpl modules and selectively reduced the rights to only admin, system and server operator objects. Worked a treat. They can see all of the icons, but most of them do nothing when they try to run them, only the ones that I want run. Is there any way that I can deny access to the cdrom drive on the server to the terminal users? I am sure that there is a way throught the policies, I just can't find it....

Cheers for the help mate

Cheers,

Nick
Old 17 June 2002, 04:09 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

use kix and do something like..

If ingroup("Domain Admins") = 0 Or @WKSTA = "Server01"
Shell "CMD /C Ren Drive:\Path\*.cpl *.cph"
EndIf

To hide the cdrom you need to use the opposite of this script that I wrote in vbscript..

' ************************************************** *************
' * Enumerate CD-Rom Drive Letter and Change Visible Drive Mask *
' * David Wallis, PC / Server Support *
' ************************************************** *************
On Error Resume Next
Dim FSys, xDrive, xDrives, intTestAsc

Set WShell = CreateObject("Wscript.Shell")
Set FSys = CreateObject("Scripting.FileSystemObject")
Set xDrives = FSys.Drives
intCurrValue = "" ' Set to avoid problems with an empty reg key and using <> 0

For Each xDrive in xDrives
If xDrive.DriveType = 4 Then
intAsciDriveLetter = (Asc(xDrive.DriveLetter))
intTmpValue = intAsciDriveLetter - 64
intDecValue = 2 ^ intTmpValue
intTmpValue = NOT(intDecValue)
intcurrValue = WShell.RegRead("HKCU\Software\Microsoft\Windows\Cu rrentVersion\Policies\Explorer\NoDrives")
If intCurrValue <> "" Then
intNewValue = intTmpValue AND intCurrValue
RetCode = WShell.RegWrite("HKCU\Software\Microsoft\Windows\C urrentVersion\Policies\Explorer\NoDrives", intNewValue,"REG_SZ")
End If
End If
Next

Set xDrive = Nothing
Set xDrives = Nothing
Set FSys = Nothing
Set WShell = Nothing

Click on edit post to see formating...

This was to unhide cdroms for users, but you could adapt...


You could also just hide the control panel icon???

Edited to add but them bits dont matter... should read more carefully...

David

[Edited by David_Wallis - 6/17/2002 4:11:37 PM]
Old 17 June 2002, 04:13 PM
  #5  
Mr Footlong
Scooby Regular
Thread Starter
iTrader: (7)
 
Mr Footlong's Avatar
 
Join Date: Jun 2001
Location: Stalking Kate Beckinsale
Posts: 4,265
Likes: 0
Received 0 Likes on 0 Posts
Post

Cheers. I too have just realised that by as well as disabling install rights and making the add/remove icon defunct for termainal users, they won't be able to install any software anyway.
DOH!

Thanks for your time mate
Old 17 June 2002, 04:21 PM
  #6  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

dont count on it... i would still remove the icon.. in fact I would hide all drives apart from floppy and network drives..

Drop me a mail at david.wallis@ventura-uk.com if you need anything else.

David
Old 18 June 2002, 09:43 AM
  #7  
Jodster
Scooby Regular
 
Jodster's Avatar
 
Join Date: Dec 2001
Location: Sutton, Surrey
Posts: 536
Likes: 0
Received 0 Likes on 0 Posts
Post

I setup 10 terminal servers under NT4 for the Big Bank. Used a policy to restrict the users from seeing control panel icons, and the A,C,D and CD-Rom drives on the server (use a Kix script to map their appropriate drives). Also used ZAK elements to apply stringent permissions on all files and folders and then hid everything on the drives. This should be secure enough for our users
Old 18 June 2002, 10:08 AM
  #8  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Jodster... Thats secure for a big bank Id love to come login there!!

David
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Abx
Subaru
22
09 January 2016 05:42 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM



Quick Reply: 2K Terminal Services - Hiding Control Panel Icons etc



All times are GMT +1. The time now is 12:39 AM.