locked
smartcardrequire.vbs AND high CPU Usage RRS feed

  • Question

  • one of our AD servers occasionally gets bogged down due to 100percent CPU usage.

    Upon investigating, we have discovered that cscript.exe is calling a VBS file "smarcardrequire.vbs" which is hogging up the CPU.

    We checked 3 other AD servers. 2 of them did not even have this file.

    the File smartcardrequire.vbs is located in <SYSTEMDRIVE>\Windows\Temp\

    A search for information on this file revealed nothing. Does anyone know what exactly is this file for and is it needed on  AD Server?

    Tuesday, January 7, 2014 4:05 PM

Answers

  • You can open the file in notepad (or right click the file in Windows Explorer and select Edit) to view the script. It may even have comments that help. From the title my guess is that it is checking and perhaps setting a bit of the userAccountControl attribute of users (that determines if a smartcard is required for logon). If the script makes no sense to you perhaps you can post it here so someone can tell you what it does. It may be flawed in some way to account for the high cpu usage. The script might be launched by a scheduled task.


    Richard Mueller - MVP Directory Services

    • Proposed as answer by Michael_LS Monday, January 13, 2014 2:40 AM
    • Marked as answer by Michael_LS Wednesday, January 15, 2014 1:23 AM
    Tuesday, January 7, 2014 6:10 PM

All replies

  • Sounds like a custom application or script you are using.  Who created this script?

    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA

    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012

    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook

    Microsoft Virtual Academy: Microsoft Virtual Academy

    This posting is provided AS IS with no warranties, and confers no rights.

    Tuesday, January 7, 2014 4:10 PM
  • Axemon, 

    Not a Windows file and not natively part of Active Directory.  You might check the Ownership of the file under the NTFS permissions in an attempt to track down where it came from. 

    Tuesday, January 7, 2014 4:22 PM
  • Good day

    We ran into this issue in our environment and what is curious is the issue matches exactly -- high CPU and the c:\windows\temp\smartcardrequire.vbs file.

    For us we have traced it down to be potentially related to "tripwire" so I'd urge you to see if you have that in your environment .

    Cheers

    William

    Tuesday, December 1, 2015 3:43 PM