Event Id 4098 : After apply group policy files (with delete action)

0

I used this link to apply a policy to delete a file type (jpg) in specific path. So I went to User Configuration -> Preferences -> Windows Settings -> Files and I created a new file properties with Delete action.
In Delete File(s): I input this file path: %USERPROFILE%\Downloads\*.jpg.

That works great and this policy can delete every jpg files in that specific folder, However, The server raised the below warning frequently:

Event Id: 4098 Source: Group Policy Files Description: The user *.jpg preference item in the Default Domain Policy Group Policy Object did not apply because it failed with error code 0x80070002 the system cannot find the file specified. This error was suppressed.

How do I prevent to raise this warning?

I use windows server 2012 and my clients are windows 7 sp1.

windows-7
windows-server-2012
group-policy
windows-event-log
asked on Server Fault Dec 3, 2017 by Tom • edited Dec 9, 2017 by Tom

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0