How To Map Network Drives Using Logon Script GPO in Windows Server 2019

  Рет қаралды 121,580

MSFT WebCast

MSFT WebCast

Күн бұрын

Пікірлер: 62
@Simulacra001
@Simulacra001 Жыл бұрын
As you say GPO is a better way. However, for those that still want to use a logon script to map drives, may I suggest the following: net use M: >nul 2>&1 if %errorlevel% equ 0 net use M: /d net use M: "\\WS2K19-DC01\HRSharedData" /persistent:yes >nul This will check if the drive letter is already in use and if so remove it. It will then remap the shared location as normal. NOTE: I have enclosed the share location/path in " even though it is not needed in this example but it is best practice in case your share path has any spaces.
@tinkumonpskaria2529
@tinkumonpskaria2529 4 жыл бұрын
Was really helpful and informative.
@ayatarek6612
@ayatarek6612 3 жыл бұрын
Thank you so much, this was really helpful.
@infotechyeti
@infotechyeti 3 жыл бұрын
super easy. in my case many users have access to multiple shared drives and folders. with my work environment some want access to specific folders. i am thinking on working on a script to prompt options of which folder one would like to map within a shared drive. not sure if its possible. thank you. great video explanation.
@saurongandalf1511
@saurongandalf1511 3 жыл бұрын
simple as explained thank you!
@javoristhomas8848
@javoristhomas8848 Жыл бұрын
Hey do you know the login scipit where everyone in the domain gets there own data space on a storage pc
@keithspurlock4732
@keithspurlock4732 4 жыл бұрын
The domain server I am working on does not have the MUMBAI folder (or anything remotely similar). So I am stuck at the 5:35 timeline. Active Directory Users and Computers does not have any folders like your MUMBAI folder. Neither does my GPO. The GPO does not have any USERS either so I can't link the Mapped Drive GPO. Was the MUMBAI folder created my you and how do I create a folder like this so I can link the GPO to my users? Thank you.
@MSFTWebCast
@MSFTWebCast 4 жыл бұрын
You need to create OU (Mumbai folder) first. Right click on your domain name and select new option. In context menu select Organizational Unit.
@andyoeft
@andyoeft 3 жыл бұрын
Excellent point. This was never covered in this video. The AD object MUMBAI simply appeared from nowhere without explanation about how this custom AD object was created. And is this even necessary given that everyone in my organization (all domain users) will be needing my drive mapping
@Rurkgh
@Rurkgh 2 жыл бұрын
@@andyoeft this video is part of a playlist
@kodemasterx
@kodemasterx 2 жыл бұрын
Scripts are not working for me no matter what I do, I followed several tutorials as well using the SYSVOL/sysvol/script forlder but they still do not run... Any suggestion what may the problem here?
@MSFTWebCast
@MSFTWebCast 2 жыл бұрын
Assign script directory from users properties and check that out.
@talktome2000
@talktome2000 2 жыл бұрын
Thanks very much
@jimp5964
@jimp5964 5 жыл бұрын
Great Video. Thank you
@MarcosViniciusGomes
@MarcosViniciusGomes 3 жыл бұрын
I wonder if there is any way to force the user to update their data, such as email and phone in AD, when they log in to Windows ??????
@stenzstenz5848
@stenzstenz5848 5 жыл бұрын
my bat files can't open... any idea about this issue?
@jigneshkhambhati104
@jigneshkhambhati104 3 жыл бұрын
In my case after login script is asking for credentials as end user is not be able to access DC NetLogon folder without credentials. So how to resolve this issue ? So that end user domain login can access Netlogon can access without asking credentials and can run the required script
@MSFTWebCast
@MSFTWebCast 3 жыл бұрын
Strange! Can you access the Netlogon folder manually on that system? Check the time between server and client. You can also use group policy preferences to map a network drive instead of using login script.
@jigneshkhambhati104
@jigneshkhambhati104 3 жыл бұрын
@@MSFTWebCast thanks. There was some misconfiguration on NetLogon folder which has been resolved now.
@edwarsind
@edwarsind 4 жыл бұрын
Would this gpo work with different credentials than the ones I use to log in?
@biswaprakashdas6596
@biswaprakashdas6596 9 ай бұрын
Hi , Can you help me, How to map smb share drive via computer base gpo
@mike88hs2000
@mike88hs2000 4 жыл бұрын
Thx for your video, but it doesn't works with Windows Server 2012 and windows 10 end user ?, any idea with this issue ?
@ainsalleh
@ainsalleh 3 жыл бұрын
how about if we run \\sourceIPAddress\c$ from the client side? where shall i run that command? can i just create a .bat file with that command inside on the client side? then run it
@rajendersinghrawat4063
@rajendersinghrawat4063 3 жыл бұрын
Not the best way to do that, that is why GPO's are there
@danielduran373
@danielduran373 4 жыл бұрын
Thankyou so much broo 👌
@MSFTWebCast
@MSFTWebCast 4 жыл бұрын
Welcome 😊
@JCHSTUDIO
@JCHSTUDIO 3 жыл бұрын
Hai How to do map network drive which the sharing folder located in another windows computer?
@MSFTWebCast
@MSFTWebCast 3 жыл бұрын
The same way as this video. The share folder is located on another machine. You can also manually create a map drive: 1) Access the share folder on client machine where you want to map a network drive. 2) Right click on Share Folder and select Map Network Drive option. 3) Assign drive letter to your map drive.
@accessdenied9393
@accessdenied9393 4 жыл бұрын
Perfect!
@leadtech8602
@leadtech8602 2 жыл бұрын
How can you use the GPO to apply individual shared folders to individual user accounts? Like "Roaming" Profile but I just want to attach a specific shared folder for that user account. is that possible?
@MSFTWebCast
@MSFTWebCast 2 жыл бұрын
Use group policy preferences with item level targeting or you can assign bat script in user account properties as well.
@muruligowda2985
@muruligowda2985 5 жыл бұрын
Bro it showing error in client computer Computer policy could not be updated successfully. The following errors were enc ountered: The processing of Group Policy failed. Windows could not apply the registry-base d policy settings for the Group Policy object LocalGPO. Group Policy settings wi ll not be resolved until this event is resolved. View the event details for more information on the file name and path that caused the failure. User Policy update has completed successfully. To diagnose the failure, review the event log or run GPRESULT /H GPReport.html f rom the command line to access information about Group Policy results.
@MSFTWebCast
@MSFTWebCast 5 жыл бұрын
Have you follow the steps properly? As this is user base policy not computer base. I suggest go through the video again and check all the settings again.. can you be more specific about what you have done? If possible send me an email with screenshot..
@muruligowda2985
@muruligowda2985 5 жыл бұрын
@@MSFTWebCastSir u r email id..
@MSFTWebCast
@MSFTWebCast 5 жыл бұрын
you can find my email id in about section of channel page.
@muruligowda2985
@muruligowda2985 5 жыл бұрын
@@MSFTWebCast Thanks bro..
@alialnajjar5534
@alialnajjar5534 5 жыл бұрын
I notice that every GPO created, you have to execute (gpupdate /force) command. What is the alternative if you have 1000 client PCs
@MSFTWebCast
@MSFTWebCast 5 жыл бұрын
1. You can use group policy management console to update the policy on remote computer. (For that we need to configure firewall to allow ports) 2. Group Policy will automatically update after 90 to 120 mins. 3. You can use Powershell. For more information you can refer this technet guide: docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/jj134201(v%3Dws.11)
@7hevan
@7hevan 4 жыл бұрын
thank you
@ittechnik
@ittechnik 5 жыл бұрын
Why mapping via CMD , why Not Preferences?
@MSFTWebCast
@MSFTWebCast 5 жыл бұрын
That will be the next video...
@ahmedsaad-lk2og
@ahmedsaad-lk2og 2 жыл бұрын
thanks
@bradknit
@bradknit 4 жыл бұрын
This does not work when the Domain User is a local admin with Windows 10. Can you explain how to accomplish this same thing when the user is a member of the local administrators group?
@rvganglani
@rvganglani 5 жыл бұрын
Very helpful.. Thanks :)
@hiimjony
@hiimjony 3 жыл бұрын
TU ÉS O MAIOR CARALHO!!!!!!
@aunkub.family
@aunkub.family 4 жыл бұрын
how to do it at gpedit.msc
@reancybersecurity
@reancybersecurity 5 жыл бұрын
Thanks u for your sharing
@maheshZmarty
@maheshZmarty 5 жыл бұрын
How to create script without specifying the drive label name instead the script picks the free drive label available on client machine
@andrewsimmons3874
@andrewsimmons3874 4 жыл бұрын
How to map network drive without drive letters? using UNC path and without drive letter. This is useful when drive letters are used up or beyond 26 letters. Thanks.
@paulhigginbottom7837
@paulhigginbottom7837 2 жыл бұрын
mapping is crap, unc is the right way to go, and there's no need to map anything if users can be trained to use unc instead, which can be favorited to quick access
@tonytechquuo
@tonytechquuo 5 жыл бұрын
Thanks for sharing.
@Meskalin_
@Meskalin_ 4 жыл бұрын
thx, saved my ass m8!
@saidulmondal5969
@saidulmondal5969 Жыл бұрын
Sir need scam, solar winds and Zabbix video
@MSFTWebCast
@MSFTWebCast Жыл бұрын
Will try to create videos on suggested topics. Thank You.
@saidulmondal5969
@saidulmondal5969 Жыл бұрын
Hi sir
@MSFTWebCast
@MSFTWebCast Жыл бұрын
Hello.
Server Basics (8) | Logon Scripts - Map Network Drive
16:26
PC-Addicts
Рет қаралды 232 М.
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Windows Server 2019 Group Policy Explained
24:23
Andy Malone MVP
Рет қаралды 73 М.
Setup Share Folders with NTFS Permission in Windows Server 2019
11:33
How to Share a Folder in Windows Server (2016, 2019, 2022)
14:46
ACI Learning
Рет қаралды 32 М.
How to Set Up File Server on Windows Server 2022
15:04
ACI Learning
Рет қаралды 69 М.