SOLVED

Intune: Custom Policy Configuration: Setting fails with error: -2016281112 (Remediation failed)

%3CLINGO-SUB%20id%3D%22lingo-sub-1401460%22%20slang%3D%22en-US%22%3EIntune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1401460%22%20slang%3D%22en-US%22%3E%3CP%3Ei%20am%20implementing%20Google%20Chome%20policy%20and%20using%20their%20guidance%20to%20do%20that%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.google.com%2Fchrome%2Fa%2Fanswer%2F9102677%3Fhl%3Den%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.google.com%2Fchrome%2Fa%2Fanswer%2F9102677%3Fhl%3Den%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20a%20custom%20policy%20where%20i%20have%20ingested%20the%20contents%20of%20Chrome.admx%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20setting%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20as%20soon%20as%20i%20start%20adding%20additional%20settings%20from%20their%20example%20policies%20page%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1d62txalah9kyEoJPK5hDS2Lo6cwHX7oPVQrm8ROfNHg%2Fedit%23gid%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1d62txalah9kyEoJPK5hDS2Lo6cwHX7oPVQrm8ROfNHg%2Fedit%23gid%3D0%3C%2FA%3E%3C%2FP%3E%3CP%3Eall%20of%20them%20fail%20with%20error%3A%26nbsp%3B-2016281112%20(Remediation%20failed)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GC1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192945i02EF542259FE638A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22GC1.png%22%20alt%3D%22Policy%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EPolicy%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHave%20you%20guys%20seen%20this%20error%3F%20it%20is%20getting%20very%20annoying%20for%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1401460%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E%40Intune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1404321%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1404321%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318231%22%20target%3D%22_blank%22%3E%40ShehzadUIT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20you%20trying%20to%20change%20the%20home%20page%20and%20add%20home%20button%3F%20if%20yes%2C%20I%20use%20this%20great%20ps%20and%20push%20with%20Intune%20Script%2C%20works%20like%20charm!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOtherwise%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3194%22%20target%3D%22_blank%22%3E%40Peter%20Klapwijk%3C%2FA%3E%2C%20any%20thoughts%20on%20why%20the%20custom%20config%20policy%20didn't%20work%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMoe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%23paths%20for%20chrome%20policy%20keys%20used%20in%20the%20scripts%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%24policyexists%20%3C%2FSPAN%3E%3CSPAN%3E%3D%20%3C%2FSPAN%3E%3CSPAN%3ETest-Path%20%3C%2FSPAN%3E%3CSPAN%3EHKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%5CChrome%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%24policyexistshome%20%3C%2FSPAN%3E%3CSPAN%3E%3D%20%3C%2FSPAN%3E%3CSPAN%3ETest-Path%20%3C%2FSPAN%3E%3CSPAN%3EHKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%5CChrome%5CRestoreOnStartupURLs%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E%3D%20%3C%2FSPAN%3E%3CSPAN%3E%22HKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%5CChrome%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%24regKeyhome%20%3C%2FSPAN%3E%3CSPAN%3E%3D%20%3C%2FSPAN%3E%3CSPAN%3E%22HKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%5CChrome%5CRestoreOnStartupURLs%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%24url%20%3C%2FSPAN%3E%3CSPAN%3E%3D%20%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fexample.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%3Ehttps%3A%2F%2Fexample.com%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23setup%20policy%20dirs%20in%20registry%20if%20needed%20and%20set%20pwd%20manager%3C%2FP%3E%3CP%3E%23else%20sets%20them%20to%20the%20correct%20values%20if%20they%20exist%3C%2FP%3E%3CP%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E%20(%3C%2FSPAN%3E%3CSPAN%3E%24policyexists%20%3C%2FSPAN%3E%3CSPAN%3E-eq%20%3C%2FSPAN%3E%3CSPAN%3E%24false%3C%2FSPAN%3E%3CSPAN%3E)%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-Item%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3EHKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-Item%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3EHKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%5CChrome%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3EPasswordManagerEnabled%20%3C%2FSPAN%3E%3CSPAN%3E-PropertyType%3C%2FSPAN%3E%3CSPAN%3EDWord%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3ERestoreOnStartup%20%3C%2FSPAN%3E%3CSPAN%3E-PropertyType%20%3C%2FSPAN%3E%3CSPAN%3EDword%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E4%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3EHomepageLocation%20%3C%2FSPAN%3E%3CSPAN%3E-PropertyType%20%3C%2FSPAN%3E%3CSPAN%3EString%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E%24url%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3EHomepageIsNewTabPage%20%3C%2FSPAN%3E%3CSPAN%3E-PropertyType%3C%2FSPAN%3E%3CSPAN%3EDWord%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EElse%3C%2FSPAN%3E%3CSPAN%3E%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESet-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-Path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3EPasswordManagerEnabled%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESet-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-Path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3ERestoreOnStartup%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E4%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESet-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-Path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3EHomepageLocation%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E%24url%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESet-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-Path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeysetup%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3EHomepageIsNewTabPage%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23This%20entry%20requires%20a%20subfolder%20in%20the%20registry%3C%2FP%3E%3CP%3E%23For%20more%20then%20one%20page%20create%20another%20new-item%20and%20set-item%20line%20with%20the%20name%20-2%20and%20the%20new%20url%3C%2FP%3E%3CP%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E%20(%3C%2FSPAN%3E%3CSPAN%3E%24policyexistshome%20%3C%2FSPAN%3E%3CSPAN%3E-eq%20%3C%2FSPAN%3E%3CSPAN%3E%24false%3C%2FSPAN%3E%3CSPAN%3E)%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-Item%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3EHKLM%3A%5CSOFTWARE%5CPolicies%5CGoogle%5CChrome%5CRestoreOnStartupURLs%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENew-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeyhome%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3E1%20%3C%2FSPAN%3E%3CSPAN%3E-PropertyType%20%3C%2FSPAN%3E%3CSPAN%3EString%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E%24url%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%3CSPAN%3EElse%3C%2FSPAN%3E%3CSPAN%3E%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESet-ItemProperty%20%3C%2FSPAN%3E%3CSPAN%3E-Path%20%3C%2FSPAN%3E%3CSPAN%3E%24regKeyhome%20%3C%2FSPAN%3E%3CSPAN%3E-Name%20%3C%2FSPAN%3E%3CSPAN%3E1%20%3C%2FSPAN%3E%3CSPAN%3E-Value%20%3C%2FSPAN%3E%3CSPAN%3E%24url%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%7D%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1404342%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1404342%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F503735%22%20target%3D%22_blank%22%3E%40Moe_Kinani%3C%2FA%3E%26nbsp%3B...Thanks%20for%20that.%20This%20script%20is%20definitely%20handy.%20However%2C%20the%20real%20question%20is%20that%20why%20would%20these%20custom%20CSPs%20not%20work%3F%3C%2FP%3E%3CP%3EI%20would%20understand%20that%20if%20i%20extract%20a%20setting%20from%20an%20ADMX%20XML%20and%20it%20doesn't%20work.%20maybe%20i%20am%20doing%20something%20wrong.%20But%20in%20this%20case%2C%20these%20are%20examples%20from%20Google.%20and%20millions%20of%20people%20have%20tried%20them.%20so%20why%20are%20they%20throwing%20an%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1404848%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1404848%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318231%22%20target%3D%22_blank%22%3E%40ShehzadUIT%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EWhat%20value%20are%20you%20using%20for%20HomepageLocation%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20wrote%20an%20article%20about%20managing%20Chrome%20settings%20and%20HomePage%20Location%20is%20one%20of%20the%20examples%2C%20it%20might%20be%20helpful%20for%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.inthecloud247.com%2Fmanage-google-chrome-settings-with-microsoft-intune%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.inthecloud247.com%2Fmanage-google-chrome-settings-with-microsoft-intune%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415278%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415278%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3194%22%20target%3D%22_blank%22%3E%40Peter%20Klapwijk%3C%2FA%3E%26nbsp%3B.%20I%20am%20using%20the%20following%20value%20for%20homepage%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CENABLED%3E%3C%2FENABLED%3E%3CDATA%20id%3D%22%26quot%3BHomepageLocation%26quot%3B%22%20value%3D%22%26quot%3B%26lt%3BOur_Intranet_Page_URL%26quot%3B%2F%22%3E%3C%2FDATA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415536%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415536%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318231%22%20target%3D%22_blank%22%3E%40ShehzadUIT%3C%2FA%3E%26nbsp%3Byou%20only%20seem%20to%20miss%20a%20space%20between%26nbsp%3B%3CENABLED%3E%3C%2FENABLED%3E%20and%20%3CDATA%20id%3D%22%22%3E%3C%2FDATA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415897%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415897%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3194%22%20target%3D%22_blank%22%3E%40Peter%20Klapwijk%3C%2FA%3E%26nbsp%3BThanks.%20that%20maybe%20one%20of%20the%20issues.%20the%20other%20issue%20that%20i%20saw%20comparing%20your%20article%20with%20the%20examples%20given%20by%20Google%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYours%3A%20.%2FDevice%2FVendor%2FMSFT%2FPolicy%2FConfig%2FChrome~Policy~googlechrome~Startup%2FHomepageLocation%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGoogle's%3A%26nbsp%3B%3C%2FP%3E%3CP%3E.%2FDevice%2FVendor%2FMSFT%2FPolicy%2FConfig%2FChrome~Policy~*googlechrome~*Startup%2FHomepageLocation%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhen%20i%20took%20off%20the%20*%20before%20googlechrome%20and%20startup%2C%20the%20error%20went%20away.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415972%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415972%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318231%22%20target%3D%22_blank%22%3E%40ShehzadUIT%3C%2FA%3E%26nbsp%3BI%20missed%20that%20*%20in%20your%20screen%20shot.%20But%20glad%20my%20article%20helped%20and%20you%20solved%20the%20issue!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586160%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%3A%20Custom%20Policy%20Configuration%3A%20Setting%20fails%20with%20error%3A%20-2016281112%20(Remediation%20failed)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586160%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318231%22%20target%3D%22_blank%22%3E%40ShehzadUIT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20intune%20remediation%20failes%20%2C%26nbsp%3B%20generates%20the%20same%20code.%26nbsp%3B%3C%2FP%3E%3CP%3E-2016281112%20(Remediation%20failed)%3C%2FP%3E%3CP%3EAny%20Application%20has%20nothing%20to%20do%20with%20it.%20(It%20is%20not%20Application%20specific.)%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20challenge%20is%20how%20to%20fix%20it%20.%20That%20is%20pain.%26nbsp%3B%3C%2FP%3E%3CP%3EMS%20does%20not%20workback%20to%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20the%20same%20challenge%20today%2C%20the%20password%20compliance%20policy%20change%20has%20made%20Windows%20Device%20Non%20compliant%20with%20the%20same%20error%20code.%20No%20solution%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

