[gptalk] Re: Custom ADM policy for Terminal Services sessions only

  • From: "Salandra, Justin" <jsalandra@xxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Mon, 14 Apr 2008 14:18:19 -0400

Why not try to use Group Policy Preferences within the RSAT Tool and
apply it using loopback processing against Terminal Servers?

 

Justin A. Salandra

Network Engineer

 

 

________________________________

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Scott Bailey
Sent: Friday, April 11, 2008 10:03 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Custom ADM policy for Terminal Services sessions only

 

Hello All,

I have created a custom ADM file for mapping network printers for our
Windows 2003 terminal services.

 

1. I want the policy to only get applied to the terminal services
sessions and not the workstations the end users is logging on to. It is
currently doing both.

2. Is there a way to modify the KEYNAME using the GPMC instead of coding
it in the ADM file for future need of printer change outs.

I have 4 different printers so I have 4 ADM files, I cannot use loopback
processing.

 

Thanks for any input on this!

 

===================================

CLASS USER
CATEGORY "Windows Components"
CATEGORY "Terminal Services"
CATEGORY "Custom Installed Printers"

 

KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Windows"

 

POLICY "PrinterName"

 

 #if version >= 4
 SUPPORTED !!TS_SUPPORTED_Win2k3_Sp1
 #endif

 

EXPLAIN !!PrinterDef
   PART "Default Printer"
   EDITTEXT
   DEFAULT "\\Server\PrinterName,winspool,Ne11
<file:///\\server\PrinterName,winspool,Ne11> :"
   VALUENAME "Device"
   END PART

 

   KEYNAME "Printers\Connections\,,Server,PrinterName"
   PART "Provider"
   EDITTEXT
   DEFAULT "win32spl.dll"
   VALUENAME "Provider"
   END PART

 

   PART "Server"
   EDITTEXT
   DEFAULT "\\Server <file:///\\server\> "
   VALUENAME "Server"
   END PART


END POLICY
END CATEGORY
END CATEGORY
END CATEGORY

 

[strings]
User="User"
TS_SUPPORTED_Win2k3_Sp1="At least Microsoft Windows Server 2003 with
SP1"
PrinterDef="Definition

DISCLAIMER:
This electronic mail message and any attached files contain information
intended for the exclusive use of the intended addressee and may contain
information that is proprietary, privileged, confidential and/or exempt
from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any viewing, copying, disclosure
or distribution of this information may be subject to legal restriction
or sanction. Please notify sender if you are an unintended recipient and
delete the original message without making copies. Thank you.


"IMPORTANT NOTICE: The information in this email 
(and any attachments hereto) is confidential and may be 
protected by legal privileges and work product immunities. 
If you are not the intended recipient, you must not use or 
disseminate the information. Receipt by anyone other than the 
intended recipient is not a waiver of any attorney-client or work 
product privilege. If you have received this email in error, please 
immediately notify me by "Reply" command and permanently 
delete the original and any copies or printouts thereof. Although 
this email and any attachments are believed to be free of any virus 
or other defect that might affect any computer system into which it
is received and opened, it is the responsibility of the recipient to 
insure that it is virus free and no responsibility is accepted by 
Transatlantic Reinsurance Company or its subsidiaries or affiliates 
either jointly or severally, for any loss or damage arising in any way 
from its use."



Other related posts: