docs: keep the server's data folder private while it is recovered; Start with Windows row agrees with setup

The Windows README told an administrator to run icacls /reset /T on a data
folder created by an unelevated console run, which let every local user read
the database, the TLS key and the temporary admin password until the next
successful start. It now takes ownership with takeown /A /R and removes only
the console account's entries with icacls /remove:g, so nobody else gains
access at any step.

The 2026-10-12 Start with Windows decision said the uninstaller leaves the
StartupApproved value; setup removes it with the entry, as the later Task
Manager state row says.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-12 19:01:02 +00:00
1 parent 689dd74865
commit c341c264e1
2 files changed
+7 -3

No files matched your search

+6 -2
View File
@@ -131,8 +131,12 @@ registers only from a copy inside `Program Files` that only administrators can c
unpack the zip into a folder under `Program Files`. A console run that was not elevated creates the data folder as your
own account, and the service then refuses it. Either delete the folder (with SQLite this also deletes the server's
database and its accounts), or, before you start the service, give the folder and everything in it to Administrators
and reset its permissions from an administrator prompt: `takeown /F "C:\ProgramData\Titano Server" /A /R`, then
`icacls "C:\ProgramData\Titano Server" /reset /T`. The server makes the folder private again at its next start.
and take your account's access to it away, from a Command Prompt run as administrator under that same account:
`takeown /F "C:\ProgramData\Titano Server" /A /R`, then
`icacls "C:\ProgramData\Titano Server" /remove:g "%USERDOMAIN%\%USERNAME%" /T`. No other account gains access at any
step, and afterwards only SYSTEM and Administrators have it, to the TLS key and `initial-admin-password.txt` too. Do
not reset the folder's permissions (`icacls /reset`): everything in it would then inherit those of `C:\ProgramData`,
which let every user read it.
## Translations