i am implementing Google Chome policy and using their guidance to do that:

 

https://support.google.com/chrome/a/answer/9102677?hl=en

 

I have created a custom policy where i have ingested the contents of Chrome.admx file.

 

This setting works.

 

However as soon as i start adding additional settings from their example policies page:

https://docs.google.com/spreadsheets/d/1d62txalah9kyEoJPK5hDS2Lo6cwHX7oPVQrm8ROfNHg/edit#gid=0

all of them fail with error: -2016281112 (Remediation failed)

PolicyPolicy

Have you guys seen this error? it is getting very annoying for me.

 

Thanks in advance.

 

 

 

8 Replies

@ShehzadUIT 

 

Are you trying to change the home page and add home button? if yes, I use this great ps and push with Intune Script, works like charm!

 

Otherwise, @Peter Klapwijk, any thoughts on why the custom config policy didn't work?

 

Moe

 

 #paths for chrome policy keys used in the scripts

$policyexists = Test-Path HKLM:\SOFTWARE\Policies\Google\Chrome

$policyexistshome = Test-Path HKLM:\SOFTWARE\Policies\Google\Chrome\RestoreOnStartupURLs

$regKeysetup = "HKLM:\SOFTWARE\Policies\Google\Chrome"

$regKeyhome = "HKLM:\SOFTWARE\Policies\Google\Chrome\RestoreOnStartupURLs"

