once you guys got another video here for
you on how to password
protect a folder in windows without any
software so we have a folder here with
some data in here and if we want to
protect this
we need to put a password on here
because otherwise people would be able
to see inside the folder so how can we
do that on windows 10 or windows 11 or
any other version of windows that's what
we're going to be doing today
in today's video so first off what we're
going to do here is you can see the
content inside here there's a load of
videos in here and i want to protect
this content
so what i'm going to do is first
inside the actual
folder itself that we want to protect
we're going to right click and we're
going to create a new
text document right inside here and you
can see it there
so what we're going to do this here
we're going to call this
folder
block
like so
and we want to make this dot bat
so we can't see the file extension here
at the moment so let's go ahead and
change this
so the way we can do that is go to view
go to options
click on options and change folder
and search options
and then inside here we can now go to
view
and then we can also go here where it
says
hide extensions
for f for known file types here we're
going to remove that tick
and there we go so that is it here
so you can see the extensions dot text
dot tex so i'm going to quickly rename
this
i'm going to call this dot bat
which is short for batch file
and you should see the icon change to
two little cogs
so there we have our batch file now
there's nothing inside here at the
moment we need to put some text in here
which is gonna act act like a batch file
so let's go ahead and get that so there
is a website here
on github i'll leave the link in the
video description
and you can see here this is the bat
file here so i'm going to copy all of
this text
here right away down to the end so right
click
and copy this
so once you've done this we can now get
our batch file i'm going to right click
and edit
this batch file
i'm going to paste in
our text
so here we have our text
and you'll notice inside here
there's some content in here which we
can change
so it says echo enter password to unlock
your secure folder
and it will ask for the password you can
see here if not pass equals equals
and it says your password so this part
here needs to be your password there
needs to be a space on either side of
this here
i've just zoomed in here so you can see
a bit more clearer and this is the area
here so let's just put in a password
here now you want to use a strong
password but i'm going to use a
simple password
we're just gonna call this password123
something like that
so once you've got your password set
here
we're gonna push
save
because we've already renamed it
dot that
and there we go it's ready to go so
let's go ahead and now double click on
this
folder lock
and i've double clicked and you should
now see this private folder has been
added inside the folder that we want to
uh password protect
so what i'm going to do next is i'm
going to copy these files in or drag
these files into there
like so now we're not going to put the
batch file in there we're just going to
copy copy these in like so
here we go
so now we've got the private folder
with our content inside
and we've got our batch file here but
you can see that we can still access
this data
so what we need to do is now double
click
on the
folder lock back firework in
so let's go ahead and click this
and you can see here it says are you
sure you want to lock this folder
i'm going to do wi-fi yes
and it's gone so now we have got a
folder that's disappeared
and we do have our folder lock dot map
file
now you may be saying to yourself all i
need to do here to see that hidden file
is to go to view
options change folder and search options
go into view again and show hidden files
folders and drives and if you put the
radio button in there and click apply
you'll see that the folder is completely
gone it's not there it's hidden so no
one can see it
and that's what we want to try to do in
this video is to hide it and then also
it's now password protected
now if we go and look at the desktop
here you will see there is the orange
folder this is the folder
that we started off with with our
content in so inside here
you can see it's been hidden that
private section
so how do we access it well what we need
to do is double click on the folder lock
again
and you can now see
enter your password to unlock the secure
folder
so remember as was
password
one two three
push enter
and your folder will then reappear and
you can then access this folder
now just remember that you need to
remember your password because if you
don't remember your password you will
not be able to gain access to
that data
so what we can do now is add
some more content to this now we've
unlocked it so let's go ahead and add
another
file so i'm going to drag this into the
orange folder
and we can now add some more content to
this and then all we need to do to lock
it again so now we can double click on
the folder lock again
and we can say wi-fi yes because we want
to lock it again
and it's locked again
and that's it so when you want to unlock
it
you just simply double click on it and
put in your password
and it will reappear
now the problem with this
would be when you locked your folder so
for instance if i say yes to lock the
folder
it will be hidden
so if someone was looking inside this
orange folder here and they see this
folder lock dot back
you would be able to edit this file
and then you could just change the
password that is the downfall of this
particular method so it's not ultra
secure
now of course what you could do
is remove this file
and hide it somewhere
and then drag it into that folder when
you want to unlock it that's what i'd
advise you to do because if you leave it
inside the folder
it will basically um
be visible to that person
so we'd need to do is remove this
and just remember if you remove this
from the folder you will need to put it
back into that folder to unlock it again
because if you drag this to your desktop
and then you click on it it's going to
make another private folder
so you can't run it from outside of that
folder you will have to always run it
from inside here so you probably want to
give this a different name than folder
lock
because otherwise someone will easily
know what it is and when you want to
unlock it again you just drag it back
into your folder and then you can unlock
it by doing this simple
anyway that is going to be about it that
is how you can
uh password protect any sort of folder
inside windows without any sort of
software by using a simple batch file
so i hope this has been some sort of use
here i'll leave all the links and
information in the video description my
name has been brian from brighttech
computers dot co dot uk
special shout out to all my youtube
members who join my youtube members
group i really do appreciate the support
and a special shout out goes to ms musk
oxen also rtx brody phil's computer
repair ron hicks caso time big daddy
also gary belts mike bigness pc repair
tech also we got albert houston jedi
buddhist geosam and welsh tony one
thanks again guys for all the support
really do appreciate it and have a
lovely weekend and i shall catch you in
the next video bye for now
[Music]
you