Solved

Performance counters for screensaver activity

Posted on 2011-02-18
7
344 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

734 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