-
[RESOLVED] Access denied
I created a program in vb that counts the number of temp files in certain folders. The problem I'm having is when it gets to counting "c:/windows/temp/" it says access denied. The programs uac settings are set to highest level so it requires you to be an admin. Also, if I go this folder with my browser I can open it up with no problems. Can anyone help me with this glitch? Thank you
-
Re: Access denied
Check here as it might have something to do with Security/Ownership of folders.
-
Re: Access denied
Sometimes, running as administrator does the trick.
-
Re: Access denied
Thanks Everyone for the help. I think I figured Out the issue. I had to bring UAC Settings down to "requireadministrator" and save. Then go back in and change them back to "highestelevation" and save again. It seemed to fix the issue. Unfortunately I'm still having problems with some folders which can be accessed by CCleaner, but not by my program, but that's okay maybe in good time and self learning I'll get there :) Thanks again everyone