MSTerminalServices.org Forums

Forums Home | FAQ | Search | Profile | Private Messages | Log in/Register/Password

Removing printers (session) on terminal server

Page 1 of 1
Next:  Windows 2000 TermServ Clients: Single user being disconnected at random intervals  
Author Message
tractng

External


Since: Nov 08, 2006
Posts: 5



(Msg. 1) Posted: Wed Feb 07, 2007 5:53 pm
Post subject: Removing printers (session) on terminal server
Archived from groups: microsoft>public>win2000>termserv>clients (more info?)

Guys,

I want to remove the printer session that is created by default from
the Terminal server 2003. Right now, by default it creates a session
that is the user's local printer.

How do I remove it?

my current script (just a brief versin).

TIA
tony

----------------------------------------------------------



REM @ECHO OFF



REM Relations

IF /I %USERNAME% EQU XX1 goto TCARelations
IF /I %USERNAME% EQU XX2 goto TCARealtions
IF /I %USERNAME% EQU XX3 goto TCARelations
IF /I %USERNAME% EQU XX4 goto TCARelations
IF /I %USERNAME% EQU XX5 goto TCARelations


REM Annual

IF /I %USERNAME% EQU XX6 goto TCAGiving
IF /I %USERNAME% EQU XX7 goto TCAGiving
IF /I %USERNAME% EQU XX8 goto TCAGiving
IF /I %USERNAME% EQU XX9 goto TCAGiving
IF /I %USERNAME% EQU XX10 goto TCAGiving
IF /I %USERNAME% EQU XX11 goto TCAGiving
IF /I %USERNAME% EQU XX12 goto TCAGiving





REM
------------------------------------------------------------------------------------------


:TCARelations
con2prt /f
con2prt /cd \\cmps1\cb2hp03a
con2prt /c \\cmps1\cb2hp03b
con2prt /c \\cmps1\cb2hp02a
con2prt /c \\cmps1\cb2hp02b
GoTo FINAL

:TCAGiving
con2prt /f
con2prt /cd \\cmps1\cb2hp08a
con2prt /c \\cmps1\cb2hp08b
con2prt /c \\cmps1\cb2hp06a
con2prt /c \\cmps1\cb2hp06b
Goto FINAL
Back to top
Send e-mail Login to vote
Display posts from previous:   
    All times are: Eastern Time (US & Canada) (change) Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Looking for more Terminal Services info?

Sign up to the MSTerminalServices.org Monthly Newsletter, written by Terminal Server MVP & Citrix CTP Stefan Vermeulen, containing news, tips, interviews, links of the month and much more. Subscribe today and don't miss a thing!

Become an MSTerminalServices.org member!

Discuss your Terminal Services & Citrix issues with thousands of other SBC experts. Click here to join!

Community Area

Log in | Register