$url = "https://example.com"

 

#setup policy dirs in registry if needed and set pwd manager

#else sets them to the correct values if they exist

if ($policyexists -eq $false){

New-Item -path HKLM:\SOFTWARE\Policies\Google

New-Item -path HKLM:\SOFTWARE\Policies\Google\Chrome

New-ItemProperty -path $regKeysetup -Name PasswordManagerEnabled -PropertyTypeDWord -Value 0

New-ItemProperty -path $regKeysetup -Name RestoreOnStartup -PropertyType Dword -Value 4

New-ItemProperty -path $regKeysetup -Name HomepageLocation -PropertyType String -Value $url

New-ItemProperty -path $regKeysetup -Name HomepageIsNewTabPage -PropertyTypeDWord -Value 0

}

 

Else {

Set-ItemProperty -Path $regKeysetup -Name PasswordManagerEnabled -Value 0

Set-ItemProperty -Path $regKeysetup -Name RestoreOnStartup -Value 4

Set-ItemProperty -Path $regKeysetup -Name HomepageLocation -Value $url

Set-ItemProperty -Path $regKeysetup -Name HomepageIsNewTabPage -Value 0

}

 

#This entry requires a subfolder in the registry

#For more then one page create another new-item and set-item line with the name -2 and the new url

if ($policyexistshome -eq $false){

New-Item -path HKLM:\SOFTWARE\Policies\Google\Chrome\RestoreOnStartupURLs

New-ItemProperty -path $regKeyhome -Name 1 -PropertyType String -Value $url

}

Else {

Set-ItemProperty -Path $regKeyhome -Name 1 -Value $url

@Moe_Kinani ...Thanks for that. This script is definitely handy. However, the real question is that why would these custom CSPs not work?

I would understand that if i extract a setting from an ADMX XML and it doesn't work. maybe i am doing something wrong. But in this case, these are examples from Google. and millions of people have tried them. so why are they throwing an error.

 

 

best response confirmed by ShehzadUIT (Contributor)
Solution

Hi @ShehzadUIT 
What value are you using for HomepageLocation?

I wrote an article about managing Chrome settings and HomePage Location is one of the examples, it might be helpful for you https://www.inthecloud247.com/manage-google-chrome-settings-with-microsoft-intune/

@Peter Klapwijk . I am using the following value for homepage:

 

<enabled/><data id="HomepageLocation" value="<Our_Intranet_Page_URL"/>

@ShehzadUIT you only seem to miss a space between <enabled/> and <data id

@Peter Klapwijk Thanks. that maybe one of the issues. the other issue that i saw comparing your article with the examples given by Google is:

 

Yours: ./Device/Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome~Startup/HomepageLocation

 

Google's: 

./Device/Vendor/MSFT/Policy/Config/Chrome~Policy~*googlechrome~*Startup/HomepageLocation

 

when i took off the * before googlechrome and startup, the error went away.

@ShehzadUIT I missed that * in your screen shot. But glad my article helped and you solved the issue!

@ShehzadUIT 

Any intune remediation failes ,  generates the same code. 

-2016281112 (Remediation failed)

Any Application has nothing to do with it. (It is not Application specific.) 

 

The challenge is how to fix it . That is pain. 

MS does not workback to solution.

 

We have the same challenge today, the password compliance policy change has made Windows Device Non compliant with the same error code. No solution