Dev.to Security 🔐 Cybersecurity 👁 0 📖 2 min read

UiPath Pitfall #6: Assuming You Have to Turn Off Smart App Control for Studio 2026.10

You upgrade to Studio 2026.10 on a Windows 11 machine, create a blank project with one Message Box, and hit Run. You get Project build failed. Error code: 1. Or Windows pops up a notice that part of the app was blocked b

You upgrade to Studio 2026.10 on a Windows 11 machine, create a blank project with one Message Box, and hit Run. You get Project build failed. Error code: 1. Or Windows pops up a notice that part of the app was blocked because it can't confirm who published GlobalVariables.<hash>.dll.

Most people go straight for the usual suspects. They move the project out of OneDrive, run Unblock-File on the folder, reinstall Studio, and finally turn Smart App Control off. In the recent forum threads, moving the project and unblocking files didn't help, and that makes sense once you know what's being blocked.

What is actually blocked

The DLLs in those messages aren't files you downloaded. Studio generates them for your project when you run, debug or publish it, and unless you set up signing they're unsigned. Microsoft's Smart App Control FAQ explains the rule: when its cloud service can't make a confident call about a file, Smart App Control checks for a valid signature, and unsigned code gets blocked.

You can confirm it in Event Viewer under Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational. Per Microsoft's App Control event ID reference, event 3077 is the block, and the matching 3089 event carries the signature info. An unsigned file shows a TotalSignatureCount of 0.

Let Studio sign its own DLLs

Studio 2026.10 added assembly signing for exactly this. It's listed in the 2026.10.0 release notes. In Home > Settings > Locations, set two fields:

Dynamic DLLs Certificate : C:\certs\codesign.pfx
Sign Tool Path           : C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe

Those paths are examples. signtool.exe ships with the Windows SDK, and the SignTool docs give that \bin folder as its install location. You can also set the SIGNTOOL_PATH environment variable, but the Studio setting wins if both are set.

On the next run or debug, Studio asks for the certificate password. It then copies the compiled assemblies into .local_signed, signs them, and runs from the signed copies. Only assemblies that changed since the last run get signed again. The password is stored in Windows Credential Manager, and .local_signed is left out of published packages. This works for projects with Windows and cross-platform compatibility.

For packages, open the Certificate signing tab in the Publish window and select Sign assemblies. That option only shows up when Sign Tool Path points to an existing file. From the command line, use --sign-assemblies with --cer-path.

The certificate is the real decision

Smart App Control wants a valid signature, and Microsoft's FAQ points developers to the Microsoft Trusted Root Program. A certificate from a CA in that program is the safe choice. I wouldn't count on a self-signed one. If you can't get a proper certificate yet, turning Smart App Control off is still an option, and Microsoft now says recent Windows updates let you turn it back on without a clean install.

Have you set up signing for generated DLLs yet? Share what worked in the original forum thread.

Originally posted on the UiPath Forum: https://forum.uipath.com/t/uipath-pitfall-of-the-week-6-assuming-you-have-to-turn-off-smart-app-control-for-studio-2026-10/5792216

I post short UiPath fix videos from real forum questions on my YouTube channel, RPA Simplified.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.