Solved

Performance counters for screensaver activity

Posted on 2011-02-18
7
340 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

815 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now