andyinet4
asked on
NTresoucekit ..Delprof.exe script.
Delprof question...
i need to tidy up pcs on the network running winnt 4.0, one of the tasks is to tidy up old user profiles taking up valuable h/d space.
Delprof is the ideal tool however when to run it the client needs admin privaledges therefore running it in a login script wont work.
I want to run this from an NT server which is logged in as domain admins and run a script from there, however i can only do one pc at a time....
delprof /i /c:\\computername
Is there a way to pipe a text file containing all the pc names on the network.. ie something like
delprof /i /c:|computernames.txt
NB:this program runs in dos mode.
i need to tidy up pcs on the network running winnt 4.0, one of the tasks is to tidy up old user profiles taking up valuable h/d space.
Delprof is the ideal tool however when to run it the client needs admin privaledges therefore running it in a login script wont work.
I want to run this from an NT server which is logged in as domain admins and run a script from there, however i can only do one pc at a time....
delprof /i /c:\\computername
Is there a way to pipe a text file containing all the pc names on the network.. ie something like
delprof /i /c:|computernames.txt
NB:this program runs in dos mode.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
delprof /Q will do it quietly.
delprof directs its screen output to the error channel, I'm afraid. So it is not pipable under NT's native DOS.
Sorrow -
Charles
P.S.: It can happen you make run Norton DOS e.g. on your NT; Norton DOS has got the capability to redirect error channel.
Sorrow -
Charles
P.S.: It can happen you make run Norton DOS e.g. on your NT; Norton DOS has got the capability to redirect error channel.
ASKER
Thanks for your help.....
ASKER
Just one thing though when delprof program runs its prompts for input on whether you want it to delete all inactive files.. the prompts are y/n.
Any ideas how to put this in as well?
Cheers