Problems accessing the administrative shared folders

By The_Parasite ·
I'm trying to gain access to the administrative shared folder on my laptop, from my stationary.
They both have XP Pro installed, and the internal network between them works fine.
I have been looking at the Administrative shared folders for experimentation, but had the following problems:

When I tried accessing the C$ shared, I was prompted for a password, but was automatically given the username "Guest". As the guest user is deactivated on my laptop, that user was pretty useless.

1. Is there a way I can connect from XP to XP, without getting the guest user? Preferably without changing any settings on my laptop.

I tried booting my stationary from a live Linux USB, and the network manager there showed the C$ folder. When trying to access it, I was prompted for both username and password, and I gave the username and password for the Admin user on the laptop. This didn?t work, I was just prompted for the password again. (I checked for spelling and caps)

2. I had access to the other (normal) shared folders, but not the C$ one, so how come it didn?t work?

In advance, thank you for your help, and your time.
- Steffen

This conversation is currently closed to new comments.

50 total posts (Page 4 of 5)   Prev   02 | 03 | 04 | 05   Next
Thread display: Collapse - | Expand +

All Answers

Collapse -

But.... did you try......

by ThumbsUp2 In reply to I'm writing this:

net use X: \\SD\C$ password /USER:Administrator

The syntax of this command is:

[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]

NET USE {devicename | *} [password | *] /HOME


The following conventions are used to indicate command syntax:

- Capital letters represent words that must be typed as shown. Lower-
case letters represent names of items that may vary, such as filenames.

- The [ and ] characters surround optional items that can be supplied
with the command.

- The { and } characters surround lists of items. You must supply one
of the items with the command.

- The | character separates items in a list. Only one of the items can
be supplied with the command.

For example, in the following syntax, you must type NET COMMAND and
either SWITCH1 or SWITCH2. Supplying a name is optional.

- The [...] characters mean you can repeat the previous item.
Separate items with spaces.

- The [,...] characters mean you can repeat the previous item, but
you must separate items with commas or semicolons, not spaces.

- When typed at the command prompt, service names of two words or
more must be enclosed in quotation marks. For example,
NET START "COMPUTER BROWSER" starts the computer browser service.

Collapse -

yep, have tried that too...

by The_Parasite In reply to I'm writing this:

have tried both
net use X: \\SD\C$ password /USER:Administrator
net use X: \\\C$ password /USER:Administrator
still error 5

Collapse -

NET USE command help

by Mehul Bhai In reply to I'm writing this:

Net use Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. Used without parameters, net use retrieves a list of network connections.

net use [{DeviceName | *}] [\\ComputerName\ShareName[\volume]] [{Password | *}]] [/user:[DomainName\]UserName] [/user:[DottedDomainName\]UserName] [/user: [UserName@DottedDomainName] [/savecred] [/smartcard] [{/delete | /persistent:{yes | no}}]

net use [DeviceName [/home[{Password | *}] [/delete:{yes | no}]]

net use [/persistent:{yes | no}]

Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of device names: disk drives (that is, through Z:) and printers (that is, LPT1: through LPT3:). Type an asterisk (*) instead of a specific device name to assign the next available device name.
Specifies the name of the server and the shared resource. If ComputerName contains spaces, use quotation marks around the entire computer name from the double backslash (\\) to the end of the computer name (for example, "\\Computer Name\Share Name"). The computer name can be from 1 to 15 characters long.
Specifies a NetWare volume on the server. You must have Client Service for NetWare installed and running to connect to NetWare servers.
Specifies the password needed to access the shared resource. Type an asterisk (*) to produce a prompt for the password. The password is not displayed when you type it at the password prompt.
Specifies a different user name with which the connection is made.
Specifies another domain. If you omit DomainName, net use uses the current logged on domain.
Specifies the user name with which to log on.
Specifies the fully-qualified domain name for the domain where the user account exists.
Stores the provided credentials for reuse.
Specifies the network connection is to use the credentials on a smart card. If multiple smart cards are available, you are asked to specify the credential.
Cancels the specified network connection. If you specify the connection with an asterisk (*), all network connections are canceled.
/persistent:{yes | no}
Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. Yes saves all connections as they are made, and restores them at next logon. No does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use /delete to remove persistent connections.
Connects a user to the home directory.
net help command
Displays help for the specified net command.
Connecting and disconnecting from a network resource
Use net use to connect to and disconnect from a network resource, and to view your current connections to network resources. You cannot disconnect from a shared directory if you use it as your current drive or an active process is using it.

Viewing connection information
To view information about a connection, you can do either of the following:

Type net use DeviceName to get information about a specific connection.
Type net use to get a list of all the computer's connections.
Using deviceless connections
Deviceless connections are not persistent.

Connecting to NetWare servers
After you install and run Client Service for NetWare, you can connect to a NetWare server on a Novell network. Use the same syntax that you use to connect to a Windows Networking server, except you must include the volume you to which you want to connect.

Using quotation marks
If the ServerName that you supply contains spaces, use quotation marks around the text (that is, "Server Name"). If you omit quotation marks, an error message appears.

To assign the disk-drive device name E: to the Letters shared directory on the \\Financial server, type:

net use e: \\financial\letters

To assign (map) the disk-drive device name M: to the directory Mike within the Letters volume on the \\Financial NetWare server, type:

net use m: \\financial\letters\mike

To connect the user identifier Dan as if the connection were made from the Accounts domain, type:

net use d:\\server\share /user:Accounts\Dan

To disconnect from the \\Financial\Public directory, type:

net use f: \\financial\public /delete

To connect to the resource memos shared on the \\Financial 2 server, type:

net use k: "\\financial 2" \memos

To restore the current connections at each logon, regardless of future changes, type:

net use /persistent:yes
Search for "net use" in your machine operating systems "Help and Support Center"
For a shorter version type "net use ?" (without inverted commas naturally) in the command prompt or cmd.

This and all other posts shows that you are not reading, following, understanding and listening to all the post properly. I meant to say what this Syntax shows. Your computer will always help you if you do not understand nay command. Hence Windows is User Friendly even though it may be Buggy. I do not know about other OSes as I have not used and supported them.

Collapse -

Are you using a

by Jacky Howe In reply to still error 5 :(

3rd party Firewall? Temporarily disable it if you are. Also

System error 5 - Access is denied

This is a permission issue. If the net view command fails with a "System error 5 has occurred. Access is denied." message, 1) make sure you are logged on using an account that has permission to view the shares on the remote computer.
2) Need to cache credential: logon the same username and password on both computers or use net net use \\computername /user:username command.
3) Make sure the Netlogon service is running. error 5 - Access is denied

