?
Solved

Text File - "Access Denied"

Posted on 2004-08-05
9
Medium Priority
?
393 Views
Last Modified: 2010-04-14
I'm getting 'Access Denied' when trying to open a .txt file on a W2K Server, here is what I have determined so far:

I am unable to copy, rename, move, delete the file. Through srvmgr and 'net file' I have verified that no one has it open and locked. Permissions are set correctly on the file. There appears to be no disk corruption. The file is a log file related to ADSM but has not been modified for several days, so it is not currently being written to. I have tried all these methods through Telnet, Terminal Services and NetOP (so having a Session 0 session has not helped).

The last resort is to reboot the server, however that will cause much pain and more coordinating than what I want to deal with, so I'm trying to exhaust all possible options before it comes to that...is there anything else I can try that I have overlooked?
0
Comment
Question by:Wicked_Koala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 5

Expert Comment

by:tebacher
ID: 11727748
Have you tried taking ownership of the file??

To do so:

right-click the file, go to properties, then security.  Click the Advanced button, and then the Owner tab.  Set the owner to the user you are logged in as.
0
 
LVL 11

Expert Comment

by:cfairley
ID: 11728867
Can you send the exact error message you have.  I've had a simular issue.  I had to open a command prompt, and delete the file from there.  There is a catch, I had to end the explorer.exe process before I deleted the file.  If you end the explorer process before you open the command prompt, you will not be able to get to the start menu.  To start the explorer process, do a CTL+ALT+DELETE, Task Manager, Run new task, type explorer.
0
 

Author Comment

by:Wicked_Koala
ID: 11728906
I tried that, but I do not get an option to take ownership. When I click on the Advanced button, I get the pop up "Advanced Attributes" and I get the options for "Archive and index attributes" and "Compress and encrypt attributes." There is no are no Security or Owner tabs.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:Wicked_Koala
ID: 11728963
The exact error message is "Access Denied", whether in a command prompt or in the GUI. I do not want to delete it as I need the file accessible.

I should not have made it more clear that I do not want it deleted....sorry about that.
0
 
LVL 21

Expert Comment

by:marc_nivens
ID: 11729905
There may be an open handle to the file, which net file may not show.  Download process explorer from sysinternals.com.  Once you launch it, click find, find handle.  Type the name of the file.  It should tell you the process that has the open handle to the file.
0
 

Author Comment

by:Wicked_Koala
ID: 11730343
Unfortunately we are not "legally" allowed to use any of Sysinternals utilities (for some licensing reasons) and I do not have the ability to download or install it, so process explorer is out of the question at this point.

I think a reboot just may be in order.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12420690
PAQed, with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question