WIP issues with Visual Studio 2019

Cram 0 Reputation points
2024-12-03T00:10:30.84+00:00

Hoping that someone may be able to help me with an issue.

We have applocker policy in place to allow specific apps to run in our environment. One of the users advised that he needed Visual Studio 2019 to be installed on his workstation which I did. I have also grabbed all applocker information from the root folder of the app to avoid any issues with running it. However, we found out that each time he compiled in Visual Studio, a new set of temp batch files would be created and then deleted thereafter. Since the files aren't listed in the XML files, it would fail to run. Does anyone have an idea how to approach this without compromising security?

Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,874 questions
Microsoft Intune Security
Microsoft Intune Security
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
446 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
969 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,365 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 50,676 Reputation points Microsoft Vendor
    2024-12-03T01:39:41.89+00:00

    @Cram, Thanks for posting in Q&A. On my point view, to approach this without compromising security, here is my suggestion:

    1, Please check if the temp file location of Visual Studio 2019 can be changed via modify environment variable.

    2, If yes, create a new location to put these temp files.

    3, Allow the files in this location in AppLocker rule.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.