Showing posts with label windows tricks. Show all posts
Showing posts with label windows tricks. Show all posts
Sometimes you need some privacy for your files in windows and just hiding it is not a good idea!

You may need a protected place which can't be accessed by others. Here we come with a tutorial to make a locked or protected folder in windows using notepad.



Actually you're about to create a batch file, which will let you to do so.

So lets start!

Step 1:

Open notepad and paste the following code in it.

cls
@ECHO OFF
title Folder LockedFolder
if EXIST "tG Locker" goto UNLOCK
if NOT EXIST LockedFolder goto tGlocker
:CONFIRM
echo Do you really wanna lock this 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 LockedFolder "tG Locker"
attrib +h +s "tG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock if you are folder owner
set/p "pass=>"
if NOT %pass%== techgoogles goto FAIL
attrib -h -s "tG Locker"
ren "tG Locker" LockedFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Dont try to access others data
goto End
:tGlocker
md LockedFolder
echo LockedFolder created successfully
goto End
:End
Set your password by editing highlighted part of code by yours and save it as tGlocker.bat


Step 2:

Now place that batch file (tGlocker.bat) to the location where you want to create a protected folder.
Double click on tGlocker.bat and and a folder named  LockedFolder will be created in same directory.

Then move your files and folders to be secured in LockedFolder and afterwards double click on tGlocker.bat and press Y to confirm locking it.
You have sucessfully locked your private files!

Step 3:


Now to unlocked folder, double click on tGlocker.bat and enter 'techgoogles' or your password.


With the launching of Windows 10, microsoft added lots of new shortcuts.

Windows 10 new shortcuts


Microsoft also added complete shortcut guide on its official website.



Method 1: Editing Registry


Step0 ‬Goto run.
Step1 ‪‬Type 'regedit' without quotes.
Step2‪‬ Click on HKEY_LOCAL_MACHINE.
Step3‪‬ goto SYSTEM.
Step4‪‬ Click on CurrentControlSet.
Step5‪‬ Click on services
Step6‪‬ Goto USBSTOR
Step7‪‬ Double click on 'Start' where value is 3.  


Step8 ‪‬Now change the value data with 4.
‪Step9‪‬ Now press ok and refresh your desktop your USB port is disabled.

 To enable it again, do this:‪‬ To enable the usb port replace the value 4 with 3.

Method 2: Using Device Manager

Go to start and search for "Device Manager".
 Click on 'Universal Serial Bus controllers and enable or disable by right-clicking on them.

Method 3: Using USB block/unblock app.

The easiest way is - just use the simple exe app.
  Download USB block/unblock