コンピュータのメンテナンス
 Computer >> コンピューター >  >> トラブルシューティング >> コンピュータのメンテナンス

Windows でフォルダまたはファイルをパスワードでロックする方法

不正アクセスから保護するために、フォルダやファイルをパスワードでロックする必要がある場合があります。この記事には、パスワードを持っていない人がアクセスできないようにするために、Windows OS のフォルダまたはファイルをパスワードで保護するための最も安全な無料の方法が含まれています。

Windows でフォルダまたはファイルをパスワードでロックする方法

ファイルをロック/暗号化する前のヒント:
1. ファイルをロックするときは常に強力なパスワードを使用し、安全な場所にメモしておいてください。
2. EFS または BitLocker 暗号化を使用する場合は、暗号化されたファイルと回復キーを必ず別のデバイス (外付け USB ドライブなど) にバックアップし、このデバイスを安全な場所に保管してください。
3.損傷を防ぐため、ロックされた (暗号化された) ファイルをロックされていない (暗号化されていない) 形式で別のデバイスに頻繁にバックアップしてください。

Windows でファイルやフォルダをパスワードで保護する方法

方法 1. Office ドキュメント、ワークブック、プレゼンテーションなどをロックする
方法 2. 7-Zip でフォルダーまたはファイルをロックして暗号化する
方法 3. EFS 暗号化を使用してファイルとフォルダーを暗号化します。
方法 4. Bit Locker を使用してフォルダーとそのファイルを暗号化します。
方法 5. VeraCrypt を使用してファイルとフォルダーを暗号化する

方法 1. Word ドキュメント、Excel ワークブック、PowerPoint プレゼンテーションなどをロックする方法

すべての Microsoft Office アプリケーションには、現在開いているドキュメントをパスワードで保護する機能があります。たとえば、Word、Excel、または PowerPoint ファイルにパスワードを設定する場合は、次の場所に移動します:

  • ファイル -> 情報 -> ドキュメントを保護 -> パスワードで暗号化 .

Windows でフォルダまたはファイルをパスワードでロックする方法

方法 2. 7-zip を使用してフォルダーまたはファイルをロックする方法

ファイルまたはフォルダーをパスワードで保護する次の方法は、データ暗号化をサポートする 7-Zip ファイル アーカイバー プログラムを使用することです。

長所: 無料で強力な暗号化を提供します!
短所: 7-zip ロック方式の欠点は、保護されたアーカイブを常に展開して、そのコンテンツにアクセスして操作する必要があることです。

7-zip のパスワードでファイルまたはフォルダを保護 (ロック) するには:

1. 7-zip をダウンロードしてインストールします。
2. 圧縮してパスワードで保護するファイル (またはフォルダー) を右クリックし、[7-Zip] を選択します。 -> アーカイブに追加 .

Windows でフォルダまたはファイルをパスワードでロックする方法

3. [アーカイブに追加] ウィンドウでパスワードを入力し、[OK] をクリックします。 .

Windows でフォルダまたはファイルをパスワードでロックする方法

方法 3. EFS 暗号化を使用してファイルとフォルダーをロックする方法

EFS は組み込みの暗号化ツールであり、NTFS ドライブ内の個々のファイルとフォルダーを暗号化することで保護できます。

長所: EFS で暗号化されたファイルは、同じコンピューター (ファイルが作成された場所) または別のコンピューターでのみ、復号化キー (証明書) をインストールした場合にのみ開くことができます。

短所:
1. EFS 暗号化は、Windows 10、8、8.1 Pro、または Windows 10 Enterprise と Windows 7 Ultimate でのみ使用できます。
2.暗号化されたファイルをネットワーク上の別のコンピューターにメール送信またはコピーすると、暗号化が解除されます (失われます)。

EFS 暗号化でファイルまたはフォルダを暗号化する。

1. 暗号化するファイルまたはフォルダを右クリックし、[プロパティ] を選択します .
2. [全般] タブで [詳細] をクリックします .

Windows でフォルダまたはファイルをパスワードでロックする方法

<強い>3.チェック ファイルを暗号化してデータを保護する [OK] をクリックします。 2 回変更を適用します。

Windows でフォルダまたはファイルをパスワードでロックする方法

4. 次に、Windows からプロンプトが表示されたら、[暗号化キーのバックアップ] をクリックします。 . *

Windows でフォルダまたはファイルをパスワードでロックする方法

* 注:「ファイル暗号化キーをバックアップしてください」というメッセージが表示されず、ファイル/フォルダーを初めて暗号化する場合は、次のいずれかに従ってください。暗号化キーをバックアップする 2 つの方法:

  • 方法-A. コンピューターを再起動し、Windows を起動した後、[暗号化ファイル システム - 暗号化キーのバックアップ] 通知アイコンをクリックします。

