Any advice for running Atmel Studio with DefendPoint security enabled?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

We've just started using Atmel Studio for a project here at work, and we are having trouble with how it interacts with DefendPoint,  which is our corporate security software. Rebuilding our code takes almost 10 minutes on my i5-7300U. We tried it on a non-connected laptop that didn't have the security software, and it took less than 30 seconds. I think it has something to do with how Atmel Studio spawns sub-tasks for every object it builds, and DefendPoint needs to check them out and grant them permissions to run every single time.

 

I'm sure we can't be the only ones trying to use Atmel Studio in a corporate setting. Has anyone else had any issues like this? Is there an easy way to fix it? The virtual machine idea was a no-go with IT.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You could get AS7 to create the Makefile but then abort the build (a -D gated #error in first source perhaps?) and just feed the same Makefile to GNU make at the command line.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

cbc02009 wrote:
Is there an easy way to fix it?
white-list Atmel Studio

Atmel Studio 7 - Frequently Asked Questions

...

 

How to improve studio performance for any supported version of Windows?

  • Make sure your system has the latest version of the Windows Automation API
  • Exclude the following directories and files from your antivirus scanner:
    • The Atmel Studio installation directory, and all files and folders inside it
    • %AppData%\Roaming\Atmel directory, and all files and folders inside it
    • %AppData%\Local\Atmel directory, and all files and folders inside it
    • Your project directories
  • Visual Studio Shell requires a lot of swap space. Increase the paging file. Also, put the system to maximize performance. Both options are found in the System, Properties, Performance, Settings menu.

 

...

cbc02009 wrote:
The virtual machine idea was a no-go with IT.
fyi

https://www.avrfreaks.net/forum/another-win10-rant-frustration-part-3?page=1#comment-2666096

...

  • Windows Sandbox (Pro and sub, Hyper-V without a VHD)

...

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

You could get AS7 to create the Makefile but then abort the build (a -D gated #error in first source perhaps?) and just feed the same Makefile to GNU make at the command line.

 

That's an interesting idea, I will have to try it. Thanks.

 

gchapman wrote:

cbc02009 wrote:
Is there an easy way to fix it?
white-list Atmel Studio

Atmel Studio 7 - Frequently Asked Questions

...

 

How to improve studio performance for any supported version of Windows?

  • Make sure your system has the latest version of the Windows Automation API
  • Exclude the following directories and files from your antivirus scanner:
    • The Atmel Studio installation directory, and all files and folders inside it
    • %AppData%\Roaming\Atmel directory, and all files and folders inside it
    • %AppData%\Local\Atmel directory, and all files and folders inside it
    • Your project directories
  • Visual Studio Shell requires a lot of swap space. Increase the paging file. Also, put the system to maximize performance. Both options are found in the System, Properties, Performance, Settings menu.

 

...

cbc02009 wrote:
The virtual machine idea was a no-go with IT.
fyi

https://www.avrfreaks.net/forum/another-win10-rant-frustration-part-3?page=1#comment-2666096

...

  • Windows Sandbox (Pro and sub, Hyper-V without a VHD)

...

 

 

Sadly they won't whitelist entire folders, I've already inquired about that. Defendpoint isn't quite antivirus, either. It's more a permissions manager.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am using Bitdefender and ran into the same problem....Not as extreme as yours, but it took a few minutes to build a project that ordinarily takes under 10 seconds.  The answer for me was to set up a whitelist in Bitdefender of all the programs that are associated with Studio.  THis did take a bit of time, but in the end it solved my problem(at least with the software, ;) )

 

In your case, you might want to have your supervisor contact IT and ask them to configure DefendPoint to allow the Atmel Studio folder, and all its contents to run without scan.  But do not get your hopes up.  IT folk generally have a monster distrust of anything built on Visual Studio, but hey ho ya never know.

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Tell your management this project will cost twice as much as the current budget because of the policies enforced by IT, but you have a compromise that will bring the project in on budget with their (managements) help!

 

Good luck!

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

cbc02009 wrote:
The virtual machine idea was a no-go with IT.
Hyper-V is optional for Windows containers.

Wndows Container Types | About Windows Containers | Microsoft Docs

reason :

Bench Talk | Containers: Similar To Virtual Machines For Embedded

 

"Dare to be naïve." - Buckminster Fuller