PDA

View Full Version : WINEXIT.SCR - - Logging Users Out


Tony
December 5th 03, 08:04 PM
Hi,

I have some Windows XP Professional SP1 PCs that I would
like to deploy out.
I would like the users to be logged out after a certain
amount of time if there is not any activity on the PC.
Now the problem is the PCs will NOT have any local users
other than an Administrator account. The users will be
pulled down from a Windows NT 4.0 Domain. So Users will
not have any or hardly any rights on the PC for writing
or changing files.
I have used the WINEXIT.SCR and it works fine with the
Admin account. But for a User it does not. You get an
error message that it is unable to write to REGVALUE (or
something like that. I do not have the message with me
now.)
Does anyone know what it is trying to write too? What
the users would need rights too for this to operate
correctly?

Thanks...... Tony

Torgeir Bakken (MVP)
December 5th 03, 08:04 PM
Tony wrote:

> I have some Windows XP Professional SP1 PCs that I would
> like to deploy out.
> I would like the users to be logged out after a certain
> amount of time if there is not any activity on the PC.
> Now the problem is the PCs will NOT have any local users
> other than an Administrator account. The users will be
> pulled down from a Windows NT 4.0 Domain. So Users will
> not have any or hardly any rights on the PC for writing
> or changing files.
> I have used the WINEXIT.SCR and it works fine with the
> Admin account. But for a User it does not. You get an
> error message that it is unable to write to REGVALUE (or
> something like that. I do not have the message with me
> now.)
> Does anyone know what it is trying to write too? What
> the users would need rights too for this to operate
> correctly?

Hi

This is an known issue with the Win2k RK version, see further below (Win2k3 RK
I don't know).

Are you using winexit.scr from the Win2k RK or from the Win2k3 RK?

If you are using the one from Win2k RK, you could try the one in Win2k3 RK and
see if it works better:

Windows Server 2003 Resource Kit Tools Download
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(the kit will install on WinXP or later)


This is for the Win2k RK version (at least):

If the users are non-admins on the local computer you must add Set Value and
Create Subkey permissions for the group Everyone on this registry key:
HKEY_Local_Machine\Software\Microsoft\WindowsNT\Cu rrentVersion

How can I use the WinExit screen saver without granting Admin rights?
http://www.jsifaq.com/SUBC/tip1100/rh1179.htm

Logoff Screen Saver Does Not Function in Windows NT
http://support.microsoft.com/default.aspx?scid=kb;EN-US;156677


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter

Google