[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 408
  • Last Modified:

Text File - "Access Denied"

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
Wicked_Koala
Asked:
Wicked_Koala
1 Solution
 
tebacherCommented:
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
 
cfairleyCommented:
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
 
Wicked_KoalaAuthor Commented:
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
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
Wicked_KoalaAuthor Commented:
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
 
marc_nivensCommented:
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
 
Wicked_KoalaAuthor Commented:
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
 
moduloCommented:
PAQed, with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now