Announcement

Collapse
No announcement yet.

Add a Network Location logon script?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add a Network Location logon script?

    We have an app that requires users to have a "Network Location" drive mapping. We can do this manually easy enough. Is there way to script this for multiple users?

  • #2
    Re: Add a Network Location logon script?

    Yes. Is this computer part of a workgroup or is it joined to a domain?

    If it's part of a workgroup use the local policy (run gpedit.msc) and add a logon script. This will apply to all users that logon.

    If it's a domain, apply a GPO with a logon script configured to the OU containing the users you want to apply it to.
    Regards,
    Jeremy

    Network Consultant/Engineer
    Baltimore - Washington area and beyond
    www.gma-cpa.com

    Comment


    • #3
      Re: Add a Network Location logon script?

      Create batch file and use:

      net use Z: \\servername\share
      As Jeremy said, use logon script


      it works great
      Just my 2c

      Comment


      • #4
        Re: Add a Network Location logon script?

        If it is based on network location, consider a site level GPO
        Tom Jones
        MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
        PhD, MSc, FIAP, MIITT
        IT Trainer / Consultant
        Ossian Ltd
        Scotland

        ** Remember to give credit where credit is due and leave reputation points where appropriate **

        Comment


        • #5
          Re: Add a Network Location logon script?

          Or you could use a script like this: http://blogs.technet.com/b/heyscript...-s-subnet.aspx
          Caesar's cipher - 3

          ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

          SFX JNRS FC U6 MNGR

          Comment

          Working...
          X