Has anyone done a vbs version of the delprof utility from the resource kit?
delprof will delete Windows profiles that meet a certain criteria, such as time since it was last used (ie 180 days).
The problem is that it runs in a login script, which runs under the user context. Delprof requires local admin rights to delete profiles, which I'd rather not grant.
So, if someone has an idea how I could do this via vbs, I could tie it to a machine OU and run it in the machines logon script.
Ideas?
Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
delprof will delete Windows profiles that meet a certain criteria, such as time since it was last used (ie 180 days).
The problem is that it runs in a login script, which runs under the user context. Delprof requires local admin rights to delete profiles, which I'd rather not grant.
So, if someone has an idea how I could do this via vbs, I could tie it to a machine OU and run it in the machines logon script.
Ideas?
Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -