Can't Access C$

  • Thread starter Thread starter Cindy Mikeworth
  • Start date Start date
C

Cindy Mikeworth

I've just installed XP on a new workstation with all the current service
packs. As an administrator, I would like to be able to access the files on
that machine remotely using the C$ share name. If the administrator is
logged onto the machine, then I can assess the files without a problem,
however if a restricted user is logged in, I do not have access.

What should I be looking at?
 
Cindy Mikeworth said:
I've just installed XP on a new workstation with all the current service
packs. As an administrator, I would like to be able to access the files on
that machine remotely using the C$ share name. If the administrator is
logged onto the machine, then I can assess the files without a problem,
however if a restricted user is logged in, I do not have access.

What should I be looking at?

You're not stating which flavour of WinXP you use. AFAIK, the
administrative shares C$ etc. are not available on WinXP Home.

You can solve the problem like so:
- Use psexec.exe (www.sysinternals.com) do start a Command
Prompt on the remote machine.
- Run this command on the remote machine:
net share DriveC=C:\
- Close psexec.exe.
- Map a drive letter to \\RemotePC\DriveC

It would be a good idea to test if this share is accessible to
everyone. If it is then you have to tigthen its access rights.
 
When I ran this command on the remote machine logged in as the restricted
user, I received a 'System Error 5 - Access Denied'. No surprises there,
since this user shouldn't have permissions to share a drive.

I can see that this command can be run from a different machine, but I'm not
getting the syntax correct. Can you help a bit more?

BTW -- this is an XP Pro machine. :)
 
Pegasus (MVP) said:
You're not stating which flavour of WinXP you use. AFAIK, the
administrative shares C$ etc. are not available on WinXP Home.

You can solve the problem like so:
- Use psexec.exe (www.sysinternals.com) do start a Command
Prompt on the remote machine.
- Run this command on the remote machine:
net share DriveC=C:\
- Close psexec.exe.
- Map a drive letter to \\RemotePC\DriveC

It would be a good idea to test if this share is accessible to
everyone. If it is then you have to tigthen its access rights.

Since it's WinXP Pro, you must run gpedit.msc, then
follow this path: Computer configuration / Windows Settings / Security
Settings /
Local Settings / Securit options / Network Access:
Sharing and Security model for local accounts:
Use "Classic" - local users authenticate as themselves.
This will give you access to the administrative shares.

See also here: http://support.microsoft.com/default.aspx?kbid=307874#3
 
Back
Top