General discussion



By jengianfrancesco ·
I want to run delprof against remote pcs to delete profiles older than 30 days.

It will only work if I run it on my local pc.

If I give it the name of a remote computer it asks to cofirm the deletion of the profiles but when you access the remote pc they are still there.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by jeaster In reply to Delprof

What is the user context that delprof runs in...if it is not someone with Domain Admin writes, it will have access issues I believe

Collapse -

by rji In reply to Delprof

The example below show deletes profiles on pc1 after 30days of inactivity.

\\server\sharename\delprof.exe /q /c:\\pc01 /d:30

Create a batch file and copy and paste the example, just change the pc names.


and the following line to your login script.

\\server\sharename\delprof.exe /q /d:30

NOTE: sometimes if a profile is corrupt it will not delete the rest of the profiles, so run it more than once.

Back to Windows Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums