Remove_dlp_log4j batch file does not remove the files
search cancel

Remove_dlp_log4j batch file does not remove the files

book

Article ID: 234935

calendar_today

Updated On:

Products

Data Loss Prevention Core Package

Issue/Introduction

After running the remove_dlp_log4j.bat file with the proper parameters the target .jar files fail to get deleted with the error "Unable to delete <path><.jar>"

When running the batch file with the --dry-run switch it properly identifies the .jar files to remove.

No remove_dlp_log4j.log is generated.

Environment

Release : 15.8

Component :

Cause

This happens when running the .bat file from a path that contains a space. For example c:\test area\remove_dlp_log4j.bat

 

Resolution

Copy the remove_dlp_log4j to a directory that does not contain a space anywhere in the path. For example c:\temp\log4j\remove_dlp_log4j.bat

Then rerun the batch file.