lyledg Posted July 25, 2005 Posted July 25, 2005 Hi GuysHas anyone come across this problem before?Basically, I am having an issue with Hotfix temp folders not being deleted after it has successfully installed. If I try and delete the folders, I get access denied. The hotfixes are installed via a domain admin service account, It seems the ACL's get screwed along the way. I have managed to find a work around by taking ownership of the folder first and then manage to delete it, but I need to automate the deletion scriptThe problem is because the folder names that get generated are made up out of very random characters, there is no real way to detect the folder names via a batch script or anything else for that matter???Please see the attached pic to see what I mean..Any help would be much appreciated!! Cheers
lyledg Posted July 28, 2005 Author Posted July 28, 2005 Has anyone any ideas on this please?I have a problem where temporary folders created by MS hotfix installations are not being deleted after an install, thus leaving a mess on the HD.When I try to delete them, I get an access denied. This is because the ACL gets screwed at installation time and hence I need to restore the ACL using XCACLSSo, I need to do 3 things here1) Find ALL folders as shown in the attached Pic. All these folders share the common structure of:C:\<RANDOM File Name Created here>\sp2\update2) Once they have been found, repermission the folder using XCACLS3) Finally, delete the temp folder with all sub dirs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now