I have Windows server whose c:\
drive is almost full. Only 2 GB is free instead of 60 GB, on which size of folder C:\Windows\System32\config\systemprofile
is 24.1 GB. Folder is showing me two kind of files, javaxx.log
and javaxx.log.lck
. where xx
is two digit number.
My questions are:
- What data is contained by this folder?
- Can we delete data from the path?
Best Answer
The
%systemroot%\System32\config\systemprofile
is the%USERPROFILE%
equivalent for the system usernt authority\system
: e.g. if you run command line as the system user,cd %AppData%
will change to directoryC:\Windows\System32\config\systemprofile\AppData\Roaming
.The
javaXX.log
files are probably generated by some Java program usingFileHandler
(fromjava.util.logging
) with default settings or default log rotation pattern. Shortened, relevant parts:The
user.home
would be%USERPROFILE%
in Windows, so this would results in the naming pattern of your.log
files. The.lck
files are just lock files to prevent simultaneous usage of these files.We can't say how important these log files are for you. You could create an automated script that removes the oldest log files, or even better implement this to the log rotation in the Java program.