Windows Server 2008 R2 Thread, Which user would be used when running delprof2 remotly if no user specified? in Technical; Hi,
We are looking into running delprof remotly from one of our admin machines but when we try to run ...
14th September 2011, 09:24 PM #1
- Rep Power
Which user would be used when running delprof2 remotly if no user specified?
We are looking into running delprof remotly from one of our admin machines but when we try to run it at the mo it complains about not having backup and restore permissions. Does anyone know which user this would be run as so we can give it this permission?
I have yet to do any proper research but is it easy to give a user backup/restore privilidges?
Last edited by fredted40x; 14th September 2011 at 09:28 PM.
14th September 2011, 10:18 PM #2
- Rep Power
I have used the delprof.exe (presumably an older version) command in the shutdown script (with the switch to delete cached profiles only) on Windows XP PCs (placed it into the Shutdown Scripts part of a Group Policy object) and it worked fine, it cleared off loads of old cached copies of roaming profiles.
Shutdown scripts are, I believe, run as the local System credential. That might not be much help to you but whatever account you use it needs to have permission to remove subfolders from the local profile store (e.g. c:\documents and settings\user1).
I don't know whether you can add the domain account to be a member of the local group on the target computer? Off the top of my head, but isn't there a Backup Operator group?
14th September 2011, 10:20 PM #3
You should be using remprof not delprof.
By morganw in forum Scripts
Last Post: 22nd November 2010, 08:15 AM
By witch in forum General Chat
Last Post: 14th October 2010, 02:14 PM
By Maximus in forum Wireless Networks
Last Post: 10th June 2008, 04:01 PM
By broc in forum Thin Client and Virtual Machines
Last Post: 26th June 2007, 03:21 PM
By StewartKnight in forum Hardware
Last Post: 22nd October 2006, 03:02 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)