How to Disable Restricted Mode & Untrusted Folder Warnings in VSCode IDE
4K views
Jul 2, 2025
Get the full source code of application here:
View Video Transcript
0:00
Uh hello guys, welcome to this video. So
0:02
in this video I will show you how to
0:04
disable the restricted mode on the VS
0:07
code. So by default VS code comes with
0:09
some kind of restrictions that you can't
0:11
open untrusted files which are very much
0:15
unsafe downloaded from internet. If
0:18
you're directly opening it inside VS
0:20
Code, it will show you a warning. So you
0:23
can disable that warning by going to the
0:26
settings and then going to the user and
0:30
right here we have the security feature
0:32
and going to workspace and right here we
0:36
simply see the trust panel applies to
0:38
all profiles. So it basically controls
0:40
when the restricted mode banner is
0:42
shown. So you can change this from
0:44
always to never. So you will not never
0:49
receive a banner if you basically open
0:51
untrusted files.
0:55
So it basically say trust empty window
0:58
applies to all profiles. Controls
1:00
whether or not the empty window is
1:01
trusted by default within VS code.
1:07
If you disable this now if you open a
1:10
empty window you will receive a message.
1:12
So let's suppose I
1:19
open this window.
1:25
You will get this restriction message
1:28
here that this window is not trustable.
1:34
You can toggle this setting here. Trust
1:36
enabled controls whether or not
1:47
And then we can even do this setting
1:51
inside your user setting file as well.
1:54
Go to preferences user setting
2:00
and here also you can use it. So but the
2:03
thing is that you go to security
2:04
workspace and then you disable this very
2:08
easily.
2:12
from always you change it to never.
2:21
So that's all that we need to do. Please
2:23
hit that like button, subscribe the
2:24
channel and also check out my website
2:27
freevmediatools.com
2:29
uh which contains thousands of tools.
#Software