HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-24-2004, 02:49 AM
Kevin Sink
 
Posts: n/a
Default access denied to program files directory

I have two PCs networked one has a new XP installation and
the other has XP upgrade from Win 98. Both have sharing
enabled on the entire hard drive. When I try to open
the "program files" directory on the new PC from the
upgraded one I get an "access denied" error. I can open
all of the other folders on the drive and can open
everything on the upgrade PC from the new PC. What is
causing this?
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 06-24-2004, 03:55 AM
Kent W. England [MVP]
 
Posts: n/a
Default Re: access denied to program files directory

Kevin Sink wrote:

> I have two PCs networked one has a new XP installation and
> the other has XP upgrade from Win 98. Both have sharing
> enabled on the entire hard drive. When I try to open
> the "program files" directory on the new PC from the
> upgraded one I get an "access denied" error. I can open
> all of the other folders on the drive and can open
> everything on the upgrade PC from the new PC. What is
> causing this?


Limited accounts are not allowed to write to that folder, although they
should be able to read it. You have to combine the network permissions
with the folder permissions to find out who can access it remotely.

Check the network share permissions to see if Everyone is omitted and
then check the folder permissions to see if "Users" are somehow more
restricted than normal.

Note that this assumes that simple file sharing is disabled.

--
Kent W. England, Microsoft MVP for Windows Security
Reply With Quote
  #3  
Old 06-24-2004, 10:44 AM
Steve Winograd [MVP]
 
Posts: n/a
Default Re: access denied to program files directory

In article <20b5001c4598d$8e1ef1f0$a501280a@phx.gbl>, "Kevin Sink"
<kevinsink@northstate.net> wrote:
>I have two PCs networked one has a new XP installation and
>the other has XP upgrade from Win 98. Both have sharing
>enabled on the entire hard drive. When I try to open
>the "program files" directory on the new PC from the
>upgraded one I get an "access denied" error. I can open
>all of the other folders on the drive and can open
>everything on the upgrade PC from the new PC. What is
>causing this?


I'm sorry, but that's how Windows XP works when it's installed on an
NTFS disk partition using "simple file sharing". It blocks access to
the Program Files and Windows folders and to individual users' folders
within Documents and Settings.

You can share subfolders within those folders, e.g. you can share
"C:\Program Files\Outlook Express" or "C:\Documents and
Settings\Username\Desktop" and access that folder from another
computer on the network.

If you have Windows XP Professional, you can permanently disable
Simple File Sharing, which removes those sharing restrictions:

1. Open My Computer and click Tools | Folder Options | View.
2. Scroll to the end of the advanced settings.
3. Un-check "Use simple file sharing (recommended)".

If you have Windows XP Home Edition, there's no easy solution. The
safest thing is to share individual subfolders, as mentioned above.

You can re-install the operating system on a FAT or FAT32 disk
partition -- those disk formats don't have any sharing restrictions.
However, that would lose the benefits of NTFS, which is more reliable
and efficient and can use larger disks. You'd also need to re-install
all of your applications.

I've heard of two possible solutions for XP Home Edition on an NTFS
disk partition, but:

1. They're un-supported, un-documented, and un-tested by Microsoft.
2. There's no guarantee that they'll work.
3. They might cause data loss or corruption.

I haven't tried them, and I don't know whether they're safe. If you
want to try them, at your own risk:

1. Back up your important data first so that you can restore it in
case of problems.

2. Run System Restore to create a restore point that you can go back
to in case of problems.

Here they are:

1. Start Windows XP in "Safe Mode with Networking" (which temporarily
disables "Simple File Sharing"), share the desired folder(s), set the
permissions, and reboot normally, or:

2. Follow the procedure shown here:

http://www.dougknox.com/xp/tips/xp_home_sectab.htm
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access denied to encrypted files after reinstalling XP Pro kiko Windows XP 9 09-18-2007 04:46 AM
access to files denied heavy duty Windows XP Basics 2 07-31-2007 07:13 PM
access denied for all applications in program files folder Ravi Verma Windows XP 1 06-06-2007 11:46 AM
Access denied to folders and files Joachim Windows Vista 1 05-08-2007 11:03 AM
"Program files are not accessable" "Access denied" Gerald Stombaugh XP Networking 1 04-28-2004 10:06 AM


All times are GMT. The time now is 12:18 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger