Solved

Performance counters for screensaver activity

Posted on 2011-02-18
7
338 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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…

863 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

25 Experts available now in Live!

Get 1:1 Help Now