I don't know whether it's true for Windows after XP, it seems that default shares (drive letters such as C$
, D$
) are no longer directly shared by default. It's better to share the whole drive manually (will be shared as a folder) if needed. However anonymous with no password access is also restricted, so an account with password protected is needed to get your files through network access.
If you just want to instantly access the network drives through the Command Prompt (press Windows + R, input cmd
then press Enter), type the following command:
start \\pcA\folderA
pcA
: the name of the remote PC
folderA
: the name of the shared folder on the remote PC
Alternatively you can use the net use
command to map network drives persistently, here is an example:
net use z: \\pcA\folderA /user:peter 123456 /p:yes
z
: drive letter name(A-Z)
peter
: user name on remote PC
123456
: password for peter
/p:yes
: persistent, (accessible after reboot)
Before I committed, I found the following on a wiki about administrative shares(default shares):
By default, Windows Vista and newer versions of Windows prevent local
accounts from accessing administrative shares through the
network.
To enable administrative shares you have to make a registry change.
Click on Start Menu and in the search box type ‘regedit’ and press
ENTER. Add this registry item:
Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\Windows\CurrentVersion\Policies\System
Name: LocalAccountTokenFilterPolicy
Data Type: REG_DWORD
Value: 1
yea I connected by \computername\driveletter ... the drive would then appear in My Computer but when I double click the icon it says access denied – kamikaze_pilot – 2013-03-24T01:48:10.917
I've suggested two other things in the edit above. – LawrenceC – 2013-03-24T14:28:33.340