Solved

Performance counters for screensaver activity

Posted on 2011-02-18
7
345 Views
Last Modified: 2012-06-22
Hi all,

I have a strange problem where a couple of people's screensavers do not kick in after a set time.
I have investigated the issue and GPO results and the screensaver settings seems to be applied to the machines,
however a random couple of machines will not start the screensaver after the set amount of user inactivity on the machine.
I was wondering if someone could point me in the right direction as I would like to find out what performance monitors I can run to
check wether something is interupting the idle time?
What monitors can I set up to specifically monitor in-activity on the machine and perhaps also or even monitor the screensaver process itself?

Thanks,
0
Comment
Question by:queens2007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:andreizz
ID: 34924981
You should unplug the mouse to check if maybe that moves and disturbs the idle time.
0
 

Author Comment

by:queens2007
ID: 34925191
I have indeed tried this and it was down to that on one of the machines, it was using a wireless mouse and it all came down to the drivers. That machine is sorted now, however the others do not have the same mouse nor drivers, so I am not quite sure what it could be.
0
 
LVL 4

Expert Comment

by:andreizz
ID: 34925206
normally if you don't have any input devices it should go to the screensaver, try setting a smaller time to wait for the screenserver.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:queens2007
ID: 34925286
I have tried that I am afraid, I am thinking that it could perhaps be the drivers of the graphics card? But I will confirm this shortly.
0
 
LVL 3

Expert Comment

by:thomasd04
ID: 34926388
Hi queens2007. Perhaps running the command line tool POWERCFG -ENERGY could help point you in the right direction. Be sure to run it with elevated privileges.
0
 

Accepted Solution

by:
queens2007 earned 0 total points
ID: 34941153
Hi all. I have sorted this out myself, I have writen a script to monitor the SCR file when the process starts.
Here is teh code, thanks to you all however for your comments.
Regards,

strComputer = "."
Set objNetwork = CreateObject("WScript.Network")
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colMonitoredProcesses = objWMIService.ExecNotificationQuery("SELECT * FROM __InstanceCreationEvent Within 5 WHERE TargetInstance Isa ""Win32_Process"" And TargetInstance.Name = 'scrnsave.scr'")
Do While True
	Set objProcess = colMonitoredProcesses.NextEvent
	' Email variables:
	strServer = "xxx.xxx.xxx.xxx"
	strTo = "user@domain.com"
	strFrom = "monitor@domain.com"
	strSubject = "scrnsave.scr Detected on " & objNetwork.ComputerName & " by user " & objNetwork.UserName
	strBody = "Screensaver started OK. This is a live monitor that has triggered this e-mail once the scrnsave.scr sreensaver was triggered as a starting process" & VbCrLf
	SendEmail strServer, strTo, strFrom, strSubject, strBody, ""
Loop

Sub SendEmail(strServer, strTo, strFrom, strSubject, strBody, strAttachment)
        Dim objMessage
        
        Set objMessage = CreateObject("CDO.Message")
        objMessage.To = strTo
        objMessage.From = strFrom
        objMessage.Subject = strSubject
        objMessage.TextBody = strBody
  		If strAttachment <> "" Then objMessage.AddAttachment strAttachment
  		
        '==This section provides the configuration information for the remote SMTP server.
        objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        'Name or IP of Remote SMTP Server
        objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strServer
        'Server port (typically 25)
        objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25      
        objMessage.Configuration.Fields.Update
        '==End remote SMTP server configuration section==
 
        objMessage.Send
        Set objMessage = Nothing
End Sub

Open in new window

0
 

Author Closing Comment

by:queens2007
ID: 34978109
This solution works best for me in my situation
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question