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, 03:10 PM #16 
Originally Posted by
Pyroman
Ah okay kewl, in which case it works!
Just ran it in a batch file as i've said in my above post and it's worked fine, logged on the account i tested it on on one machine, created a folder on the desktop, logged off and logged on on another machine and the folder appears, no warnings about not finding profiles or anything like that so it would appear it's worked fine, i just get a little nervous when things work this easily! Wondering what it's going to break when i apply it to the whole profile folder (sods law)!! Might try it with a few select kids/teachers accounts i know get a lot of hammer and see if anyone complains!
Should be all good
Just make sure that permissions are only added and none are taken away! You should end up with the administrators group having full control but the owner shoudl remain as the current owner of the profile itself
-
-
IDG Tech News
-
11th July 2011, 03:10 PM #17 
Originally Posted by
elsiegee40
Treesizefree is great for sorting out the profile size problems... once you get the permissions sorted, you'll wonder why you didn't have it years ago!
It looks pretty good, cheers, currently using windirstat which has the bonus of bring about 630kb
-
-
11th July 2011, 03:12 PM #18 
Originally Posted by
Jamo
Should be all good

Just make sure that permissions are only added and none are taken away! You should end up with the administrators group having full control but the owner shoudl remain as the current owner of the profile itself

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!
-
-
12th July 2011, 12: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
Code:
C:\>permissions.bat
C:\>CACLS D:\PROFILES\testaccount /E /T /C /G "Domain Admins":F
ACCESS_DENIED: D:\PROFILES\testaccount
The filename, directory name, or volume label syntax is incorrect.
C:\>permissions.bat
C:\>CACLS D:\PROFILES\testaccount /E /T /C /G "DomainAdmins":F
No mapping between account names and security IDs was done.
C:\>
I chanaged the bat file between the 2 runs from Domain admins to DomainAdmins
-
-
12th July 2011, 12:17 PM #20 Pants indeed.
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, 12:36 PM #21 
Originally Posted by
Pyroman
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
Code:
C:\>permissions.bat
C:\>CACLS D:\PROFILES\testaccount /E /T /C /G "Domain Admins":F
ACCESS_DENIED: D:\PROFILES\testaccount
The filename, directory name, or volume label syntax is incorrect.
C:\>permissions.bat
C:\>CACLS D:\PROFILES\testaccount /E /T /C /G "DomainAdmins":F
No mapping between account names and security IDs was done.
C:\>
I chanaged the bat file between the 2 runs from Domain admins to DomainAdmins
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.
-
-
12th July 2011, 12: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
-
SHARE:
Similar Threads
-
By nephilim in forum Windows 7
Replies: 19
Last Post: 22nd March 2012, 12:45 PM
-
By Henley_IT in forum Windows 7
Replies: 8
Last Post: 25th May 2011, 09:44 AM
-
By atfnet in forum Scripts
Replies: 2
Last Post: 6th May 2011, 05:23 PM
-
By sonofsanta in forum Licensing Questions
Replies: 17
Last Post: 15th February 2011, 09:47 AM
-
By WithoutMotive in forum MIS Systems
Replies: 17
Last Post: 1st December 2010, 01:48 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules