A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

WINEXIT.SCR - Logging Users Out



 
 
Thread Tools Display Modes
  #1  
Old May 6th 03, 02:08 AM
tony
external usenet poster
 
Posts: n/a
Default WINEXIT.SCR - Logging Users Out

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
Ads
  #2  
Old May 6th 03, 02:31 AM
David Candy
external usenet poster
 
Posts: n/a
Default WINEXIT.SCR - Logging Users Out

It saves it's settings in c:\windows\control.ini and sets this key in =
the registry (though you can do that via group policy) =
HKEY_CURRENT_USER\Control Panel\Desktop, SCRNSAVE.EXE=3Dwinexit.scr

--=20
http://www.g2mil.com/Apr2003.htm
http://prorev.com/forbesrussia.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"tony" wrote in message =
...
Hi,
=20
I have some Windows XP Professional SP1 PCs that I would=20
like to deploy out.
I would like the users to be logged out after a certain=20
amount of time if there is not any activity on the PC.
Now the problem is the PCs will NOT have any local users=20
other than an Administrator account. The users will be=20
pulled down from a Windows NT 4.0 Domain. So Users will=20
not have any or hardly any rights on the PC for writing=20
or changing files.
I have used the WINEXIT.SCR and it works fine with the=20
Admin account. But for a User it does not. You get an=20
error message that it is unable to write to REGVALUE (or=20
something like that. I do not have the message with me=20
now.)
Does anyone know what it is trying to write too? What=20
the users would need rights too for this to operate=20
correctly?
=20
Thanks...... Tony


  #3  
Old May 6th 03, 02:46 AM
Torgeir Bakken (MVP)
external usenet poster
 
Posts: n/a
Default WINEXIT.SCR - Logging Users Out

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/d...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...b;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


  #4  
Old May 6th 03, 03:07 AM
David Candy
external usenet poster
 
Posts: n/a
Default WINEXIT.SCR - Logging Users Out

It's the same as the NT3.51 one. You can tell cos it breaches NT4 rules =
by writing to control.ini.

However if you push a control.ini out it doesn't need to write that key. =
Control.ini is usually blank in XP unless using very old programs.

Also one would adjust permissions on this key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows =
NT\CurrentVersion\IniFileMapping\control.ini

not higher up.

This is the only registry key it writes and only if settings is clicked =
or the control.ini hasn't already been written. The display applet of =
course write the desktop key.
--=20
http://www.g2mil.com/Apr2003.htm
http://prorev.com/forbesrussia.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"Torgeir Bakken (MVP)" wrote in message =
...
tony wrote:
=20
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?

=20
Hi
=20
This is an known issue with the Win2k RK version, see further below =

(Win2k3 RK
I don't know).
=20
Are you using winexit.scr from the Win2k RK or from the Win2k3 RK?
=20
If you are using the one from Win2k RK, you could try the one in =

Win2k3 RK and
see if it works better:
=20
Windows Server 2003 Resource Kit Tools Download
=

http://www.microsoft.com/downloads/d...d467a69-57ff-=
4ae7-96ee-b18c4790cffd&DisplayLang=3Den
=20
(the kit will install on WinXP or later)
=20
=20
This is for the Win2k RK version (at least):
=20
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
=20
How can I use the WinExit screen saver without granting Admin rights?
http://www.jsifaq.com/SUBC/tip1100/rh1179.htm
=20
Logoff Screen Saver Does Not Function in Windows NT
http://support.microsoft.com/default...b;EN-US;156677
=20
=20
=20
--
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
=20
=20


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.