Solved

Text File - "Access Denied"

Posted on 2004-08-05
9
387 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
Original post  on Monitis Blog. Web performance monitoring is broken into two camps: passive and active. Passive monitoring is defined as looking at real-world historical performance by monitoring actual log-ins, site hits, clicks, requests for…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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