4 replies
by dummy5 Accepted solution
by lowlands Accepted solution
delprof takes \\computername as part of it's commandline. So you'll have to create some kind of batch file that feed all computernames into the batchfile.
i can probably give you an example, let me know
by lowlands Accepted solution
two files, one is the batch file (test.cmd) the other one a file with one row of the servernames (test.txt). For the file with servernames, one name per line.
test.cmd:
FOR /F "eol=; tokens=1* delims=, " %%a in (test.txt) do delprof /Q /C:\\%%a /D:30.
Make sure it's one line.
by andy_boucher Accepted solution
There is this cool little utility, called PC Profile Manager, you can find it at the link below:
http://www.helmtechnologies.com/wpm/usa_home.htm
It will list all computers, users and user profiles on all machines in your environment, the last time computers and users logged into AD, and also the last time a profile was accessed on a computer. You can then see all your profiles, which are valid, aged, etc. and sort by them. In addition, if you delete a user, because that person is no longer with the company, you can have it delete that users profile from all machines they logged in to. In addition, you can backup and restore profiles. For less the $1800 for your entire domain, it is really inexpensive for all that you get with it... Check it out, they have a demo/trialware you can download. It definitely makes things better knowing what you are deleting then delprof with is indescriminate.
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending