|
-
Nov 28th, 2016, 06:00 PM
#1
Thread Starter
Member
[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
Last edited by jmiller1225; Nov 28th, 2016 at 06:12 PM.
-
Nov 28th, 2016, 06:57 PM
#2
Re: Access denied
Check here as it might have something to do with Security/Ownership of folders.
-
Nov 28th, 2016, 08:33 PM
#3
Addicted Member
Re: Access denied
Sometimes, running as administrator does the trick.
-
Nov 29th, 2016, 12:18 AM
#4
Thread Starter
Member
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
Tags for this Thread
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
|
Click Here to Expand Forum to Full Width
|