Windows でフォルダまたはファイルをパスワードでロックする方法

  • 方法 B。 Windows コントロール パネルに移動します インターネット オプションを開く .

a. コンテンツ タブをクリック 証明書

Windows でフォルダまたはファイルをパスワードでロックする方法

b. 個人で タブで、[エクスポート] をクリックします ステップ 6 に進み、リカバリ キーをバックアップします。

Windows でフォルダまたはファイルをパスワードでロックする方法

5. [今すぐバックアップする (推奨)] をクリックします

Windows でフォルダまたはファイルをパスワードでロックする方法

6. [証明書のエクスポート ウィザードへようこそ] で [次へ] をクリックします .

Windows でフォルダまたはファイルをパスワードでロックする方法

7. デフォルトのエクスポート ファイル形式のままにして、[次へ] をクリックします。 .

Windows でフォルダまたはファイルをパスワードでロックする方法

8. 次の画面で、チェックします パスワード チェックボックスをオンにして、強力なパスワードを入力し、AES256-SHA256 を選択します 暗号化。完了したら、[次へ] をクリックします .

Windows でフォルダまたはファイルをパスワードでロックする方法

9. [参照] をクリックします 、証明書ファイル (復号化キー) のファイル名を入力し、[ 保存 ] をクリックします。 をクリックして証明書 (復号化キー) を PC に保存します。* 完了したら、[次へ] をクリックします。 .

* 注意: 暗号化したフォルダー内に証明書を保存しないでください。

Windows でフォルダまたはファイルをパスワードでロックする方法

10. 最後に [完了] をクリックします。 そしてOK エクスポートが完了したとき。

Windows でフォルダまたはファイルをパスワードでロックする方法

11. あなたは終わった。暗号化を適用すると、暗号化されたすべてのファイル/フォルダーが南京錠のアイコンで表示されます。 *

* 注:以前のバージョンの Windows (Windows 7 など) では、暗号化されたファイル/フォルダーはファイル名に緑色の文字で表示されます。

Windows でフォルダまたはファイルをパスワードでロックする方法

EFS 暗号化方式を使用する場合のヒント:
1. Windows で (暗号化が適用される PC で) 強力なログイン パスワードを指定します。
2.エクスポートした EFS 回復キー (.pfx 証明書) は、常に別の安全な場所 ​​(ドライブ) にバックアップしてください。
3.暗号化が解除されるため、ネットワーク上で暗号化されたファイルを電子メールで送信したり、コピーしたりしないでください。
4.別のコンピューターで EFS 暗号化ファイルを開く (復号化する) 場合は、EFS 証明書復号化キーをエクスポートしたときに指定したパスワードを使用して、最初に証明書キー (.pfx 復号化キー) をインストールする必要があります。これを行うには、エクスポートされた証明書のキーを 2 重にし、[証明書のインポート ウィザード] の手順に従います。
5.最後に、EFS 暗号化が有効になっているコンピューター (または証明書復号化キーをインストールした後の別のコンピューター) で EFS 暗号化を削除する場合:

a.暗号化されたフォルダ/ファイルを右クリックし、[ファイルの所有権] を選択します -> 個人 .

Windows でフォルダまたはファイルをパスワードでロックする方法

b.次に、インストールされた証明書を次のように完全に削除します:

1. Windows コントロール パネルに移動します インターネット オプションを開く .
2. コンテンツ タブをクリック 証明書.
3. 個人で タブで、インストールされている証明書を強調表示し、[削除] をクリックします。 .

Windows でフォルダまたはファイルをパスワードでロックする方法

方法 4. Bit Locker を使用してフォルダーとそのファイルを暗号化する方法

機密データをパスワードで保護するための非常に安全な方法は、BitLocker 暗号化プログラムを使用することです。これは現在、Windows の Professional および Enterprise バージョン (Windows 10、8、8.1 Pro または Windows 10 Enterprise および Windows 7 Ultimate) にのみ組み込まれています。

長所: 強力な保護を提供します。
短所: BitLocker の欠点は、Windows Home バージョンでは利用できないことです。

  • 関連記事: Windows 10 Pro および Enterprise で BitLocker を使用して PC 全体を暗号化する方法

BitLocker でフォルダをパスワード保護するには:

ステップ 1. 仮想ハード ドライブ (VHD) を作成します。

In order to use BitLocker protection, you must create a VHD (aka "file container"), and then to store the files that you want to encrypt on it.それを行うには:

1. Windows を同時に押します。 Windows でフォルダまたはファイルをパスワードでロックする方法 + R キーを押して実行コマンド ボックスを開きます。
2. Type diskmgmt.msc Enter を押します .

Windows でフォルダまたはファイルをパスワードでロックする方法

3. In Disk Management, go to Action -> Create VHD

Windows でフォルダまたはファイルをパスワードでロックする方法

