I'm having a weird issue with creating Group Policy on an inherited Domain Controller. This thing was never set up properly, and I'm not well versed in working with Group Policy.
We are running Active Directory 10.0.14393.2608 on a single Domain Controller which is running Windows Server 2016 Standard.
My goal is to log users with a simple script run at logon and logoff.
I currently have the following batch file saved in the NETLOGON folder:
if exist \\SERVER\LogData\%Computername% goto next mkdir \\SERVER\LogData\%Computername% :next Echo %Computername%,%Username%,%Date%,%Time% >> \\SERVER\LogData\%Computername%\Logon.csv
It is applied to a GPO under User Configuration->Policies->Windows Settings->Scripts->Logon Properties
The GPO is linked within an OU that contains several users and computers in sub OUs.
I can run the script by navigating out to it from a test computer, and it will fire correctly, but nothing happens when I logoff and back on after running gpupdate.