Script fix for error 15

Posted on 2009-04-20
Last Modified: 2012-05-06
Automatic certificate enrollment for local system failed to contact the active directory

I get this on a lot of systems and I am trying to locate where in the registry I can set "Do not enroll certificates automatically" as I want to make a simple script that regwrites over this setting to eliminate the issue.  If you could point me in the right direction I would be very grateful.

Question by:MikeLyons74
    LVL 10

    Accepted Solution

    You'll see a key in both of those that says AEFlags set to 1, change that to 0

    I'm almost positive, so try it on a test system first that gets that error before setting a network wide script.

    Author Comment

    Thanks, testing it out now.  I did find the values where you mentioned them.  Just want to confirm that changing them corrects the issue.

    Author Closing Comment

    This is good information and I was able to create the script.  I am still having the issues even with my fix but I need to keep working it.

    Featured Post

    Do email signature updates give you a headache?

    Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Windows Surface 4 - Kickstand Alternative 1 35
    mapShare challenge 13 41
    wordcount challenge 11 48
    delphi parse string to params 3 49
    Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
    Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    733 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

    19 Experts available now in Live!

    Get 1:1 Help Now