如何在不删除本地pipe理员帐户的情况下使用Microsoft资源工具包实用程序Delprof.exe删除旧的configuration文件(30天以前)?
delprof.exe / Q / C:\\ remotecomputer / D:30
这几乎在那里,但我想跳过本地pipe理员帐户。 此外,静静地做,而不会提示每个帐户。
字母“我”可能会做你想找的,无声的部分:
Microsoft(R) Windows (R) 2000 Operating System User Profile Deletion Utility v5. 00 Copyright (C) Microsoft Corp. 1981-1999 This utility deletes Windows NT and Windows 2000 user profiles. usage: DELPROF [/Q] [/I] [/P] [/C:\\<computername>] [/D:<days>] /Q Quiet, no confirmation. /I Ignore errors and continue deleting. /P Prompts for confirmation before deleting each profile. /C Remote computer name. /D Number of days of inactivity.
如果您正在使用漫游configuration文件,并且不希望保存它们,请查看您的GPO中的“删除漫游configuration文件的caching副本”,可以在以下位置find它们:
Computer Config > Admin Template > User Profiles > Delete Cached copies of roaming profiles
虽然已经知道在无线networking上出现故障,所以如果经常运行delprof或另一个脚本来捕捉这些脚本,可能还是不错的。
还没有尝试过,但你可能不得不更新你想保留的configuration文件。 它不是很健壮,但可以用REG LOAD完成,然后添加,删除和卸载。