How to detect and fix an abnormal client

Hello,
In my environment there is some abnormal client (there is only few actions in the client actions or its blank and in the sccm console the client is no or null)
Usually we run a script to rebuild the wmi repository and it fix that and if it doesn't, we uninstall and install the client.
the script:
net stop ccmexec
net stop winmgmt
del %windir%\system32\wbem\Repository
cd %windir%\system32\wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s
net start winmgmt
net start ccmexec
now my question is how can we detect when the client is abnormal(on the client)? (run a startup script?)
thanks a lot,
Gal

There is no need to check the abnormality from the client end as you will be able to see it as Non-Client when it doesn't report its inventory for certain period and also you can get it via querying through the DB..
What I ll suggest is create a query based collection to get the list of computers that did not report its hardware inventory for certain period of time, and you could get the troublesome clients..
Below query can be used to get the computers based on the its reporting time, change the day as per your convenience..
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId not in (select ResourceID from SMS_R_System where AgentName in ("Heartbeat Discovery") and DATEDIFF(day,AgentTime,GetDate())<=12)
Run the below query to get it from DB, change the collection it to your all systems, and the days required..
Declare @CloTbl table
[Associate ID] varchar(25),
[Computer Name] varchar(25),
[SiteCode] varchar(5),
[LastHWScan] varchar(255),
[Days Since HWScan] int
insert into @CloTbl select * from(
select Sys.User_Name0 as 'Associate ID',SYS.Netbios_Name0 as 'Computer Name', SIS.SMS_Installed_Sites0 as 'SMS Site', WS.LastHWScan,
DATEDIFF(day,WS.LastHWScan,GETDATE()) as 'Days Since HWScan' from v_R_System as SYS
join v_GS_WORKSTATION_STATUS WS on SYS.ResourceID = WS.ResourceID
join v_RA_System_SMSInstalledSites SIS on SYS.ResourceID = SIS.ResourceID
join v_fullcollectionmembership coll on SYS.ResourceID =coll.ResourceID
join v_GS_OPERATING_SYSTEM sys1 on SYS.ResourceID =sys1.ResourceID
WHERE coll.CollectionID = 'CA1000AA')P
select * from @CloTbl
where [Days Since HWScan] >'9'
order by [Days Since HWScan]
Hope it suffices..
bluerail

Similar Messages

  • How can detect and remove scanned white pages in an OCRd pdf file?

    How can detect and remove scanned white pages in an OCRd pdf file?

    Acrobat does not support an automated way of doing this directly. You can
    remove completely blank pages (pages that don't have any "marking
    objects"), but a scanned page does contain an image, so Acrobat won't help
    you here. There are a number of 3rd party applications and plug-ins
    available. Try a Google search for
    remove blank pages from scanned
    pdf<http://www.google.com/search?client=safari&rls=en&q=removeblankpagesfromscanned+pdf&ie=UTF-8&oe=UTF-8>
    This will bring up a few different solutions.
    Another way is to use JavaScript to find text. You say that these documents
    are OCRed, so if you have a blank page, it should not have any text on it.
    With some JavaScript, you can identify pages that don't contain text. This
    may however fail if you have a page that contains just e.g. a photographic
    image. There won't be any text, but the page is certainly not blank.
    Karl Heinz Kremer
    [signature removed by host]

  • 3.1.3.709: How to Verify and Fix a Possibly Corrupted Design?

    How to verify and fix, if necessary, a design that is likely to be corrupted? I first suspected I corrupted file when an attempt to reverse-engineer changes from the relation model to the logical did not work. After some investigation I found datamodeler.log file to which the following error was emitted whenever the reverse-engineer button was clicked: 2013-01-28 11:39:32,001 [AWT-EventQueue-0] ERROR MDBAction - java.lang.NullPointerException. This error message is reproducible. There are also additional warnings in the log whenever this particular design is opened such as [Thread-133] ERROR XMLTransformationManager - Unable to load object from XML: ..../model/dw/rel/A864FBB0-411F4EF06C86/table/seg_0/C4046530-1A69-AD31-6127-390C93D8F7F7.xml java.io.FileNotFoundException. The design has been moved from one Data Modeler version to another over the years. It is currently version controlled by SVN but, alas, I have not been able locate a fully functional copy from the repository. (People usually only use forward engineering from the logical model which appears to work fine most of the time.)
    I have investigated the design and located a single table object in the relational model that appears corrupted. It cannot be removed from the design with the DataModeler UI (nothing happend when I click on delete on the object menu). I then checked out a testing copy of the design and manually removed all the files with the object identifier in the file name. Additionally, I searched for xml blocks with a reference to the object identifier and deleted the corresponding blocks from those file. After that the reverse-engineering button began to function again. However, I am afraid of commiting a manually edited design to the repository as I am not certain that I have not broken something else.
    What is the recommended way to verify a design and fixing problems in it? Starting a new design from scratch is not an option since there is plenty of documentation within the design that cannot be easily obtained elsewhere. I could recreate the broken objects from the data dictionary if I first had a safe way to identify and delete them from the design.
    Best regards,
    Miikka

    Hi Mikka,
    thanks for the info provided.
    You can use following script to see wrong foreign keys - in form table_name.fk_name:
    log_rep = new Packages.oracle.dbtools.crest.swingui.LogReport(model.getAppView());
    log_rep.setName("wrong FKs");
    text = "";
    fks = model.getFKIndexAssociationSet().toArray();
    for(var i=0;i<fks.length;i++){
         fk = fks;
         if(fk.getRemoteIndex() == null){
              text = text + "\n" + fk.getLongName();
    log_rep.setLog(text);
    log_rep.showModalDialog(new java.awt.Dimension(750, 550));
    and following script to remove themfks = model.getFKIndexAssociationSet().toArray();
    for(var i=0;i<fks.length;i++){
         fk = fks[i];
         if(fk.getRemoteIndex() == null){
              fk.remove();
    Now you can remove the table if you want to. Save design at the end.
    Regards,
    Philip                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Contacts producing multiple entries as does calendar . How to stop and fix please.

    Contacts producing multiple entries as does Calender. How to stop and fix pls?

    ok easiest way it to restore to factory setting and start from there. When you go to do your first sync you don’t “sync contacts or calendar”. When you add mobile me onto your Ipad select all the services that you want to enable and then mobile me will keep everything in sync.
    If you need futher steps let me know

  • How to customize and fix permanently the size of web pages (zoom%) in Firefox as in Internet Explorer either: View - Zoom - Custom (percentage).

    How to customize and fix permanently the size of web pages (zoom%) in Firefox as in Internet Explorer either:
    View - Zoom - Custom (percentage).
    Thank you

    This may help you.
    https://support.mozilla.com/en-US/questions/894000

  • How to supervise (and fix) using BPEL web services in AIA?

    We have unbelievably many problems with using AIA & web services concerned. Is there any way of online monitoring using the web services, checking data/parameters provided and fixing what needed - before a disasters comes? The supervising layer should work WITHOUT the same environment (rather on the system level) in order to be on a qualitative much higher reliability level. I would gratefully appreciate any experience to help us from heavy problems...

    Hello,
    With one button you want to perform 3(Create, Update and Delete) operation
    To create:
    First check whether the data exist with full combination of Name,Desc and City.
    If not exist you can execute the create function.
    If exist, get confirmation to delete the item by pop up. Using item ID you can perform Delete operation
    To Update:
    How you want to update the item, by keeping unique value or combination of columns?
    based on that you can perform the update operation.
    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

  • How to Analyze and Fix?

    I'm trying to do an Analysis of Power Line Hum and then fix.
    I open STP, a multi track setup appears, I drag my file onto one of the tracks (though it's stereo it only appears on one track--odd), when I click on it it appears in the Film Editor window. I select the whole length of the file there, in the Analysis tab I check Power Line Hum and Analyze, it does, but everything at the bottom stays grayed out.
    How does one fix things using the Analysis tab?
    Thanks!

    Thanks for the tips, though I looked for Send and I don't see it.
    And if I do figure out how to do it--is 2x clicking get you the same thing--I believe I was in an audio project when I first tried to analyze and fix and all fix options were grayed out then so how will going there now change anything?
    Sorry, don't have the manual, but an audio file project is just where you have a big window on top and the Film Editor, etc tabs are blank, right?
    STP is a very difficult app that doesn't seem to follow a logic I can comprehend.

  • How safari detects and pops up 'scan credit card' link in keyboard ios 8.1?

    How safari detects the credit card number,CVV and security fields and adds 'scan credit card' link in keyboard. This s a new feature added in ios 8.1
    I want to check whether is there a way to disable it?

    An update.  Just after my first post I cleared history yet again, restarted yet again and started watching what I got when I tried to use the history to skip back a few pages.  Just now I discovered it was stuck on pages I visited at least 24 hours ago.  This is pure untested garbage, and I say that from the perspective of a 45 year IT career.
    I Miss Steve - and, yes, my iPad decided to capitalize that m all by itself...

  • General instability: how to troubleshoot and fix?

    I've noticed increasing instability on my iMac. Most applications work fine, but when I shut down, often many applications will refuse to--and I'm prompted to "force quit" them, one by one. This happens with Word, Seesmic, iTunes, Address book, browsers--across the board.
    Word seems to be the most unstable. It actually works fine, for the most part, but even during ordinary use I will often get the message that the application is not responding when I click on the icon. Usually I can use drop-down menus to keep on working--creating new files, and so on. But still it must be force-quit at the end.
    Often when I have a number of windows open, the system will take a long time to respond to requests, delaying a "close window" command by 30 seconds, for example (with spinning ball).
    I've repaired permissions, including booting from the OS X disk. I've also run repairs using diskwarrior, and inspected the hardware.
    How can I troubleshoot and fix this cross-application instability?

    Use SuperDuper along with what you do now.
    Add a Test user account on new clone of your system.
    It does sound like corrupt prefs and cache files though as well as the chance of still having a directory or bad sectors.
    I am a strong proponent of the SuperDuper plus Disk Warrior for system maintenance.
    As for Word/Office, possible but I'll leave that to others.
    And of course if you could really have two internal drives, system alone and 2nd for data or full user account so much the better. Newer iMacs can have an SSD and MacSales will add SATA or eSATA controller now ($169, in house) for iMacs.
    But if you have FW800 that could do the trick perhaps.

  • How to detect and delete double files like for iPhoto

    I have a high number of double photos in iPhoto and would like to know a possibility to detect and delete the doubled ones
    any idea for a reliable support tool
    thanks

    Are you looking for an option for you Mac/iLife version of iPhoto or the iPhone/iPad version of iPhoto for iOS? Since the pictures in iPhoto for iOS are from the built-in camera or synced with iPhoto on your Mac, I would guess you should look for a utility like that in the iPhoto of iLife forum.
    https://discussions.apple.com/community/ilife/iphoto
    -Doug

  • Adobe_flashplayer_e2c7b_Setup.dmg Is this malware? If so, how to detect and remove it?

    adobe_flashplayer_e2c7b_Setup.dmg 
    Is this malware? If so, what is the easiest way to detect and remove it?

    There is no need to download anything to solve this problem.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • How to install and use certificates on client?

    Hello everyone, and first of all sorry for my poor, italian-accented english.
    I have some questions about SSL and certificates. I'm developing a java desktop application, which should connect to a https server, authenticate with a previously downloaded certificate and then gain access. Some specs: I work on a Windows Xp Pro machine with Netbeans 6.1 and jdk 1.6.0_07.
    Now, I'm using HttpUnit libraries to connect the first time, login with basic authentication and download the certificate, but after i get it I'm not sure how to install the certificate (using java, it has to be an automated procedure) on the client machine and then how to use it to connect to the server. I've tried to use the code I've found here and after using it I can see the certificate inside Control Panel > Java > Securiy > Certificates > System, but I'm not sure I'm installing it in the correct way and/or in the correct path.
    Everytime I try to connect to the server I get back a HTTP 403 forbidden exception. Does someone know any tutorials/howtos/example codes to suggest to me? Or could tell me what's the right installation procedure using java? Any help would be very appreciated.
    Thanks in advance
    K.

    After banging my head on my keyboard for a lot of hours, I've got it!
    I was trying to install a *.pfx certificate, and that was bad. I tried to convert it in *.p12 or *.cer but that workaround didn't work. Finally I've found a small code to use a *.pfx certificate without installing it and... it works! No more 403 errors now, I can get that damn page. :)
    Here is the class I've used (I've found it somewhere googling around but I've lost the link, sorry. Anyway, I've modified it a little)
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    public class ConnectWithPfx {
       static final int HTTPS_PORT = 443;
       public static void main(String argv[]) throws Exception {
          // Get a Socket factory
          SocketFactory factory = SSLSocketFactory.getDefault();
          SSLSocketFactory socketFactory = null;
          try {
                KeyStore keyStoreKeys;
                KeyManagerFactory keyMgrFactory;
                SSLContext sslContext;
                keyStoreKeys = KeyStore.getInstance("PKCS12");               
                keyStoreKeys.load(new FileInputStream("mycertificate.pfx"),"certpassword".toCharArray());
                keyMgrFactory = KeyManagerFactory.getInstance("SunX509");
                keyMgrFactory.init(keyStoreKeys, "certpassword".toCharArray());
                sslContext = SSLContext.getInstance("SSL");
                sslContext.init(keyMgrFactory.getKeyManagers(), null, null);
                socketFactory = sslContext.getSocketFactory();
                Socket socket2 = factory.createSocket("www.my.host", HTTPS_PORT);
          } catch (Exception e) {
                e.printStackTrace();
            URL url = new URL("https://www.my.host/mypage");      
            // Open a HTTP connection to the URL assigning the SocketFactory we created before
            HttpsURLConnection conn = null;
            conn.setDefaultSSLSocketFactory(socketFactory);
            conn = (HttpsURLConnection) url.openConnection();              
            // Allow Inputs
            conn.setDoInput(true);
            // Allow Outputs
            conn.setDoOutput(true);
            // Don't use a cached copy.
            conn.setUseCaches(false);
            conn.setRequestProperty("Connection", "Keep-Alive");
            BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            String response = "";
            while ((line = in.readLine()) != null) {
                response += line+"\n";
            System.out.println(response);
    }Hope this could be useful for someone else. Thanks to everyone who read or replied to my thread. :)

  • How to create and run J2EE application client for Hello World EJB

    Hi
    I am new to NWDS EJB deployment.I have created a "Hello World" bean. But how to deploy it and run using a J2EE application client step by step.
    Also please help in the steps of the deploy tool.
    Thanks in Advance

    Hi Ananda
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/600e64a6793d419b82a3b7d59512a5/content.htm
    cheers
    Sameer

  • Form errors. How to understand and fix them, any help?

    Hello,
    I have been getting multiple errors in a form I created, I copied and pasted items from another form and change the content.
    Here is what I am seeing, anyone have suggestions on how I can fix this?

    Depending on the product you used to create the form, post in the related forum.  This is the Adobe Reader forum.

  • How to clean and fix up Macintosh 128k?

    Hello,
    I recently received an original Macintosh 128k (M0001), and would like to use it. I have the ImageWriter, mouse, keyboard, and disks. The mouse and keyboard have been cleaned, but I was wondering how/where I can get the Macintosh and printer cleaned. Anything else? I have tried booting up the computer (without disks), and luckily, no Sad Mac appeared!
    So,is there anyone out there who is good with classic Macs?
    Thanks!

    The original 128k Mac is very valuable, they're worth hundreds even in average condition. This one sold for almost $3000.
    The sizzling sound may be arcing due to a failing high voltage (flyback) transformer. Charge attracts dust, which tends to be slightly conductive, which causes current to leak around the flyback and accelerate its demise. Simply cleaning all the black dust off the conductors may fix it, but when the internal winding insulation degrades it will eventually fail. Fortunately parts are readily available and not terribly expensive. When the flyback transformer fails it's easiest to simply replace the entire "analog / power" board, but the transformers are available too. CRTs themselves last practically forever - burn-in is the issue with them.
    Classic Macs are easy to fix, but don't crack the case unless you are familiar with electronics and especially the high voltages used for CRTs. Apple used bleeder resistors but if it failed open you'd have no way of knowing.
    I have not had a single problem with Imagewriter printers. No rubber degradation whatsoever. Vacuum out the dust once in a while and drop a very tiny bit of light machine oil on the carriage slide if it becomes dry. If it becomes dry linear scratches will appear. Avoid using alcohol on the platen. The print heads themselves will eventually wear out but they're easily replaced too. Replace the ribbons before they become too worn or you will accelerate the print head's demise also.
    I routinely use a 24 year old Imagewriter II with my OS X Lion iMac. It's never needed any attention. They're bulletproof.

Maybe you are looking for

  • Help understanding "KERN_INVALID_ADDRESS " and "NSLock Errors"

    Hello, Could someone indicate me a direction to help *finding the cause of* the following errors ?: (Adobe still does not give me an answer neither Apple do). – KERNINVALIDADDRESS – EXCBADACCESS (SIGSEGV) – _NSLockError() I am experiencing a lot's of

  • My iMovie is taking Ridiculously Long to Import Videos

    I am going to start from the beginning here. My iMovie has been taking unbelievably long to import movies, and I do not know why. My movie is recorded from my Hauppauge HD PVR, a recording device used to record the screen of my Xbox360. When the movi

  • Seeburger - Mapping - Classifier Module

    Within the Sender communication channel I am specifying classifierMappingID = MVVM The error log on the communication channel says it is trying to load map XML_MVVM Where is the XML_coming from within the BIC MD I have AnsiX12_MVVM (which is what i w

  • 10.6.4 Crashing  After New Installation Yesterday...

    Yesterday I installed 10.6.4 on a cloned volume on an external drive. Since then my iMac has crashed three times; in the previous seven years of using OS X I only experienced one kernel panic. I am copying the pertinent part of the crash report becau

  • Sequence keeps looping?

    Every time I launch FCP I seem to have a new issue that crops up. Today - for some reason- the Timeline scroll bar is looping back to the start of a sequence whenever it gets to the end of the timeline. It used to just park at the end of the last cli