Hello and welcome everyone. In today's article, you will learn how to lock folder and content in it.
Please be aware of few things:
All of that being said, let us start with locking the local folder on the computer with the password.
Go to the folder where you have files that you would like to hide and lock with a password. Enter the folder and create the new text file inside it. Skip the name for now and go inside it. Copy and paste the following code inside the file:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==Your-Password-Here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Now locate this line of code in the document: if NOT %pass%==Your-Password-Here goto FAIL and replace Your-Password-Here with your password.
!!! Write down somewhere your password, if you lose it you will lock the folder even for you !!!
Save the file as FolderLocker.bat and double-click on it to execute it.
If everything was done correctly, a new folder with the name: Locker
Move files that you want to hide and protect inside that folder.
Double click again on FolderLocker.bat
The command prompt will appear with the question do you want to lock the folder, press Y, and press ENTER. The command prompt will close and the Locker folder will disappear.
In order to unhide and access the folder, you will need to double click on FolderLocker.bat again but this time command prompt with ENTER your password will appear. Type in your chosen password and the folder is back. If you wish to hide and lock it again just double click on FolderLocker.bat again, confirm with Y and it is hidden again.

Error Causes“Error 2738. Could not access VBScript run time for custom action.”It is a type of runtime error associated with VB (Visual Basic) Script. It indicates that the VB script engine is not correctly registered on your computer.
Error CausesError Code 0x80070422 can be found on many versions of the Windows operating system including Windows 7, Windows 8, and 8.1, and Windows 10. The reason for its occurrence may vary, however, depending on the version of the operating system that you use.
In the case of error code 0x80070422 in Windows 8, it often occurs when users attempt to update their firewall or download apps from the Windows store. When this error occurs the user is unable to complete the updates and will need to apply different solutions to correct the issue.
Error CausesWhenever error code 0x80070422 is encountered on Windows 8 or 8.1, it might be a result of various factors. These error codes include:
You do not need to be a Windows expert to attempt to solve errors like the 0x80070422 Windows 8 error code. Simply try the solutions below. If however, you feel you need a professional’s help, contact a certified Windows technician.
Viruses and other malicious software are often the cause of various issues within the PC. For this reason, be sure to check your machine for a possible virus infestation. If you are unable to use your anti-virus software or if none is present you might need to download an automated tool that offers overall repair and other solutions.
Another step you can take is to disable third-party security apps. When these apps are downloaded onto your device, it can lead to the disabling of your Firewall and the inability of your device to download other apps. If this is the source of the 0x80070422 error code on your machine, the issue will be resolved after you disable the third-party apps and reboot your computer.
If error code 0x80070422 in Windows 8 or 8.1 occurred while you attempted to update Windows firewall, one of the best solutions you can try is to disable the firewall. Note however that disabling your firewall should be temporary as it protects your computer from worms as well as hackers that might infect or compromise your PC. Access the firewall by swiping right on the screen then searching for “firewall”. Click “Windows firewall” then select “Turn off Windows firewall”.
Another option is for you to perform a clean boot. This simply refers to a reboot in Windows where only a minimum set of drivers and programs are used. A clean boot can help resolve issues related to software conflict which can occur when Windows users install programs or updates or simply run a program. Note that you must log on to the computer as an administrator. Otherwise, you will not be able to perform the clean boot.
The source of many errors related to Windows can lie within the registry. This is because the registry is involved in every aspect of a Windows computer’s operation. If there is an issue in the files of the registry or if it has been hacked, your computer will not function. For this reason, begin by cleaning the registry regularly. To clean our registry, use a powerful tool that is both reputable and user-friendly. Research your option before you make a selection as choosing the wrong tool could lead to even more errors or computer malfunctions.
Another important method to solve issues related to error code 0x80070422 in Windows 8 or 8.1 is your Windows Update service. Though you may have never noticed this feature before now, the Windows Update services allow PC owners to access updates to their operating system automatically. This leads to a properly functioning PC as your machine will always have the latest features and tools available. However, if the setting is not correct, your computer may end up experiencing error code 0x80070422. Check if this is the source of your problems by verifying if your Windows Update settings are automatic. Once the settings are on automatic, reboot your machine to ensure your computer responds to the changes.
Always be prepared for the possibility of other errors. You can do this by downloading powerful software. This enables users to regularly check for issues that may cause errors on their Windows device.
Many times we were talking and writing here on Errortools.com about security, privacy, hacking, identity theft, etc. We tried to raise important security questions and I hope I have managed to at least shed some light and change maybe some bad behaviors for some, helping them embrace better routines about their security on their PC.
In this light, I will today present you with one neat and awesome piece of software, a password manager worth your time and money (if you want premium features): BitWarden.
PriceGong is a browser add-in for Internet Explorer, Chrome and Firefox that analyzes web sites your browser visits and attempts to find coupons and other deals associated with the merchant’s product offerings or services. If PriceGoing sees a corresponding deal, it will attempt to inject an affiliate ‘code’ in order to collect various affiliate based commissions if a purchase is made while trying to offer you the best price of that particular product, or, in many cases try and show you an alternative product that is similar even if it is sold by a different merchant. Upon further inspection it was found that PriceGong failed to function in our testing.
While installed, this extension might display additional ads, inject sponsored content into webpages, even if the sponsored content is of lower quality than the original ones.
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootWinStoreAppxManifest.xml
get-hotfix KB1111111, KB2222222, KB3333333Note: In the command given above, you need to replace “KB1111111, KB2222222, KB3333333” with the actual update KB numbers.