Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Ветеран


Сообщения: 27449
Благодарности: 8087

Профиль | Отправить PM | Цитировать


Delprof2 - User Profile Deletion Tool • Helge Klein:
Скрытый текст
Цитата:
Delprof2 by Helge Klein (https://helgeklein.com)

Delprof2 deletes inactive Windows user profiles (profiles that are not currently loaded).
Delprof2 is syntax compatible with the original Delprof by Microsoft. Unlike the original it works on all versions of Windows
(XP/2003/Vista/2008/7/2008 R2/8).
If possible, Delprof2 uses the backup and restore privileges to bypass security and delete even profiles the executing user does not
normally have access to.
Delprof2 has no problem whatsoever deleting files in very long paths (longer than MAX_PATH, 260 characters).
Delprof2 also cleans up stale ProfileList SID.bak registry entries, a common cause of temporary profiles.

Usage: delprof2 [/l] [/u] [/q] [/p] [/r] [/c:[\\]<computername>] [/d:<days> [/ntuserini]] [/ed:<pattern>] [/id:<pattern>] [/i]

/l List only, do not delete (what-if mode)
/u Unattended (no confirmation)
/q Quiet (no output and no confirmation)
/p Prompt for confirmation before deleting each profile
/r Delete local caches of roaming profiles only, not local profiles
/c Delete on remote computer instead of local machine
/d Delete only profiles not used in x days
/ntuserini
When determining profile age for /d, use the file NTUSER.INI
instead of NTUSER.DAT for age calculation
/ed Exclude profile directories whose name matches this pattern
Wildcard characters * and ? can be used in the pattern
May be used more than once and can be combined with /id
/id Include only profile directories whose name matches this pattern
Wildcard characters * and ? can be used in the pattern
May be used more than once and can be combined with /ed

/i Ignore errors, continue deleting

Examples:

Delprof2 /c:computername

Deletes inactive profiles on 'computername'.

Delprof2 /c:computername /l

Lists inactive profiles on 'computername' without deleting them.

Delprof2 /d:30

Deletes profiles older than 30 days on the local computer.

Delprof2 /r

Deletes locally cached roaming profiles only.

Delprof2 /ed:admin* /ed:pmiller

Deletes all inactive profiles on the local computer except those starting with 'admin' and the one called 'pmiller'.

Отправлено: 02:10, 02-03-2015 | #4