Windows Server 2000/2003 Thread, Showing user profile sizes without taking ownership in Technical; Originally Posted by Pyroman
Ah okay kewl, in which case it works!
Just ran it in a batch file as ...
11th July 2011, 04:10 PM #16
11th July 2011, 04:10 PM #17
It looks pretty good, cheers, currently using windirstat which has the bonus of bring about 630kb
Originally Posted by elsiegee40
11th July 2011, 04:12 PM #18
Cheers, just checked that it says owner is still the user of the profile so it all looks good, going to roll it out overnight to a select group of users and see what happens. =D thanks for all your help guys, i've thanked posts!
Originally Posted by Jamo
12th July 2011, 01:12 PM #19
Pants! It's stopped working, tested it on 1 profile, then all i did was change the profile from d:\profiles\testprofile to d:\profiles\anothertestprofile and it's coming up with
I chanaged the bat file between the 2 runs from Domain admins to DomainAdmins
C:\>CACLS D:\PROFILES\testaccount /E /T /C /G "Domain Admins":F
The filename, directory name, or volume label syntax is incorrect.
C:\>CACLS D:\PROFILES\testaccount /E /T /C /G "DomainAdmins":F
No mapping between account names and security IDs was done.
12th July 2011, 01:17 PM #20
Just run it on D:\PROFILES. It will percolate through the subfolders. Don't use "DomainAdmins" (with no space) it must be "Domain Admins".
12th July 2011, 01:36 PM #21
Yeah as Jinnanonnixx says it gives you an access denied message because you are running it too far up the folder tree if you see what I mean. Basically you are adding yourself to the permissions on that folder as it runs, so you have to start from a folder which you ALREADY have full control over otherwise you will be epic denied.
Originally Posted by Pyroman
12th July 2011, 01:38 PM #22
Ah okay, i'm just being a big girl trying to test it on unused profiles, need to bite the bullet and run it on the main profiles folder then, eek!
14th December 2011, 11:14 AM #23
Update on this, i've tried running it straight on the profiles folder and it's giving me access denied still :-S confused
By featured_spectre in forum Windows 7
Last Post: 22nd March 2012, 12:45 PM
By Henley_IT in forum Windows 7
Last Post: 25th May 2011, 10:44 AM
By atfnet in forum Scripts
Last Post: 6th May 2011, 06:23 PM
By sonofsanta in forum Licensing Questions
Last Post: 15th February 2011, 09:47 AM
By WithoutMotive in forum MIS Systems
Last Post: 1st December 2010, 01:48 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)