Jump to content

NET USE > commands


Highor

Recommended Posts

Hello,

Is it possible via net share, to share documents on someone's computer?

I login with net use, and than username+pw of the computer.

Is it possible to share document now for that computer?

Thanks

Link to comment
Share on other sites


I get:

Multiple connections to a server or shared resource by the same user, using more

than one user name, are not allowed. Disconnect all previous connections to the

server or shared resource and try again..

How can i change, that i can go on it?

thanks

Link to comment
Share on other sites

net share Desktop="%userprofile%\Desktop" /unlimited

shares the Desktop of the current user on that pc and calls it Desktop with unlimited no of users to have access

net share 'sharename'='path' /'number of users'

Link to comment
Share on other sites

i get:

Multiple connections to a server or shared resource by the same user, using more

than one user name, are not allowed. Disconnect all previous connections to the

server or shared resource and try again..

also when i did /d

C:\>net use computer /d

computer was deleted successfully.

and than i do:

psexec computer -u administrator -p administrator net share Drive=C:

Link to comment
Share on other sites

I meant to literally do this 'net use * /d'

This command with disconnect all (*) shares, pipes, etc. that you have open. The error you keep getting is saying that you already have a connection to the resource using a different security context.

For example, I am logged in as USER1 on DOMAIN1 and in this security context DOMAIN1\USER1 I have a connection to COMPUTER2. Now, from the same computer, I try to map to another share on COMPUTER2 as USER2 on DOMAIN1. This is not allowed, as I am already using the DOMAIN1\USER1 security context to attach to resources on that computer.

In order to connect to COMPUTER2 as DOMAIN1\USER2, I need first to disconnect the share, or IPC$ connection to COMPUTER2 that has been established using DOMAIN1\USER1.

The easiest way to do this is to type:

net use * /d

I hope this is more clear now

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...