How to Map Network Drives without GPOs: Logon Script - Active Directory (AD) | Windows Server 2022

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 25

  • @lstanford23
    @lstanford23 Рік тому

    Hey man, GREAT VIDEO! Clear, concise, and it got me through my problem. Thanks!!!

  • @samanbalal824
    @samanbalal824 2 роки тому +1

    This is useful for school labs. Thank you. :)

  • @xlite0060
    @xlite0060 8 місяців тому

    Спасибо! Очень полезное видео!

  • @DavidBanner-gp2wp
    @DavidBanner-gp2wp Рік тому +1

    I am a bit confuse, what if you have 200 users and they are in different departments and you want to to have there own H: Drive

    • @NetITGeeks
      @NetITGeeks  Рік тому

      In that situation, you can either create one H drive at a time for 200+ users, which is not ideal or you can write a Windows PowerShell script to create home directories and grant permissions. I am in the process of creating PS tutorials but right now. I will be going over useful scripts sometimes later. If you are a looking to learn PS, try: ua-cam.com/play/PLLJXhnhyaJU_R6xVkDtvfk-fgZGOGG8l0.html&si=pyDzwTMuqI_4YZcc

    • @DavidBanner-gp2wp
      @DavidBanner-gp2wp Рік тому +1

      @@NetITGeeks Amazing because at my place of work we all have our own H: drives but I want to know how this is done. Wouldn't they have access to each H drive??

    • @NetITGeeks
      @NetITGeeks  Рік тому

      Your Sys Admin or IT Analysts most likely have used a PowerShell script to create those folders and grant correct permissions to each user when the company first started. Then when new users comes it, if it is in large batches, a PowerShell script is most likely used at that point as well. But even in very large organizations, such as the org I work for, we just manually create home directories if it is just for handful of new users. I will create a video tutorial on one of those PS scripts sometimes in the future. If you Subscribe, you will get a notification :)

  • @dnyaneshwarkamble1149
    @dnyaneshwarkamble1149 Рік тому

    Thanks for guidance

  • @raisondetre.Is53
    @raisondetre.Is53 Рік тому

    Great video, ty!

  • @santoshjaiswal6913
    @santoshjaiswal6913 8 місяців тому

    where i find out netlogon script in end user. if I need to manual run

    • @NetITGeeks
      @NetITGeeks  8 місяців тому

      If you want to allow your user the option to manually run it, you will have to place your script or scripts in either their home drive or a shared drive in which both the user and admin have access to. Most orgs would place it under individual home drives or H drives because it can be customized for each individual.

  • @Joshua-jf3df
    @Joshua-jf3df Рік тому

    How come when i try and add the cmd file to netlogon i get access denied?

    • @NetITGeeks
      @NetITGeeks  Рік тому

      Are you logged into the server with the default Administrator account? If you are using any other secondary admin accounts, make sure your permissions are same as the default one or use the default domain admin account. Also check other GPOs and see if there is a one that you added that may be conflicting with this GPO.

  • @TheTF01
    @TheTF01 Рік тому

    Can you use gpo to map to a server that is not domain joined? The ability to map like that and use a particular username and password does not seem to be allowed any longer.

    • @NetITGeeks
      @NetITGeeks  Рік тому

      I believe this can be done using a PowerShell script. But I have not gone over intermediate and advanced PS scripting on YT channel as of now. You may try Googling it or I will look into this at a later time and post a video.

    • @TheTF01
      @TheTF01 Рік тому +1

      @@NetITGeeks thanks! After I posted that here I found another of your videos combine with a different video I think i got the answer. I think I understand how to script it and have a gpo apply that script based on a security group.

  • @FreeeWIFI
    @FreeeWIFI Рік тому +1

    Tight video

  • @DavidBanner-gp2wp
    @DavidBanner-gp2wp Рік тому

    Ok i rewatched the video will all the user be affected by this script?

    • @NetITGeeks
      @NetITGeeks  Рік тому

      If your question is if this script going to map this network drive for everyone in that OU or Security Group, the answer is no. You have to edit the "Logon script:" path on each user. Each users also must have permission to Read or higher level of access granted in the permissions as well. I have covered the folder permission in a different video. If you are interested, please check my channel.

  • @sergiol.3755
    @sergiol.3755 Рік тому

    can you add more than one script

    • @NetITGeeks
      @NetITGeeks  Рік тому

      There is a workaround I use when I need to pull multiple scripts at logon, which is to call-in other script files within the main script. The main logon script can reference scripts elsewhere and with PowerShell, you can do this very easily.