diff --git a/tools/logon.cmd b/tools/logon.cmd
index 9870e97..706a16f 100644
--- a/tools/logon.cmd
+++ b/tools/logon.cmd
@@ -87,6 +87,12 @@ if NOT EXIST %LOCALSTATE%\settings.json (
     %LOCALSTATE%\settings.json
 )
 
+rem SEAFILE
+if EXIST %USERPROFILE%\Seafile (
+  echo removing SEAFILE system attributes ...
+  attrib -S %USERPROFILE%\Seafile /S /D 
+)
+
 if EXIST %STATUSFILE% GOTO END
 
 if EXIST %TOOLS%\personal (