Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Change permission in directory or file?

Reply
Thread Tools Display Modes

Change permission in directory or file?

 
 
ssecorp
Guest
Posts: n/a

 
      08-16-2008
I am running a steup progam and it gets permission denied.

How do I give access to a file or directory?

example:
C:\Program Files\Haskell\

 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a

 
      08-16-2008

"ssecorp" <> wrote in message
news:d8fa91eb-fc8d-4787-9e6b-...
>I am running a steup progam and it gets permission denied.
>
> How do I give access to a file or directory?
>
> example:
> C:\Program Files\Haskell\
>


You use Explore, you go to the file, right-click it, Properties user the
Security tab, if you don't see the Security tab, the look at the information
in the link.

http://windowshelp.microsoft.com/Win...71e9d1033.mspx

You need to add a second account, which will be your account you are logged
in with, even if you are Admin on the machine. If seecorp is the userid
you're using at login, they you're going to add that account by using the
Edit, Add, enter the user-id, and using the checkname button. If the ID you
entered is underlined, then it's ok. Then give that account Full access.

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      08-17-2008
Rightclick the setup file, and click 'run as Administrator'

--
Please use the Communities guidelines when posting.
http://www.microsoft.com/wn3/locales...help_en-us.htm
Use the "Ratings" feature. It helps the new users.
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson

"ssecorp" <> wrote in message
news:d8fa91eb-fc8d-4787-9e6b-...
> I am running a steup progam and it gets permission denied.
>
> How do I give access to a file or directory?
>
> example:
> C:\Program Files\Haskell\
>

 
Reply With Quote
 
Ramesh MVP
Guest
Posts: n/a

 
      08-17-2008

Execute the commands one by one under CMD run as Admin

> TAKEOWN /F C:\Program Files\Haskell\ /R
>
> ICACLS C:\Program Files\Haskell\ /grant Administrators:F



--
Ramesh MVP

'Ramesh Kumar' (http://itsmywindows.com)
Microsoft MVP
Windows Desktop Experience
------------------------------------------------------------------------
Ramesh MVP's Profile: http://winvistaclub.com/forum/member.php?userid=17
View this thread: http://winvistaclub.com/forum/showthread.php?t=19894

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
You need permission to perform this action!! to copy a file to a directory with Admin rights Athena Windows Vista Security 4 12-24-2007 06:35 AM
Vista doesnt change my user directory file name sempri_fi Windows Vista Administration 1 06-29-2007 01:44 AM
Permission to change file name? adamlink Windows Vista File Management 6 05-25-2007 06:35 PM
Change a file directory list to a new document rmstow Windows Vista General Discussion 6 05-23-2007 08:12 PM
Change a file directory list to a text document in Vista rmstow Windows Vista General Discussion 1 04-12-2007 04:51 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59