The Sophos Community will be offline for scheduled maintenance this Saturday, May 27th, at 13:00 UTC for approximately 1 hour. Apologies for any inconvenience caused.
"Wanna" ransomware outbreak. Please see this Sophos article sophos.com/kb/126733 for advice on how to protect your organization. Immediate action recommended.
When running the Sophos Diagnostic Utility (SDU) you see:
Could not create log directory.
First seen in Sophos Diagnostic Utility
Check computer disk space, the membership of account you are logged with, temporary folder permissions and/or override the default output folder location.
Ensure that the computer is not low on disk space. To do this open 'My Computer', right-click the main disk drive (normally 'C:'), select 'Properties' and on the 'General' tab see the number shown next to 'Free space'.
If disk space is low but you still need to run the SDU tool see the section 'Change the default output location'.
If disk space is not low continue below.
Ensure you are logged on as an administrative account with full access to the computer. Generally your account should either be a direct member of the local 'administrators' group or a member of another group that is a member of the local 'administrators' group (i.e., membership is inherited).
To check what users and groups are members of the local administrators:
net localgroup administrators
If you are not a member of the administrators (or not an administrative account) either add your account to the group (see Microsoft documentation for further help) or log on with another account that has administrative permissions then run the SDU tool again.
If your account has administrative permissions continue below.
Check your administrative account has full access to its temporary folder:
If your account is not listed add it to the list and ensure it has full control then run the SDU tool again.
If your account has full permissions continue below.
You can override default output folder location and write the resulting file to another location - even another drive with enough disk space - using the steps below.
Note: Change 'C:\' in steps one and four to another drive if disk space is the cause of the problem.
cd "C:\Program Files\Sophos\Sophos Diagnostic Utility\"
cd "C:\Program Files (x86)\Sophos\Sophos Diagnostic Utility\"
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.