Google Answers Logo
View Question
 
Q: Logging in into Windows Domain as another user. ( No Answer,   4 Comments )
Question  
Subject: Logging in into Windows Domain as another user.
Category: Computers > Security
Asked by: intelli-ga
List Price: $20.00
Posted: 20 May 2004 08:06 PDT
Expires: 19 Jun 2004 08:06 PDT
Question ID: 349350
Here is my situation: I successfully connect my Windows XP computer to
a remote network and receive an IP from DHCP server. I can reach all
other computers on the network. I now need to learn how to login into
domain controller from the command prompt, so I can gain access to the
resources available to this domain. Naturally, I couldn've done so via
the workstation login prompt, however, for some limitations in my VPN
software, I cannot do it at the time when I logging into the network
(my VPN credentials are different from my network credentials).

I need to learn how to login into the domain from a command prompt. I
recall using the net.exe command to do so long time ago on previous
versions of Windows, but I cannot find my notes or reproduce how to do
so. Please help.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Logging in into Windows Domain as another user.
From: peeyushm-ga on 24 May 2004 10:48 PDT
 
http://www3.hknetug.com/Forums/ShowPost.aspx?PostID=5732

i hope it helpes
Subject: Re: Logging in into Windows Domain as another user.
From: xioru-ga on 30 May 2004 03:48 PDT
 
Here is a sample;

c:\NET USE \\computername /USER:Domain\Administrator


You can get more help by "NET HELP commandname" command;
c:/NET HELP USE

More Info;
--------------------------------------------------------------
NET USE 

[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]   
        [/USER:[username@dotted domain name]      
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

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

NET USE [/PERSISTENT:{YES | NO}]


NET USE connects a computer to a shared resource or disconnects a 
computer from a shared resource. When used without options, it lists 
the computer's connections.

devicename       Assigns a name to connect to the resource or specifies 
                 the device to be disconnected. There are two kinds of 
                 devicenames: disk drives (D: through Z:) and printers 
                 (LPT1: through LPT3:). Type an asterisk instead of a 
                 specific devicename to assign the next available
                 devicename.
\\computername   Is the name of the computer controlling the shared 
                 resource. If the computername contains blank characters, 
                 enclose the double backslash (\\) and the computername 
                 in quotation marks (" "). The computername may be from 
                 1 to 15 characters long. 
\sharename       Is the network name of the shared resource. 
\volume          Specifies a NetWare volume on the server. You must have
                 Client Services for Netware (Windows Workstations)
                 or Gateway Service for Netware (Windows Server) 
                 installed and running to connect to NetWare servers.
password         Is the password needed to access the shared resource. 
*                Produces a prompt for the password. The password is 
                 not displayed when you type it at the password prompt. 
/USER            Specifies a different username with which the connection
                 is made. 
domainname       Specifies another domain. If domain is omitted,
                 the current logged on domain is used.
username         Specifies the username with which to logon.
/SMARTCARD       Specifies that the connection is to use credentials on
                 a smart card.
/SAVECRED        Specifies that the username and password are to be saved.
                 This switch is ignored unless the command prompts for username
                 and password.  This option is not available on Windows XP
                 Home Edition and will be ignored.
/HOME            Connects a user to their home directory.
/DELETE          Cancels a network connection and removes the connection
                 from the list of persistent connections. 
/PERSISTENT      Controls the use of persistent network connections. 
                 The default is the setting used last. 
YES              Saves connections as they are made, and restores
                 them at next logon. 
NO               Does not save the connection being made or subsequent 
                 connections; existing connections will be restored at 
                 next logon. Use the /DELETE switch to remove 
                 persistent connections.
NET HELP command | MORE displays Help one screen at a time.
--------------------------------------------------------------



Thank you

.Security Advisor
.xioru
Subject: Re: Logging in into Windows Domain as another user.
From: intelli-ga on 30 May 2004 07:29 PDT
 
Thanks, xioru. This is what I has come up to as well. I'm surprised,
though, to find no other way of changing the on-line credentials of a
user, except for the net use and runas. I'll keep the question hanging
until it expires, just in case someone else comes up with something
better. Thanks again.
Subject: Re: Logging in into Windows Domain as another user.
From: sunny77-ga on 31 May 2004 20:15 PDT
 
First log into your domain using your local network/Ehternet etc. Once
you log your account information will automatically log into LSA cache
in your registry. Now go back home. Log again into your domain without
any physical connection to your network and you still will be able to
logon to domain using locally cached information.

Now use VPN to connect to your network and you will be able to browse
all network without using NET command because you already have
verified network credentials and they will be used again any resource
in your domain.

Hope it will help.

Sunny

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy