Re: Are printer-related registry keys are safe to remove?

2011-03-31 Thread James Rankin
Indeed this appears to be the case. I created an AppSense logoff action to
delete the keys, and then create them again blank. This has stopped the
drastic over-population of these with printer entries, and has increased the
logon time for this subset of users.

Thanks!

On 30 March 2011 18:57, Ken Cornetet  wrote:

> Yes, they are safe to remove.
>
>
>
> I created a batch file with these two lines and call it from a group policy
> logoff script.
>
>
>
> reg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices" /va
> /f
>
> reg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\printerports"
> /va /f
>
>
>
> I will have to say, though, that this seems to make some user’s Citrix
> session hang (they never logoff after closing their last app). I will
> probably move this to a logon script at some point.
>
>
>
> Ken Cornetet 812.482.8499
>
> To err is human - to moo, bovine.
>
>
>
> *From:* James Rankin [mailto:kz2...@googlemail.com]
> *Sent:* Wednesday, March 30, 2011 4:01 AM
> *To:* NT System Admin Issues
> *Subject:* Are printer-related registry keys are safe to remove?
>
>
>
> There are two Registry keys - *HKCU\Software\Microsoft\Windows
> NT\CurrentVersion\Devices\* and *HKCU\Software\Microsoft\Windows
> NT\CurrentVersion\PrinterPorts - *that, in a terminal services
> environment, seem to fill up with vast amounts of printers, apparently
> enumerated from any user that has ever logged on. Now some older pieces of
> software seem to look here for their printer settings, to the extent that
> when there are approximately 500 entries in there, meaning that the printing
> from these apps is very, very slow. According to an MS article these keys
> are for *user preferences for print devices in Windows NT 4.0*, so, would
> I be right in assuming I could simply remove all entries from these keys at
> logoff without causing myself any problems?
>
> TIA,
>
>
>
> JR
>
> --
> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
> the machine wrong figures, will the right answers come out?' I am not able
> rightly to apprehend the kind of confusion of ideas that could provoke such
> a question."
>
> *IMPORTANT: This email is intended for the use of the individual
> addressee(s) named above and may contain information that is confidential,
> privileged or unsuitable for overly sensitive persons with low self-esteem,
> no sense of humour or irrational religious beliefs. If you are not the
> intended recipient, any dissemination, distribution or copying of this email
> is not authorised (either explicitly or implicitly) and constitutes an
> irritating social faux pas.
>
> Unless the word absquatulation has been used in its correct context
> somewhere other than in this warning, it does not have any legal or no
> grammatical use and may be ignored. No animals were harmed in the
> transmission of this email, although the kelpie next door is living on
> borrowed time, let me tell you. Those of you with an overwhelming fear of
> the unknown will be gratified to learn that there is no hidden message
> revealed by reading this warning backwards, so just ignore that Alert Notice
> from Microsoft.
>
> However, by pouring a complete circle of salt around yourself and your
> computer you can ensure that no harm befalls you and your pets. If you have
> received this email in error, please add some nutmeg and egg whites, whisk
> and place in a warm oven for 40 minutes.*
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>



-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
the machine wrong figures, will the right answers come out?' I am not able
rightly to apprehend the kind of confusion of ideas that could provoke such
a question."

*IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is confidential,
privileged or unsuitable for overly sensitive persons with low self-esteem,
no sense of humour or irrational religious beliefs. If you are not the
intended recipient, any dissemination, distribution or copying of this email
is not authorised (either explicitly or implicitly) and constitutes an
irritating social faux pas.

Unless the word absquatulation has been used in its correct context
somewhere other than in this warning, it does not have any legal or no
grammatical use and may be

RE: Are printer-related registry keys are safe to remove?

2011-03-30 Thread Ken Cornetet
Yes, they are safe to remove.

I created a batch file with these two lines and call it from a group policy 
logoff script.

reg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices" /va /f
reg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\printerports" /va 
/f

I will have to say, though, that this seems to make some user's Citrix session 
hang (they never logoff after closing their last app). I will probably move 
this to a logon script at some point.

Ken Cornetet 812.482.8499
To err is human - to moo, bovine.

From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Wednesday, March 30, 2011 4:01 AM
To: NT System Admin Issues
Subject: Are printer-related registry keys are safe to remove?

There are two Registry keys - HKCU\Software\Microsoft\Windows 
NT\CurrentVersion\Devices\ and HKCU\Software\Microsoft\Windows 
NT\CurrentVersion\PrinterPorts - that, in a terminal services environment, seem 
to fill up with vast amounts of printers, apparently enumerated from any user 
that has ever logged on. Now some older pieces of software seem to look here 
for their printer settings, to the extent that when there are approximately 500 
entries in there, meaning that the printing from these apps is very, very slow. 
According to an MS article these keys are for user preferences for print 
devices in Windows NT 4.0, so, would I be right in assuming I could simply 
remove all entries from these keys at logoff without causing myself any 
problems?

TIA,



JR

--
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into the 
machine wrong figures, will the right answers come out?' I am not able rightly 
to apprehend the kind of confusion of ideas that could provoke such a question."

IMPORTANT: This email is intended for the use of the individual addressee(s) 
named above and may contain information that is confidential, privileged or 
unsuitable for overly sensitive persons with low self-esteem, no sense of 
humour or irrational religious beliefs. If you are not the intended recipient, 
any dissemination, distribution or copying of this email is not authorised 
(either explicitly or implicitly) and constitutes an irritating social faux pas.

Unless the word absquatulation has been used in its correct context somewhere 
other than in this warning, it does not have any legal or no grammatical use 
and may be ignored. No animals were harmed in the transmission of this email, 
although the kelpie next door is living on borrowed time, let me tell you. 
Those of you with an overwhelming fear of the unknown will be gratified to 
learn that there is no hidden message revealed by reading this warning 
backwards, so just ignore that Alert Notice from Microsoft.

However, by pouring a complete circle of salt around yourself and your computer 
you can ensure that no harm befalls you and your pets. If you have received 
this email in error, please add some nutmeg and egg whites, whisk and place in 
a warm oven for 40 minutes.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Are printer-related registry keys are safe to remove?

2011-03-30 Thread James Rankin
Both those keys just appear to fill up with every printer that has ever
mapped on the Terminal Server, every time it populates. It is full of
printers "*from session x*" corresponding to other users on the Terminal
Server. The user can't see them in Devices and Printers, but they are all
dropped into these keys.

The sooner I bin these damned roaming profiles the better

On 30 March 2011 11:55, Ben Scott  wrote:

> On Wed, Mar 30, 2011 at 4:01 AM, James Rankin 
> wrote:
> > There are two Registry keys - HKCU\Software\Microsoft\Windows
> > NT\CurrentVersion\Devices\ and HKCU\Software\Microsoft\Windows
> > NT\CurrentVersion\PrinterPorts - that, in a terminal services
> environment,
> > seem to fill up with vast amounts of printers, apparently enumerated from
> > any user that has ever logged on.
>
>   Shouldn't anything under HKCU (HKEY_CURRENT_USER) be a per-user
> setting, and not from any user who has ever logged on to your Terminal
> Server?  Or is everyone logging on under one user account?
>
> -- Ben
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>



-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
the machine wrong figures, will the right answers come out?' I am not able
rightly to apprehend the kind of confusion of ideas that could provoke such
a question."

*IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is confidential,
privileged or unsuitable for overly sensitive persons with low self-esteem,
no sense of humour or irrational religious beliefs. If you are not the
intended recipient, any dissemination, distribution or copying of this email
is not authorised (either explicitly or implicitly) and constitutes an
irritating social faux pas.

Unless the word absquatulation has been used in its correct context
somewhere other than in this warning, it does not have any legal or no
grammatical use and may be ignored. No animals were harmed in the
transmission of this email, although the kelpie next door is living on
borrowed time, let me tell you. Those of you with an overwhelming fear of
the unknown will be gratified to learn that there is no hidden message
revealed by reading this warning backwards, so just ignore that Alert Notice
from Microsoft.

However, by pouring a complete circle of salt around yourself and your
computer you can ensure that no harm befalls you and your pets. If you have
received this email in error, please add some nutmeg and egg whites, whisk
and place in a warm oven for 40 minutes.*

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Are printer-related registry keys are safe to remove?

2011-03-30 Thread Ben Scott
On Wed, Mar 30, 2011 at 4:01 AM, James Rankin  wrote:
> There are two Registry keys - HKCU\Software\Microsoft\Windows
> NT\CurrentVersion\Devices\ and HKCU\Software\Microsoft\Windows
> NT\CurrentVersion\PrinterPorts - that, in a terminal services environment,
> seem to fill up with vast amounts of printers, apparently enumerated from
> any user that has ever logged on.

  Shouldn't anything under HKCU (HKEY_CURRENT_USER) be a per-user
setting, and not from any user who has ever logged on to your Terminal
Server?  Or is everyone logging on under one user account?

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin