Windows 10: Disable script enforcement for all policies WDAC

Discus and support Disable script enforcement for all policies WDAC in Windows 10 Software and Apps to solve the problem; Hello We would like to forbid the usage of the "Mail - microsoft.windowscommunicationsapps" App via WDAC applied by Intune. We also use the... Discussion in 'Windows 10 Software and Apps' started by Edocsyl, Oct 10, 2023.

  1. Edocsyl Win User

    Disable script enforcement for all policies WDAC


    Hello We would like to forbid the usage of the "Mail - microsoft.windowscommunicationsapps" App via WDAC applied by Intune. We also use the "psappdeploytoolkit", but the exection of the device is not possible because of the "Constrained Language Mode"Problem Described here: https://discourse.psappdeploytoolkit.com/t/appdeploytoolkitmain-cs-could-not-be-opened/2962/7We used this script to generate the Policy: # Set the Policy Name $PolicyName = "ucm_WDAC_v1"# Policy Files$DenyPolicyFile = "C:\Temp\ucm_WDAC_v1.xml"$BinaryFilePath = "C:\Temp\ucm_WDAC_v1.cip"# Basis Ppolic $AllowAl

    :)
     
    Edocsyl, Oct 10, 2023
    #1
  2. pavan_446 Win User

    Unable to sign WDAC policy file(bin or p7b) file.

    Hi,

    To sign our WDAC policy file we are following Microsoft article Use signed policies to protect Windows Defender Application Control. In order to sign SIPolicy file we need to have code signing certificate. We need few clarifications which are described below:

    1) As per above mentioned link, it specifically needs ContosoSigningCert code signing certificate to sign the WDAC policy, below is the mentioned command. As we are unable to get this certificate, can you please provide us this certificate. Or in case we can sign it with some other certificate, please share information regarding that.

    <Path to signtool.exe> sign -v -n "ContosoSigningCert" -p7 . -p7co 1.3.6.1.4.1.311.79.1 -fd sha256 $CIPolicyBin

    2) We also checked about Device Guard Signing Service v2 (DGSS) is a code signing service. But information available over the web is too generic to apply for our case. In order to sign our WDAC policy file can we get some concrete steps wise information or any other related information regarding this.

    Regards,

    Vikram
     
    pavan_446, Oct 10, 2023
    #2
  3. Is there a way to disable the WDAC blocked application message boxes?

    I have a WDAC policy running and have been testing out enforced mode. The machines this will eventually go on cannot have notifications going to the user as this will be a single purpose machine and we can't potentially have notifications disrupting users.

    We are currently blocking all desktop notifications and windows defender notifications through GPO but this doesn't seem to apply to either type.
     
    d39d45d9-f1f0-410e-a375-df71b2319aee, Oct 10, 2023
    #3
  4. RM135 Win User

    Disable script enforcement for all policies WDAC

    WDAC powershell policy using import-climl for policy rules error

    I've used the Microsoft documentation example code to create a powershell script that takes a Microsoft Base WDAC policy and adds filepaths rules and policy options. This is great as I can store the small powershell script in source control and easily make changes & reproduce updated WDAC policies when needed.

    However, I can't do this when using publisher level rules as I need direct access to those files each time to scan the file to run "New-CIPolicyRule -Level Publisher". I can't have all these files & apps on my authoring computer, nor can I get network access to them all.

    I'm hoping I can scan the file then use export-clixml to save the results of the scan, then save this in my code repo and use import-clixml to get that object back later. I'm getting the error:

    Merge-CIPolicy : Cannot bind parameter 'Rules'. Cannot convert value "Microsoft.SecureBoot.UserConfig.Rule" to type "Microsoft.SecureBoot.UserConfig.Rule". Error: "Cannot convert the "Microsoft.SecureBoot.UserConfig.Rule" value

    of type "Deserialized.Microsoft.SecureBoot.UserConfig.Rule" to type "Microsoft.SecureBoot.UserConfig.Rule"."

    any tips?
     
    RM135, Oct 10, 2023
    #4
Thema:

Disable script enforcement for all policies WDAC

Loading...
  1. Disable script enforcement for all policies WDAC - Similar Threads - Disable script enforcement

  2. Disable script enforcement for all policies WDAC

    in Windows 10 Gaming
    Disable script enforcement for all policies WDAC: Hello We would like to forbid the usage of the "Mail - microsoft.windowscommunicationsapps" App via WDAC applied by Intune. We also use the "psappdeploytoolkit", but the exection of the device is not possible because of the "Constrained Language Mode"Problem Described here:...
  3. Driver Signature Enforcement Is Disabled

    in Windows 10 Drivers and Hardware
    Driver Signature Enforcement Is Disabled: Hello. I had disabled Driver Signature Enforcement using the Command Prompt, but now i can't enable it no matter what i do.At the bottom right of my windows i still have the Test Mode watermark, and i know that Driver Signature Enforcement is not enabled, because multiple...
  4. Unable to sign WDAC policy filebin or p7b file.

    in Windows 10 Gaming
    Unable to sign WDAC policy filebin or p7b file.: Hi,To sign our WDAC policy file we are following Microsoft article Use signed policies to protect Windows Defender Application Control. In order to sign SIPolicy file we need to have code signing certificate. We need few clarifications which are described below:1 As per above...
  5. Unable to sign WDAC policy filebin or p7b file.

    in Windows 10 Software and Apps
    Unable to sign WDAC policy filebin or p7b file.: Hi,To sign our WDAC policy file we are following Microsoft article Use signed policies to protect Windows Defender Application Control. In order to sign SIPolicy file we need to have code signing certificate. We need few clarifications which are described below:1 As per above...
  6. Unable to enforce password policy on multiple machines

    in Windows 10 Gaming
    Unable to enforce password policy on multiple machines: I have set the password policy in Windows Tools > Local Security Policy > Security Settings > Account Policies > Password Policy as per the image below on multiple machines earlier in Windows 10 and now in Windows 11.However, none of the machines ask the user [including me]...
  7. WDAC powershell policy using import-climl for policy rules error

    in Windows 10 Gaming
    WDAC powershell policy using import-climl for policy rules error: I've used the Microsoft documentation example code to create a powershell script that takes a Microsoft Base WDAC policy and adds filepaths rules and policy options. This is great as I can store the small powershell script in source control and easily make changes & reproduce...
  8. WDAC powershell policy using import-climl for policy rules error

    in Windows 10 Software and Apps
    WDAC powershell policy using import-climl for policy rules error: I've used the Microsoft documentation example code to create a powershell script that takes a Microsoft Base WDAC policy and adds filepaths rules and policy options. This is great as I can store the small powershell script in source control and easily make changes & reproduce...
  9. WDAC powershell policy using import-climl for policy rules error

    in AntiVirus, Firewalls and System Security
    WDAC powershell policy using import-climl for policy rules error: I've used the Microsoft documentation example code to create a powershell script that takes a Microsoft Base WDAC policy and adds filepaths rules and policy options. This is great as I can store the small powershell script in source control and easily make changes & reproduce...
  10. Windows 10 tries to enforce security policies

    in Windows 10 Support
    Windows 10 tries to enforce security policies: whenever i am on Windows 10 i get a constant popup that says that if i want to connect to the server i have to update my security settings. I then have two buttons: cancel and execute. Whichever i push makes no difference; the popup keeps appearing disrupting everything. I...