Google Answers Logo
View Question
 
Q: Disabling Screensavers with Windows NT4 SP6a ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Disabling Screensavers with Windows NT4 SP6a
Category: Computers > Operating Systems
Asked by: stevecarroll-ga
List Price: $49.50
Posted: 25 Jun 2002 00:43 PDT
Expires: 25 Jul 2002 00:43 PDT
Question ID: 32779
Currently upgrading NT4SP3 workstations to NT4SP6a.  Under SP3, our
domain users (through profile editor -config.pol) were given a
mandatory screensaver (e.g. c:\winnt\system32\corpscreensaver.scr). 
For several workstations (**not** users), we removed the .scr file
from \system32\.  Essentially, machines that projected displays (PPTs,
etc) had their screen saver removed.  Under SP6a, if the
"corpscreensaver.scr" file is removed, the screen saver still
activates a blank screen (I think logon.scr).   I want to be able to
disable the screensaver on select machines, regardless of currently
logged in user, so modifying config.pol is not an option.  (I can't
determine in advance who will be briefing on a conference room
computer, for example.)
Answer  
Subject: Re: Disabling Screensavers with Windows NT4 SP6a
Answered By: lazerfx-ga on 25 Jun 2002 01:40 PDT
Rated:5 out of 5 stars
 
Hello Stevecarroll

This is a rather interesting question - how do you disable
screensavers on specific machines when all the users on a network have
screensavers activated?  It's something of a puzzler, and I have
enjoyed doing some research on the actions involved.

I have come up with three main aproaches:


Write/use a small program that goes into the Startup to disable
screensavers
------------------------------------------------------------------------
If you or someone in your organisation has VB programming experience,
you might be able to write a small program that goes into the startup
folder, or into the HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Run
registry key (To prevent unauthorised tampering) of those machines
that disables the screensavers.  Most pre-made programs contain
several other features, so I felt it best to point to a way of
disabling the screensaver through code and several of these
pre-written programs so you could make your own choice.

Zarr's VB Zone  - Disabling Screensavers
http://www.zarr.net/vb/download/codedetail.asp?code=210 - Free
Contains a code snippet that will disable the Screensaver through an
API call.  VB code.

Total Control Library
http://www.tfn.net/~whanson/total_control_library.htm - US $30
This appears to be a set of .DLL files that can be linked into
existing programs an allows you to do several things, including enable
and disable the screensaver.

Turn It On!
http://davlar.krasnodar.ru/en/turniton.html - Free
This is a systray application that enables you to launch, tune,
enable, and disable the screensavers.  In your circumstances this
would most likely be a non-possibility due to the potential for
tampering by unauthorised users.  However, I have included it in the
potential that you can use it.
--


Modify the registry to preven the Login.scr screensaver running.
----------------------------------------------------------------
Since you mentioned that you thought it was the login screensaver that
was running on that machine, modifying the registry to prevent the
login screensaver from running could prevent the screensaver from
appearing as default.

Windows Registry Guide - Preventing the Logon Screensaver from
Launching
http://www.winguides.com/registry/display.php/112/

From the website:
"Key: HKEY_USERS\.DEFAULT\Control Panel\Desktop
Value Name: ScreenSaveActive
Data Type: REG_SZ (String Value)
Value Data: (0 = disabled, 1 =enabled)"
--


Disable Screensaver through patching the Registry
-------------------------------------------------
If your security protocol allows modification of the registry through
.reg files, you can modify the HKEY_USERS\.DEFAULT\Control
Panel\Desktop\ScreenSaveActive key to be equal to "0" to prevent the
screensaver from activating.

The reg file would need to contain something like the following:

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

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"ScreenSaveActive"="0"

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


Security on NT Screensavers
---------------------------
As an aside to your problem, while I was searching I found the
following safety-lab.com security alert which might be of be of note
regarding screensavers

The Safety Lab - NT Screensaver Code Selection Vulnerability
http://www.safety-lab.com/audits/showauditinfo.pl?lang=en&num=736

From the website:
"If a user selects a executable as their screen saver, this code can
be forced to run as system."  Obviously this could potentially be a
security hazard.
--


I hope these three avenues of exploration lead to a result that allows
you to set your projection machines up without the screensaver
appearing.


Search Methodology:
NT4 "Disable Screensaver"
://www.google.com/search?sourceid=navclient&q=NT4+%22disable+screensaver%22

"Disable Screensaver"
://www.google.com/search?sourceid=navclient&q=%22disable+screensaver%22

Screensaver Registry
://www.google.com/search?sourceid=navclient&q=screensaver+registry

screensaver NT4 registry
://www.google.com/search?sourceid=navclient&q=screensaver+NT4+registry

LazerFX
stevecarroll-ga rated this answer:5 out of 5 stars
lazerfx, you rock!!!! The VB code link is **exactly** what I need. 
I'll compile it, add the .exe to the HKLM...CurrentVersion/Run hive. 
Once the user logs in, the ScreenSaveActive registry is set -then- the
startup stuff runs.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy