Archived

This topic is now archived and is closed to further replies.

Smoky942

Access Denied

Recommended Posts

Hi, I've just recently re-installed fs9. I have some modified fx files in the effects folder, so, as I've previously done, I first removed them, along with one aircraft cfg. and put them in a folder outside fs9. After re-installing fs9 I can open the aircraft cfg. in the spare folder, in order to copy the entries, but can't open..copy..or move any of the fx files. All I get is..Access Denied. A couple of zip files in the same folder also give the same message. I don't understand whats going on. Any advice would be more than welcome.Russell.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi, I've just recently re-installed fs9. I have some modified fx files in the effects folder, so, as I've previously done, I first removed them, along with one aircraft cfg. and put them in a folder outside fs9. After re-installing fs9 I can open the aircraft cfg. in the spare folder, in order to copy the entries, but can't open..copy..or move any of the fx files. All I get is..Access Denied. A couple of zip files in the same folder also give the same message. I don't understand whats going on. Any advice would be more than welcome.Russell.
Are you running Vista by chance? Might it be a permissions issue? If so, you may need to right click on the folder in question and turn off the permissions for that and any any subfiolders it may have.Just a thought. :(

Share this post


Link to post
Share on other sites

Thanks David. I'm on XP. It's in D / programme files / microsoft games. There are several folders in there, including fs9. The majority work fine. When I try to open the couple of zip files, it does indeed say the problem could be a file sharing one. But sharing with what..or whom ? The zips have been in that position for ages, and used a few times with no problem...before I re-installed fs9.Russell.

Share this post


Link to post
Share on other sites

Could it be virus related ? I run AVG, which I check for updates, then run every morning. It always gives my machine a clean bill of health. however, a very strange event occured after the fresh install of fs9. Before the re-install, I was using FSUIPC to try and correct a fault with the X52pro. It clearly stated my name and email as the registered person (as it has since 2003) Before removing fs9, I cut the FSUIPC.Key from the modules folder, and placed it in a folder on it's own. After the re-install, I cut the SAME FSUIPS.Key from the spare folder, and put it back in the new modules folder, then put in the latest FSUIPC dll. When I fired up fs9 and went to FSUIPC, I was shocked to see it registered to someone I've never heard of, with a Brazilian email address. I got round it by deleting the key, then entering my own details. I sent the offending key to Pete Dowson. Pete Dowson is a man of the highest integrity, and thats not in question at all, but his first reaction was that it was impossible for the key to change, I must have obtained it from someone. Apparently, the guy who's name appeared on my key is well known to SimMarket, and is banned for freely distributing keys. From un-installing to re-installing, I did'nt download anything whatsoever, I was'nt even connected to the internet. Every payware item is bought and paid for perfectly legitimately, nothing pirated AT ALL. But...SOMETHING changed that key. I never fly online, but my son is an avid online gamer, though nothing even remotely connected to flightsim. I can only assume that something he downloaded contained the offending key, which overwrote mine, 'tho even that seems a bit unlikely as he does'nt have anything which uses FSUIPC. Anyway, I'm wondering if it has anything to do with these files locking up.Russell.

Share this post


Link to post
Share on other sites

Just a couple of other thoughts:"File or Folder Sharing" usually is a term related to sharing them over a network. Right clicking on a file or folder will normally allow you to allow or disable the sharing function.Acess denied is something I have experienced on rare occasions. In each case the actual file had been deleted, but My Computer or Explorer still showed it as being available. When I tried to access it, I got the "access denided" message.I understand that situation has something to do with Wndows failing to release the "handles" (may be the wrong terminology) when the file was deleted.There are free utilities which will force such a release but I have never needed to use them. Turning off the computer for a few minutes and then rebooting has always "released" them for me. The file in question then no longer appears when I look for it.Hope fully you situation is similar and you can redownload the file you need or you have a copy of it saved elsewhere which can be placed where you can work on it.This article from Microsoft may be useful also:http://support.microsoft.com/kb/810881It tells how to fix the 'access denied" problem.Hope this info is useful. :(

Share this post


Link to post
Share on other sites

Thanks for that david...your valued advice is always appreciated. Following the path in the link..start/my computer/tools/folder options/view, I only get Apply to all folders...Reset all folders...Restore defaults tabs, but no Advanced settings tab. I'll have to have a closer look at it later tonight, but thanks again for pointing me in the right direction.Russell.

Share this post


Link to post
Share on other sites

The access denied message could be a permissions issue - right click the zip files you're getting the message on. Do you see a security tab? Your name should be there, and list the permissions you have. If you don't see your name (or just a bunch of numbers), then it looks like your permissions have been lost. Did you install originally to a different OS or recently rebuild your OS? This can affect permissions, particularly if you've locked them down. The attached should show you the permissions tab.

Share this post


Link to post
Share on other sites

In an earlier post the OP says he is using XP - not Vista so it is not a permissions (Vista) issue. :(

Share this post


Link to post
Share on other sites
In an earlier post the OP says he is using XP - not Vista so it is not a permissions (Vista) issue. :(
XP also uses file and folder permissions, my screenshot happened to be from Win7, but XP should display the same tab if you've formatted as NTFS.

Share this post


Link to post
Share on other sites

Well Leostr, I am formatted as NTFS, but I can't get a window up like the one you show. I tend to think that David is on the right track with the files deleted, but windows still showing them as available theory. I've managed to get all, bar two, of the offending files deleted. The funny thing is (to me, anyway) none of the items appeared in the recycle bin, which my very limited knowledge makes me lean towards Davids suggestion. I've found copies of some of the fx files, and re-downloaded the zips. FS9 is working fine now, so I think I'll leave well alone. My sincerest thanks to both of you for your help.Russell.

Share this post


Link to post
Share on other sites
XP also uses file and folder permissions, my screenshot happened to be from Win7, but XP should display the same tab if you've formatted as NTFS.
Win 7 may have it but XP, no matter how the disk is formatted, has no such screen and "security" hoops to jump through like Vista. :(

Share this post


Link to post
Share on other sites
Well Leostr, I am formatted as NTFS, but I can't get a window up like the one you show. I tend to think that David is on the right track with the files deleted, but windows still showing them as available theory. I've managed to get all, bar two, of the offending files deleted. The funny thing is (to me, anyway) none of the items appeared in the recycle bin, which my very limited knowledge makes me lean towards Davids suggestion. I've found copies of some of the fx files, and re-downloaded the zips. FS9 is working fine now, so I think I'll leave well alone. My sincerest thanks to both of you for your help.Russell.
One last thought - I probably would be a good idea to run the utility which checks your disk(s) for errors - it is built into XP.Go to My Computer, Highlite the drive in question and Right click and select Properties. You will see a Tools tab, and under it is the option to "check disk for errors".Might be worth a try. :(

Share this post


Link to post
Share on other sites
Win 7 may have it but XP, no matter how the disk is formatted, has no such screen and "security" hoops to jump through like Vista. :(
Ummm.. sorry, Opa, but yes it does. Files and folder permissions have existed with NTFS since.. well, NTFS. I agree that security hoops are less in XP than Vista, but that not withstanding, the NTFS security tab does indeed exist. And, apart from the Win/Program Files directories, NTFS security is no great a hoop in Vista as it was in XP.I concede that when simple file sharing is enabled, that screen doesn't appear!In any case, replies from the OP indicate that simple file sharing is enabled (since the security tab doesn't appear); Smoky42, have you checked that the files read only status is not checked? (right click the file(s), Properties, General ; you should see a read only checkbox. Check its unchecked).

Share this post


Link to post
Share on other sites
Ummm.. sorry, Opa, but yes it does. Files and folder permissions have existed with NTFS since.. well, NTFS. I agree that security hoops are less in XP than Vista, but that not withstanding, the NTFS security tab does indeed exist. And, apart from the Win/Program Files directories, NTFS security is no great a hoop in Vista as it was in XP.I concede that when simple file sharing is enabled, that screen doesn't appear!In any case, replies from the OP indicate that simple file sharing is enabled (since the security tab doesn't appear); Smoky42, have you checked that the files read only status is not checked? (right click the file(s), Properties, General ; you should see a read only checkbox. Check its unchecked).
I am always happy to learn "new" tricks - but I have never seen that screen and never seen the "security" tab in the several years I have been running XP.Love to know just how you make it appear.I am using classic view rather than the XP default and details instead of icons if that makes any difference.

Share this post


Link to post
Share on other sites

Its not enabled by default - you have to disable simple file sharing in Folder Options - View.. and its the last but one option in there. Its only available on XP Pro, but you can get it booting into Safe Mode on XP Home. Hope this helps,Leo

Share this post


Link to post
Share on other sites
Its not enabled by default - you have to disable simple file sharing in Folder Options - View.. and its the last but one option in there. Its only available on XP Pro, but you can get it booting into Safe Mode on XP Home. Hope this helps,Leo
Thanks for the info Leo. I run XP Home so that is why I had never run across that option.The permissions I was refrerring to in response to the OP were really not file sharing related. I was referring to the permissions in Vista which block some of the very simple things we are used to doing in XP.Not all Vista users seem to have discovered that UAC needs to be turned off, either unversally or on a folder by folder basis in order for some functions to work as usual. Happy flying and thanks again for sharing that info - I find I can learn something new relating to FS almost every day. :(

Share this post


Link to post
Share on other sites

Sorry for the late reply. Somethings cropped up which is keeping me busy for a while. I've had a look at a few files, and the Read Only box is checked...but not in the two files I can't open or delete. I have to admit, I'm in unfamiliar territory. I've never checked..or unchecked those attributes, because quite frankly, I've never understood what they did. So, do I need to uncheck every folder on the computer, before going to safe mode ?....or just the ones in fs9 ? Sorry for being so dumb, but the inner workings of the computer still remain something of a mystery to me. If it was'nt for help received from people like yourself and David, I'm sure my computer would have been hurled through the window a long time ago. I apologize in advance if I'm late coming back, but a blind friend has fallen ill. looking after her and exercising her guide dog is keeping me away from home much more than I expected, so I'm sure you'll understand.Russell.

Share this post


Link to post
Share on other sites

Hi Russell, and everyone. "....I've had a look at a few files, and the Read Only box is checked...but not in the two files I can't open or delete. I have to admit, I'm in unfamiliar territory....."See if the topic listed below will help you , if you will get to the point that you want / need to delete something that does not cooperate. Below you will find part of the message. See if you can make a copy of that file first.http://forums1.avsim.net/index.php?showtop...9&hl=deleteTVPart of the message from the link above.Hello everyone.If you found yourself in a position where you wanted to delete a file, protected by BillyG's Gang, as the Divine's gift on Earth, and you could not, because they do not give you the Rights, here is a way to do it.Some of these Services cannot be Permanently shut down, like the "MS Center Store Update" carp. These Services, like the one above can take up to 100% of you resources, tie up your Phone line, etc., and interfere with your normal use.Most of these files / directories are used by some pesky Services that will send information from your system, and by some Spy utilities, like the file "mcupdate.exe".These files will also drain your System of Resources without any notification, and once connected you cannot disconnect, until you power the system down.This Procedure was posted by a very save individual, Mark Russinovich, and I hope some of you may be able to make use of it also.Note: Before you Delete any of these file, make sure you Save / Copy them, in case you want to restore them at a later date. Normally these files are used by very Special Services, at least to MS.To run the "Cmd.exe" as Administrator you Left Click (L.C.) on Start, L.C. in the Search box, Type "Cmd.exe", Right Click on that file and choose Run as Administrator, then type the commands below:i.e. takeown /f E:\windows\system32\"file name / i.e. jscript.dll"i.e. icacls E:\windows\system32\"file name / i.e. jscript.dll" /grant administrators:F"takeown /f Path_And_File_NameFor example, type takeown /f E:\windows\system32\jscript.dll .2. Type the following command, and then press ENTER to grantadministrator's full access to the file:icacls Path_And_File_Name /GRANT ADMINISTRATORS:FFor example, type icacls E:\windows\system32\jscript.dll /grantadministrators:F"See pic of the typical use to delete "mcupdate.exe"Be sure you Know what you want to delete. Use at your own risk. TV

Share this post


Link to post
Share on other sites

No problems Russell; much as I am sure most of us would love to spend all our time simming, real life has this annoying habit of getting in the way :)This is rather a perplexing problem, to be sure. I think its worth seeing if the files are actually there - so can you try this;Go to Start - Run, and type CMD.In the new command window, you will need to change to the directory where these offending files sit, sofirst type the drive letter where FS is installed (eg, I: in my case. If its on your C:\ drive, then just type "cd\" (no quotes)Next, type cd "Path to Flight Simulator 9\Effects" (use the quotes for the path).The command prompt should return the path you've just typed in. Next, you want to dir command, to list the available files. What I would do here is dir a*.fx (where a is the first letter of the offending filename. You'll want to use this, otherwise just typing "dir" will return all the files in that directory. If you've a lot, then this is worse than useless!). When you hit enter, does the list output actually list the files you're having problems deleting? This should tell you, at the very least whether Explorer is caching something.

Share this post


Link to post
Share on other sites

Hi Leo, the stage I'm at now is..I have fs9 up and running just fine. I was able to find copies of some of the needed fx files, and re-download the others. The path to flightsim 9 is D:\Programme Files\Microsoft Games\Flight Simulator9 In the Microsoft Games folder (outside of the fs9 folder) I have two fx files which still refuse to be opened...moved, or deleted. Following your detailed instructions, the first entry I see is...C:Documents and settings\ My Name. I then typed in exactly how you said, but assuming the cd referred to C drive, I substituted that for dd. Path not found. I did it again using cd. Path not found. As the offending files are'nt actually in fs9, I typed "Path to Programme Files\Microsoft games" Path not found. This is about par for the course when I try to follow someones instructions...it NEVER comes up with what it's supposed to. As I have fs9 running just fine now, and those two files are not now needed, nor appear to be doing any harm, I'm thinking I would be better leaving well alone now. Can't thank you enough for your advice, you've been a tremendous help, thanks.Russell.

Share this post


Link to post
Share on other sites

Thanks for that, David. A neat little programme. Although it said...No Locking Handles Found..it deleted the two offending files in seconds. As my son is an avid online gamer, and forever downloading stuff, I've developed the habit of checking the antivirus for updates, then running it, every morning. After doing this a couple of days ago, I'd only been on a couple of reputable flightsim sites, and had'nt downloaded anything, then went off line. Later, I was looking at an AFCAD with AFX, off line. I then received a phone call from NYC. I left the programme open while talking. After about twenty minutes, a Threat Detected sign jumped up and I hit the send to virus vault button. The virus was WIN32/Heur. Do you think it's possible that this had been lurking on the computer, undetected by the antivirus, and was responsible for locking these files up in the first place ? I just wish I had a better understanding of these things. My sincerest thanks for your patience and help.Russell.

Share this post


Link to post
Share on other sites

With viruses is seems almost anything is possible. :( In recent memory I have seen them do everything from blocking AV programs from calling for updates to corrupting the Restore function in XP - so nothing really surprises me anymore.I just do not understand the mentality of those who delight in creating and distributing such things. Really sick folks in my opinion.Glad to hear your system is working well again. :(

Share this post


Link to post
Share on other sites