Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

Windows 11 管理共有(隠し共有)の設定方法

0
Posted at

はじめに

毎回設定方法を忘れるので、備忘録です。

環境

確認方法

以下のコマンドで確認できます。

PowerShell
net share

アクセス方法

お尻に $ を付与します。

例 ① … IP アドレス 192.168.1.100 の C ドライブにアクセスする
\\192.168.1.100\C$
例 ② … コンピュータ名 DBSERVER の Windows フォルダにアクセスする
\\DBSERVER\ADMIN$

ローカル管理者アカウントでアクセスできるようにする

Windows 10 以降、セキュリティ強化のため、ローカル管理者アカウントでリモートからアクセスしようとしても、拒否されるようになりました。ただしこれは、レジストリの設定変更で回避できます。

レジストリエディターを直接いじっても良いですが、今回はコマンドで行います。PowerShell などを管理者で実行し、以下のコマンドを入力してください。コマンドの実行後、再起動で反映されます。

PowerShell
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

再起動後、レジストリエディターでも確認しておきます。以下のキーに移動して LocalAccountTokenFilterPolicy が 1 になっていれば OK です。元の制限状態に戻したい時は 0 にしてください。

LocalAccountTokenFilterPolicy パス
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

おわりに

セキュリティ的には良くないので、用法容量を守っていきましょう。

0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?