Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Cannot apply Logon Script Windows Server 2008 R2

$
0
0

Hello everyone. 

below is simple command line that needed to be applied to all users in a domain

reg import \\ad1\NETLOGON\hesabatAvis.reg

I wrapped this "code: into simple txt file and renamed it logon.bat.

I copied logon.bat into \\domain.local\SysVol\domain.local\Policies\{A16AB93E-F826-422F-88FD-715C63B79FC5}\User\Scripts\Logon folder also copied into C:\Windows\SYSVOL\sysvol\domain.local\scripts (NETLOGON) folder

Created new GPO and linked it to OU, configured as on picture

Batch file work on double click. But I can't make it work through GPO. Not even when I type file name in Logon Script field on Profile tab of a user object in ADUC snapin.

where is my mistake ? 

HTH


Vusal M. Dadashzadeh


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>