Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Anyone get winexit.scr to work in Win7?

04 Mar 2010   #1

Windows 7
Anyone get winexit.scr to work in Win7?

Trying to get an idle-timed auto log out. In Win XP, was able to use Winexit.scr. however, can't get it to work in Win7. has anybody had any luck?

I tried editing the applicable registry settings as indicated here: Logoff Screen Saver Does Not Function in Windows NT

Please see my permissions screenshot below.

Why wont this work?

Tried this on WIn7 Ultimate and Home Premium, both 64 bit versions.

Attached Thumbnails
Anyone get winexit.scr to work in Win7?-capture.png  
My System SpecsSystem Spec
04 Mar 2010   #2

Windows 10 Pro (x64)

Why do you need a special screensaver for something built in?
(You could also create a scheduled task to do the samething.)

Attached Images
Anyone get winexit.scr to work in Win7?-untitled.png 
My System SpecsSystem Spec
04 Mar 2010   #3

Windows 7

This only "locks" the user's workstation and doesn't actually log the user out. Winexit allowed me to:

1) Log out the user entirely.
2) Displayed a message to the uesr.
3) Allowed me to set a countdown in 30 seconds, etc.

These three items is what I'm looking for. Haven't found a solution. shutdown.exe /l doesn't work with -t -c flags. And setting that to the idle trigger in task scheduler -- I can't get idle trigger to work in task scheduler.

I'm looking for some help I guess in getting the idle trigger to work. Then I'd just set two tasks, one that displays a message @ 15 minutes, and one that logs the user out at 17 minutes using the shutdown.exe /l.
My System SpecsSystem Spec

30 Apr 2010   #4

windows 7 32bit

this taken from How can I: Auto log user off after xx minutes? Shutdown.exe doesn't work with -l -t -c (why not!)

In order for non-administrators to be able to use WINEXIT, you must add Set Value and Create Subkey permissions for the group Everyone on the following registry key:
HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini
To do this, use the following steps:

NOTE: You must be logged on with administrative rights to make these changes.

1. Start Registry Editor (Regedt32.exe).
2. Open the following key [by right-clicking control.ini]:
HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini
3. click Permissions.
4. In the Name box, click or add Everyone, and then click the ADVANCED box for special permissions.
5. Click to select the Set Value and Create Subkey check boxes.
6. Click OK, and then click OK.
7. Quit Registry Editor, and then restart the computer.

I have personally confirmed this to work on a windows 7 32bit htpc...lovin it
now to figure out how to change the message in the logoff box...
My System SpecsSystem Spec
16 Jul 2010   #5

Windows 7

In case someone else searches, please see the solution below:
Those instructions are not quite correct for Windows 7-64bit (Enterprise)
2. Open the following key [by right-clicking control.ini]:
HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini

Here is the correct key for which you need to change permissions:
HKEY_Local_Machine\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini

The rest of the instructions are fine.

I've just done it, and it got rid of the the "Error encountered while creating registry key." problem.
My System SpecsSystem Spec
03 Aug 2010   #6

Win 7 Ultimate
What worked here

1) Copied:
You have to have local admin rights to do this.
2) Change Registry as posted above:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini
3) Reboot
4) Login, change your screensaver to LogOff Screen Saver and configure settings.
5) Copy:
You have to have local admin rights to do this.
Contents of my control.ini file is:
[Screen Saver.Logoff]
DialogMessage=No user activity is being detected. Preparing to log off the
This seems to apply to all users who have winexit as their screen saver.
Best of Luck
My System SpecsSystem Spec
21 Sep 2010   #7

Windows 7

I found winexit.scr to be a bit inadequate for my needs so I put together a better version of it and it's now available for free at

It's quite customizable and can be locked down as needed. No need to mess with registry permissions or control.ini.
My System SpecsSystem Spec
21 Sep 2010   #8

Windows 7

I know the last time the poster above posted, it was deleted. Mods, please don't delete. I tried it, its actually a good program and is freeware.
My System SpecsSystem Spec
22 Sep 2010   #9

Windows 7

Thanks for the thumbs up. I do a lot of this stuff for work (scripts, utilities, weird workarounds) and I like to share my work!
My System SpecsSystem Spec
14 Jun 2011   #10

Windows 7 Ultimate x32 and x64, Windows Server 2008 R2

For those that find this page, as I did, years later You can use the following Powershell to automate the Registry Permissions necessary to make Winexit work under Windows 7x64 and Server 2008 R2 x64

$WinExitAcl = Get-Acl "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\IniFileMapping\control.ini"
$rule = New-Object System.Security.AccessControl.RegistryAccessRule("Users","SetValue, CreateSubKey","ContainerInherit, ObjectInherit","None","Allow")
Set-Acl "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\IniFileMapping\control.ini" $WinExitAcl
My System SpecsSystem Spec

 Anyone get winexit.scr to work in Win7?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Can boot with Win7 DVD but once logged into Win7 CD doesn't work
I have an HP laptop nc6400 running Windows 7 SP1. I am having problems with the CD player - it doesn't recognize any CDs I put in! When I try to put in a CD, it ejects the drive and comes up with the message "Please insert a disk". I have a Win7 SP1 (burned) disk. When I put in this disk, and...
Hardware & Devices
Win7 doesn't work (I can't log in).
I have a problem with Windows 7, I'll start from the beginning: Using Smarty Uninstaller I removed some game yesterday. After removing I stopped the program and I removed the "remnants" with the command "Force uninstall" (do not know if this has any connection, but this was the last thing I did...
Does GTA SA work on Win7 32bit
Hello, i have used google a lot but havnt solved the issue yet. I started it and it ran awsomely. No single problem, untill after som scenes in the game, it just crashes. Now it wont even start at all. Been trying the different compabilities. None worked. Still no start. Been searching for...
Is there a work around if Win7 x32 setup file wont work on Win7 x64
HI, I have dictionary called the Unified Medical dictionary English-Arabic anyway, i have the ISO file i installed it on Win7 x32 with no problem but i tried to install it on Winx64 but it says an error like "the setup file is not compatible with Win7 x64" I tried to search for the...
Home Net work on a win7 32 & 64 bit pc's
I have got a desktop pc running on win7 32 bit and I just bought myself a laptop running on win7 64 bit (both are win7 Home Premium). I have a wireless router (a BT HOME HUB 2, which is hard wired to the desktop pc) I want to be able to connect my laptop to the home desktop pc via a wireless...
Network & Sharing
SB Titanium will not work under Win7
I've posted elsewhere here about my Win7 upgrade. I run a Dell XPS 420. Upgraded to Win7 x64 Ultimate (no regrets overall - love it!). But my SoundBlaster X-Fi Extreme Audio would no longer record "What U Hear." Creative admitted that X-Fi Audio cards will not record What U Hear under Win7. They...
Sound & Audio

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:03.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App