I am trying to figure out how to add a logon script, so when a user logs onto the Local computer using Windows 10 Enterprise, that the message appears on the screen.
Using Group Policy, I have done the following:
I changed the minimum password length to 8 characters, to require standard users to enter a password.
To audit the failed login attempts, I enabled the <Failure> setting within the <Windows Settings><Security Settings><Local Policies><Audit Policy> window.
For the logon script, I loaded the batch file under <User Configuration><Windows Settings><Scripts><Logon>.
The batch file is as follows. I saved it as logon.bat to C:\Windows\System32\GroupPolicy\User\Scripts\Logon\logon.bat.
@ECHO OFF
ECHO This is a logon script.
PAUSE
Then I opened an elevated command prompt and type gpupdate /force, hit enter, and once it was finished, I logged out. Then I signed into a standard user account, and no message was seen.
What am I missing here??
Thanks,
Chris