Solved

Text File - "Access Denied"

Posted on 2004-08-05
9
381 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
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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
A procedure for exporting installed hotfix details of remote computers using powershell
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now