Collapse -

Saved Credentials, Username format,

by BizIntelligence In reply to Are you using a

I thought I should share my experience as well..:-)

Whenever I want to connect to a administrative share I do follow things:
1. \\computer-name\c$
2. Type username as \\computername\administrator and then password

Thats it...and it connects

To check for saved credentials in Windows XP run this

<b>rundll32.exe keymgr.dll, KRShowKeyMgr</b>

Above command will show saved credentials for particular resource. You can also create one for a resource.

I am assuming following service is enabled:
<b>File and Print Sharing</b>

Cheers !

Collapse -

Saved Credentials, Username format,

by Mehul Bhai In reply to Saved Credentials, Userna ...

I also meant to say the same thing as "singhsons" as in step 2, either it should be "\\computer-name\administrator" or "\\Workgroup-name\administrator" or "computer-name\administrator" or "Workgroup-name\administrator" in the User Name Field. Remember the Backward Slashes are IMPORTANT here and not Forward slashes. You can get the WorkGroup Name from the Computer Name Tab of System Properties, where you will be get both the ComputerName and WorkGroupName. Please try this and let us know.

Collapse -

still gray

by The_Parasite In reply to Saved Credentials, Userna ...

Can't change the username, it's still grayed out as SD\Guest. (thats why I'm using net use)
and tried running the key manager, as written above, but the list is empty, so apperently I don't have any credentials saved.
I tried saving the admin credentials, but didn't change anything.
also yes, filesharing is of course activated :)

Collapse -


by Jacky Howe In reply to Are you using a

wouldn't hurt to try this as well.

Reset the Registry and the File Permissions in Windows XP

Collapse -

what will this do?

by The_Parasite In reply to Probably

I'm a bit cautious with resetting permissions in general, so I would like to know what this will actually do? (Especially since I haven't set any specific file nor registry permissions on any of the machines)

Collapse -

check, check and check

by The_Parasite In reply to Are you using a

No 3. party firewalls... have also tried with windows firewall disabled, no difference.

1) make sure you are logged on using an account that has permission to view the shares on the remote computer.
- As I'm trying to access as the XP created Administrator, I'm pretty sure it should ahve access.
2) Need to cache credential: logon the same username and password on both computers or use net net use \\computername /user:username command.
- Tried logging on as the administrator on both machines (they have the same password), so check...
3) Make sure the Netlogon service is running.
- If I can access the other "normal" shared files, does that meen it's running? or how do I test this?

Back to Linux Forum
50 total posts (Page 4 of 5)   Prev   02 | 03 | 04 | 05   Next

Related Discussions

Related Forums