in reply to How to log on to windows server?
Typically the remote server is attached (automatically) with the account the service is running on its own machine.
Alternatively you can connect with a different account. A command line to do so would be
net use \\remote /user:<user> <password>
<user> is either a domain account (aka domain\account) or a local account (from the remote machine).
<password> (for <user>) is optional, if it is identical to the pw of the current account, the process runs under.
The issued "net use" must be the first command of your service that contacts the remote machine, because that first encounter fixes the credentials for the interaction.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to log on to windows server?
by noslenj123 (Scribe) on Feb 03, 2006 at 23:45 UTC | |
by pKai (Priest) on Feb 04, 2006 at 22:23 UTC | |
by noslenj123 (Scribe) on Feb 07, 2006 at 17:25 UTC |