icacls login script

I am running Windows 2003 Terminal Servers with roaming profiles.  I inherited the system and have noticed a script runs at login.  It's causing crazy Disk Queue lengths and slowing everyone down as everyone logs into the systems around the same time.  The script is called "RomProfEntSec" and the command line is:

icacls \\server\Profilesharename\%username%.domain /grant *S-1-5-21-790525478-1563985344-1801674531-519:(F) /T

Is there a way to identify who the SID belongs to in my domain?  Is this really necessary to run upon login?  If the user is new, the script runs in a couple seconds.  if you've been here for several years it takes 30+ minutes to touch your entire profile including *.tmp and cookies, etc.  

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

supprtengAuthor Commented:
I found SIDtoName and was able to determine that the SID belongs to DOMAIN\Enterprise Admins.  Question still remains if I need to grant Enterprise Admins Full rights to everyone's roaming profile upon login.  I don't really see the need to do this...Domain Admins already have full rights to everyone's profile.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I agree, i don't see the point in it. Even if a group did need to be granted access to everyone's profiles I don't think that would be the best way to do it.
supprtengAuthor Commented:
Found the Identifier and determined it wasnt needed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.