I am sure this is very common problem, but somehow I cannot google the solution quickly enough, so I ask here :) I have two Windows 10 PCs. From PC1 I can do net use \pc2\c$, authenticate as administrator and it is a success. From PC2 I cannot do it though and I get access denied - system error 5. Local administrator account is active and I tried runas to see if I type the proper password. I also created another user and added it to administrators group, but can't map the drive using this account either. In secpol.msc "access this computer from network" administrators is listed. I can however map a non admin share which I have created on some folder there. So what else can it be?
-
Check Network Sharing, Advanced settings and make sure Network Discovery, File and Print Sharing and Password Protected sharing are all ON. Mapping to C$ was removed some time back. See if you have some old protocol like SMBv1 on one of the machines.– JohnDec 1, 2021 at 16:44
-
all of these is enabled...– VitasDec 1, 2021 at 20:23
-
1You have SMBv1 running? That has been deprecated and may not be on one of the computers. Microsoft is uninstalling SMBv1– JohnDec 1, 2021 at 20:47
-
all SMB 1.0 things are unchecked in "turn windows features on or off"– VitasDec 2, 2021 at 13:00
-
See here: superuser.com/questions/1218973/…– Ƭᴇcʜιᴇ007Dec 8, 2021 at 21:02
|
Show 1 more comment
1 Answer
One very common solution to the problem is to disable UAC remote restrictions:
On PC1, run
regedit
Navigate to the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
If an item named
LocalAccountTokenFilterPolicy
doesn't exist, create it as DWORD-32Set the value of the item to
1
Reboot.
-
I am away from that PC now so can't test sorry. But I am surprised why this would work because I don't have this registry on any other PC which can access each other via c$ without any problem... :-\– VitasDec 10, 2021 at 12:12
-