1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick Q

Discussion in 'Networks' started by Jellyman_4eva, Jan 6, 2006.

  1. Jellyman_4eva

    Jellyman_4eva Byte Poster

    213
    4
    34
    In a 2K3 domain environment with XP Pro SP2 on the clients...

    I just wanted to know how I could log onto a hidden share via the run command...

    For example if I go up to a machine which a member of staff is logged on to and I need to grab something from a share which they do not have rights to... if I simply enter the name of the share and hit go it correctly tells me to go away! How do I put in a username suffix first then log onto the share to save me having to log them off, me log on etc etc etc!

    Thanks
     
    Certifications: MCDST, MCITP-EDST/EDA/EA/SA/ MCSA 2K3/2K8, MCSE+M 2K3/2K8, ISA/TMG, VCP3/4, CCNA, Exchange, SQL, Citrix, A+, N+, L+, Sec+, Ser+, JNCIA-SSL, JNCIS-SSL
    WIP: Lots
  2. Baba O'Riley

    Baba O'Riley Gigabyte Poster

    1,760
    23
    99
    Type "\\servername\sharename\" You'll then get a logon prompt.

    HTH

    EDIT: Or "\\servername\sharepath\sharename\" if the share is not in the root directory.
     
    Certifications: A+, Network+
    WIP: 70-270
  3. Baba O'Riley

    Baba O'Riley Gigabyte Poster

    1,760
    23
    99
    Sorry Jellyman, I misinterpreted your question. I'm not sure if you use the \\computername\sharename command locally, you get the logon prompt. You do if you do it remotely definitely, which is a simpler solution than walking over to the other PC.
     
    Certifications: A+, Network+
    WIP: 70-270
  4. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,199
    125
    199
    You do.

    Unless you are logged onto the machine that you are at as a domain admin, in which case you get straight in.

    8)

    EDIT: Oh Cr@p, I misinterpreted the q as well!
     
  5. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,199
    125
    199
    Just to clarify,

    You are at a local machine, logged in as a user.

    You want to access a hidden share on the local PC to which the currently logged on user doesn't have rights.

    Is this correct?
     
  6. simongrahamuk
    Honorary Member

    simongrahamuk Hmmmmmmm?

    6,199
    125
    199
    I'm not sure, but this may help.

    The syntax would be I think:

    runas /admin@domain.com \\localcompname\localcompshare


    8)
     
  7. Baba O'Riley

    Baba O'Riley Gigabyte Poster

    1,760
    23
    99
    Simon, it's obviously way too early in the morning for the two of us! :rolleyes:
     
    Certifications: A+, Network+
    WIP: 70-270
  8. eyeball

    eyeball Nibble Poster

    82
    3
    0
    correct syntax is

    Code:
    runas /user:<domain/computername>\<user> <program command>
    so to run explorer to a file share

    Code:
    runas /user:<domain>\<user> "%systemroot%\explorer \\<computer>\<share>"
    Note also that user can be defined as
    Code:
    <user>@<domain>
     
    Certifications: A+, Network +, MCSA
    WIP: CCNA, MCSE+security

Share This Page

Loading...