diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs index 770e354c4eafc98b03cefeef3da770b606e80fa7..58ef61bcce3423aedf6c0b44c84281618cf1ede6 100644 --- a/ATxService/AutoTx.cs +++ b/ATxService/AutoTx.cs @@ -403,6 +403,19 @@ namespace ATxService } Log.Debug(msg); + + Log.Info("User Profile Directories:"); + var profilesDir = new DirectoryInfo(@"C:\Users"); + foreach (var userProfile in profilesDir.GetDirectories()) { + Log.Info(userProfile.Name); + try { + var userProfileSize = FsUtils.GetDirectorySize(userProfile.FullName); + Log.Info(userProfileSize); + } + catch (Exception e) { + Log.Error($"getting size of [{userProfile.FullName}] failed: {e.Message}"); + } + } } #endregion