Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - patricktslee

Pages: [1]
1
Hi Thomas

Thanks your help.  The Drive mapping via GPO is working fine.

Regards.

Patrick

2
Hi Thomas,

Here is the log after I logon the Windows 10 machine. 

Quote
Mar 14 23:35:39 zentyal dhcpd: DHCPREQUEST for 10.0.1.100 from 08:00:27:45:9f:ae (DESKTOP-N2UF8JO) via eth0
Mar 14 23:35:39 zentyal dhcpd: DHCPACK on 10.0.1.100 to 08:00:27:45:9f:ae (DESKTOP-N2UF8JO) via eth0
Mar 14 23:35:45 zentyal named[2904]: samba_dlz: starting transaction on zone anc.hk
Mar 14 23:35:45 zentyal named[2904]: client 10.0.1.100#57418: update 'anc.hk/IN' denied
Mar 14 23:35:45 zentyal named[2904]: samba_dlz: cancelling transaction on zone anc.hk
Mar 14 23:36:26 zentyal smbd_audit: ANC\plee04|10.0.1.100|connect|ok|plee04
Mar 14 23:36:36 zentyal smbd_audit: ANC\plee04|10.0.1.100|connect|ok|mgti-common
Mar 14 23:36:36 zentyal smbd_audit: ANC\plee04|10.0.1.100|connect|ok|plee04
Mar 14 23:36:36 zentyal smbd_audit: ANC\plee04|10.0.1.100|connect|ok|mgti
Mar 14 23:36:42 zentyal smbd_audit: ANC\plee04|10.0.1.100|opendir|ok|.
Mar 14 23:36:42 zentyal smbd_audit: ANC\plee04|10.0.1.100|opendir|ok|.
Mar 14 23:37:01 zentyal smbd_audit: ANC\plee04|10.0.1.100|open|ok|r|.

I added 2 commands to map my home drive \\zentyal.anc.hk\plee04 and \\zentyal.anc.hk\mgti public drive.
It looks like that it is connected but the Windows 10 machine still don't map the network drive.

Thanks

Patrick Lee

3
Thanks Thomas.

GPO is set enforced.  It didn't map the drive.  I have run the gpresult /h gpo.html and check gpo.html.  I found that \\anc.hk\SysVol\anc.hk\scripts\Windows10\Users\logon.cmd    has been run 14/3/2016 22:59:56 which is after my logon time.  Please see my capture.PNG.

I have tried to set pause command on logon.cmd.  However no command prompt popup and show the "Press any key to continue" after I logon.

How to set the logon script to show after I logon?

4
I created GPO, Windows10, using Group Policy Management under one of Users OU and configure the logon script path \\anc.hk\SysVol\anc.hk\scripts\Windows10\Users\logon.cmd under User Configuration - Policies - Windows Settings - Scripts (Logon/Logoff).  I put my user account into that OU.  However it didn't run on my Windows 10 machine.

I checked that I can manually run the script and mapped the network drive.

Don't know why it can't automatically run it.  How can I troubleshoot it?

Pages: [1]