Support AppLocker
See original GitHub issue=> done - not fixed, seems to be even worse, as VSCode does only show black Window when started as admin.
- VSCode Version: 1.52.0, Electron 9.3.5
- OS Version: 2004
Steps to Reproduce:
- Activate AppLocker with Default Rules
- Start VSCode elevated
- Look at the AppLocker Logs - you will see 50/50 denied/allowed events: Good and normal: %OSDRIVE%\USERS\ADMIN\APPDATA\LOCAL\PROGRAMS\MICROSOFT VS CODE INSIDERS\CODE - INSIDERS.EXE was allowed to run. Bad: %OSDRIVE%\USERS\ADMIN\APPDATA\LOCAL\PROGRAMS\MICROSOFT VS CODE INSIDERS\CODE - INSIDERS.EXE was prevented from running.
Does this issue occur when all extensions are disabled?: Yes
Problem seems to be the way code.exe does launch itself on startup, using the API CreateProcessAsUserW() (50%) in a special way. (dwCreationFlags as per debug: 0x8040c + dwflags of startupinfo 0x180) But this seems not to be the only differnence as this is not causing an issue on a little test-program. The (and those are the allowed events) process creates which are done using API CreateProcessW() (50%) do not cause an issue.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Requirements to use AppLocker (Windows) | Microsoft Learn
Version Can be configured Can be enforced
Windows 10 and Windows 11 Yes Yes
Windows 8.1 Pro Yes No
Windows 8.1 Enterprise Yes Yes
Read more >Enable AppLocker on Windows 10 Pro and Windows 11 Pro ...
First, open secpol.msc and navigate to Application control policies > AppLocker. Below that, you will see four sections containing governing ...
Read more >Does AppLocker work in Windows 10 Pro? Yes, it does!
You can use the AppLocker CSP to configure AppLocker policies on any edition of Windows 10 supported by Mobile Device Management (MDM).
Read more >How to install and configure Applocker to improve Application ...
How to configure Applocker Group Policy · To run the Applocker you must start the Application Identity Service in the Server that you...
Read more >AppLocker Pros, Cons, and Alternatives - Netwrix Blog
In this article we will discuss what is AppLocker for Windows, pros, ... Below are the Windows operating systems that AppLocker supports.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
I agree with you that we should not run vscode as Admin.
Any documentation that highlights this would be appreciated.
On Wed, 28 Apr 2021, 05:48 Chuck Lantz, @.***> wrote: