Тёмный
No video :(

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

NetITGeeks
Подписаться 15 тыс.
Просмотров 13 тыс.
50% 1

You can map multiple network drives using Active Directory (AD) Users Profiles tab by assigning a script. This demonstration is done using Windows Server 2022 (same steps apply for Windows Server 2019). This method use the "net use" commands to assign drive letters to specific shared folder locations in the Domain Controller. This is a very light weight script and can run in the background within seconds of a user logging in and any delays are often caused by network latencies.
Windows Server default scripts location: {YOUR_SERVER_LOCATION}
etlogon
The end user will not have the permission to edit any scripts saved in netlogon network folder by default. The script can be saved as a .ps1, .cmd, .bat file, etc. You can only map one network location (network drive) to one drive letter per user per logon session. More information will be published on sanuja.com in the future.
Microsoft documentations on net use commands:
learn.microsof...
learn.microsof...
-Share Folders based on Group Permissions: • How to share folders b...
-Create Home Folders for multiple users: • How to create Home Fol...
-Create Active Directory OUs and Users: • Create Active Director...
-Install AD DS on Windows Server 2022 Core: • Install Active Directo...
-Initial configs: • Windows Server 2022 Co...
-Windows Server Admin playlist:
• Windows Server Adminis...
-Microsoft Windows playlist:
• Microsoft Windows
Track: WhileART Sessions Episode 02 | Waramathi (වරමාතී) Fusion
Watch: • WhileART Sessions Epis...
sanuja.com
Co-producer:
Manuja Senanayake
#windowsserver2022 #activedirectory #adds #sharefolders #networking

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@lstanford23
@lstanford23 Год назад
Hey man, GREAT VIDEO! Clear, concise, and it got me through my problem. Thanks!!!
@NetITGeeks
@NetITGeeks Год назад
You're welcome!
@samanbalal824
@samanbalal824 Год назад
This is useful for school labs. Thank you. :)
@NetITGeeks
@NetITGeeks Год назад
You're welcome!
@xlite0060
@xlite0060 4 месяца назад
Спасибо! Очень полезное видео!
@hmry7615
@hmry7615 Год назад
Great video, ty!
@NetITGeeks
@NetITGeeks Год назад
Glad it was helpful!
@dnyaneshwarkamble1149
@dnyaneshwarkamble1149 11 месяцев назад
Thanks for guidance
@NetITGeeks
@NetITGeeks 11 месяцев назад
You're welcome 😊
@FreeeWIFI
@FreeeWIFI Год назад
Tight video
@DavidBanner-gp2wp
@DavidBanner-gp2wp 11 месяцев назад
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 11 месяцев назад
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: ru-vid.com/group/PLLJXhnhyaJU_R6xVkDtvfk-fgZGOGG8l0&si=pyDzwTMuqI_4YZcc
@DavidBanner-gp2wp
@DavidBanner-gp2wp 11 месяцев назад
@@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 11 месяцев назад
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 :)
@santoshjaiswal6913
@santoshjaiswal6913 4 месяца назад
where i find out netlogon script in end user. if I need to manual run
@NetITGeeks
@NetITGeeks 4 месяца назад
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 10 месяцев назад
How come when i try and add the cmd file to netlogon i get access denied?
@NetITGeeks
@NetITGeeks 10 месяцев назад
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.
@sergiol.3755
@sergiol.3755 10 месяцев назад
can you add more than one script
@NetITGeeks
@NetITGeeks 10 месяцев назад
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.
@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 Год назад
@@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.
@DavidBanner-gp2wp
@DavidBanner-gp2wp 11 месяцев назад
Ok i rewatched the video will all the user be affected by this script?
@NetITGeeks
@NetITGeeks 11 месяцев назад
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.
Далее
🎙А не СПЕТЬ ли мне ПЕСНЮ?
3:09:39
Просмотров 1,6 млн
Map Network Drive Using Group Policy
6:01
Просмотров 59 тыс.
🎙А не СПЕТЬ ли мне ПЕСНЮ?
3:09:39
Просмотров 1,6 млн