4. [参照] をクリックします and then, at the next screen, type a name for the BitLocker Volume (e.g. "Virtual Drive") and click Save .
5. Then specify a size for the virtual disk according your needs (e.g. 300MB) and optionally check the Dynamically expanding in order to to automatically increase the defined size e.g. 300MB) if needed.
6. 完了したら、[OK] をクリックします .

Windows でフォルダまたはファイルをパスワードでロックする方法

7. When the Virtual Disk creation is completed, you should see a new disk (e.g. "Disk 1") with the label "Not Initialized ".
8. Right click on the new disk and select Initialize Disk .

Windows でフォルダまたはファイルをパスワードでロックする方法

9. At "Initialize Disk" window, leave the default setting (MBR) and click OK .

Windows でフォルダまたはファイルをパスワードでロックする方法

10. When the initialization is completed, right click on the unallocated space and create a New Simple Volume .

Windows でフォルダまたはファイルをパスワードでロックする方法

11. [次へ] をクリックします at all the screens to create a new volume and to format the drive.

Windows でフォルダまたはファイルをパスワードでロックする方法

12. When the format is completed, you will see a new VHD volume (e.g. with name "New Volume (D:)" in disk manager (and in Windows Explorer).

Windows でフォルダまたはファイルをパスワードでロックする方法

Step 2. Protect the VHD Volume with BitLocker.

1. Windows コントロール パネル (小さなアイコン) に移動し、BitLocker ドライブ暗号化 を開きます。 .

Windows でフォルダまたはファイルをパスワードでロックする方法

2. 次に、[BitLocker を有効にする] をクリックします。 to enable the encryption on the new volume (drive):

Windows でフォルダまたはファイルをパスワードでロックする方法

3. Check Use a password to unlock the drive , then type a strong password and then click Next.

Windows でフォルダまたはファイルをパスワードでロックする方法

4. At the next screen select where do you want to save the recovery key, in case you have problems unblocking the drive and then click Next .このステップでは、次のオプションがあります:

  • Microsoft アカウントに保存 :By selecting this option you 'll able to get your recovery key after signing with your Microsoft Account at https://onedrive.live.com/recoverykey.
  • USB フラッシュ ドライブに保存します。 このオプションを選択した場合は、空の USB ドライブを PC に接続し、指示に従って BitLocker 回復ドライブを作成します。コンピューターのロック解除に問題が発生した場合 (今後)、USB フラッシュ ドライブをロックされた PC に接続し、指示に従ってロックを解除してください。
  • ファイルに保存: If you want to save the recovery key to a file, then save the file on the computer (not safe) or plug a USB drive on the PC and save the recovery key on the USB. If you can't unlock your PC in the future, then read the saved text file to find out the recovery key to unlock the virtual drive.
  • 回復キーを印刷 印刷した文書を安全な場所に保存してください。

Windows でフォルダまたはファイルをパスワードでロックする方法

5. At the next two (2) screens, click Next .

Windows でフォルダまたはファイルをパスワードでロックする方法

6. Finally click Start encrypting .

Windows でフォルダまたはファイルをパスワードでロックする方法

7. When the encryption is completed, open Windows Explorer and transfer the files that you want to protect in the new drive (VHD).
8. When you finish your job, right click on the new drive and choose Eject .

Windows でフォルダまたはファイルをパスワードでロックする方法

9. That's it!

TIPS when using the BitLocker encryption:
1. To change the BitLocker password or to remove (turn off) the BitLocker protection, navigate to Control Panel -> BitLocker Drive Encryption.
2.  Always backup the BitLocker recovery key to another safe location (drive).
3. To access the contents on the BitLocker protected Virtual Disk (VHD), use one of the following methods:

  • Method 1. Double click at the Virtual Disk's file (VHD) and when asked, type your password to unlock the drive.
  • Method 2. Open Disk Management and go to Action -> Attach VHD and then type the BitLocker password.

Windows でフォルダまたはファイルをパスワードでロックする方法

    • Click Browse , select the Virtual Drive (VHD file) and click OK .

Windows でフォルダまたはファイルをパスワードでロックする方法

    • Open Windows Explorer and double click at the new drive.
    • Type your password to unlock the drive and to explore its contents.

Windows でフォルダまたはファイルをパスワードでロックする方法

Method 5. How to Encrypt Folders and Files by using VeraCrypt.

The last secure method to lock folders and files, is by using the VeraCrypt the free and powerful open source encryption software.

Pros:
1. Provides Strong Protection
2. VeraCrypt can be used in all Windows versions (Home &Pro) and in Mac OSX and Linux.
3. It's Free!

Cons:–

  • 関連記事: How to Encrypt your entire PC with VeraCrypt in Windows (All Versions)

To Encrypt your Files with VeraCrypt:

Step 1. Create a VeraCrypt Password Protected Volume:

To start encrypting your files with VeraCrypt, you must create a VeraCrypt volume (also known as "VeraCrypt File Container"), which be actually an encrypted virtual disk (VHD) with your encrypted files.

1. PCにVeraCryptをダウンロードしてインストールします。 *

* 注:常にローカル管理者権限で VeraCrypt をインストールしてください。

Windows でフォルダまたはファイルをパスワードでロックする方法

2. When the installation is completed, launch VeraCrypt and go to Volumes -> Create New Volume

Windows でフォルダまたはファイルをパスワードでロックする方法

3. At the first screen leave the default option (Create an encrypted file container) and click Next .

Windows でフォルダまたはファイルをパスワードでロックする方法

4. 次へを押します to create a Standard VeraCrypt volume.

Windows でフォルダまたはファイルをパスワードでロックする方法

5. At the Volume Location window, click Select File and then, at the next screen, type a name for the VeraCrypt Volume (e.g. "Private") and click Save . When done click Next 続行します。

Windows でフォルダまたはファイルをパスワードでロックする方法

6. Leave the default Encryption options (AES / SHA-512) and click Next .

Windows でフォルダまたはファイルをパスワードでロックする方法

7. At Volume Size , type a size for he new volume according your needs (e.g. 300MB) and click Next .

Windows でフォルダまたはファイルをパスワードでロックする方法

8. 強力なパスワード* を入力して、[次へ] をクリックします。 続行します。

* Note:A strong password must consisting of 20 or more characters and it must contain upper and lower case letters, numbers, special symbols, etc..

TIP: Check the "Display Password" checkbox to verify what you typing.

Windows でフォルダまたはファイルをパスワードでロックする方法

9. At Volume Format options, select NTFS and optional check the Dynamic checkbox.* Then move your mouse as randomly as possible within the window to increase the cryptographic strength. When the 'Randomness' bar becomes green press Format .

* Note:If you choose the Dynamic option, the volume size will be increased dynamically if it exceeds the defined limit (e.g. of 300MB).

Windows でフォルダまたはファイルをパスワードでロックする方法

10. When the operation is completed click OK and then click Exit.

Windows でフォルダまたはファイルをパスワードでロックする方法

Step 2. Transfer the Files that you want to protect inside the VeraCrypt volume.

The final step, is to put the folders/files that your want to protect inside the VeraCrypt encrypted volume.

1. Launch VeraCrypt and mount the encrypted volume.それを行うには:

<ブロック引用>

1. Select an available Drive letter.
2. Click Select file and choose the encrypted VeraCrypt volume (e.g. "Private").
3. Click Mount .

Windows でフォルダまたはファイルをパスワードでロックする方法

<ブロック引用>

4. Type the password and click OK.

Windows でフォルダまたはファイルをパスワードでロックする方法

2. When the mounting is done, open Windows Explorer and you will see a new local drive (with a size according to the one you had set, when you created the VeraCrypt volume).

Windows でフォルダまたはファイルをパスワードでロックする方法

3. Now, transfer all the folders and files that you want to protect to the new drive.
4. When done, close Windows Explorer and from VeraCrypt menu select Dismount .

Windows でフォルダまたはファイルをパスワードでロックする方法

5. あなたは終わった! Just follow the same procedure to work with your protected files in the future.

それでおしまい!あなたの経験についてコメントを残して、このガイドが役に立ったかどうか教えてください。他の人を助けるために、このガイドを気に入って共有してください。


  1. Windows 11 でファイルまたはフォルダーをパスワードで保護する方法

    パスワード保護は、ファイルやフォルダーを Windows 11 で見られたくない人から保護するための優れた方法です。以前の投稿で述べたように、Windows には基本的なパスワード保護のサポートが組み込まれていますが、企業向けではありません。 ファイルまたはフォルダーをパスワードで保護する方法に関する情報を提供することに関して、Microsoft は多くの支援を提供していません。 ファイルやフォルダーをさまよう目から保護するための迅速かつ簡単な方法を探している場合は、ファイルまたはフォルダーをパスワードで保護する簡単な方法を次に示します。 ファイルまたはフォルダーをパスワードで保護する

  2. Windows 10 でフォルダまたはファイルをパスワードで保護する方法

    他の人がアクセスできないようにしたいファイルがある場合は、それらをパスワードでロックすることが、安心を得る最も簡単な方法です。 Windows には、基本的なパスワード保護のサポートが組み込まれているため、ファイルを覗き見から安全に保つことができます。 始める前に、警告を提示する必要があります。この方法は単純で効果的ですが、大規模またはミッション クリティカルな使用を意図したものではありません。デバイスに非常に機密性の高い情報を保存している場合は、専用の暗号化ソフトウェアに投資する必要があることは言うまでもありません。 まず、エクスプローラーを使用して、保護するファイルまたはフォルダー