reset ntfs partition permissions

What other productivity software are you working with...
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: reset ntfs partition permissions

Post by highend »

You did read the comments in the script?

Code: Select all

    // Edit this list if you want to add / remove commands to process
    // Ofc you need to add additional variables right over this comment...
Not the script failed, ICACLS failed.

<- On vacation for a week
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: reset ntfs partition permissions

Post by Filehero »

highend wrote:<- On vacation for a week
Have lots of fun and enjoy it. :D

yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: reset ntfs partition permissions

Post by yusef88 »

highend wrote:You did read the comments in the script?

Code: Select all

    // Edit this list if you want to add / remove commands to process
    // Ofc you need to add additional variables right over this comment...
Not the script failed, ICACLS failed.

<- On vacation for a week
Of course, the script is flawless ،i'm also going on a long vacation ..thanks an bye

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: reset ntfs partition permissions

Post by bdeshi »

You're all going on vacation; my vacation is almost over!! :o
Well, have a great time!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

CookieMonster

Re: reset ntfs partition permissions

Post by CookieMonster »

All these scripts reset NTFS partition permission; none will temporarily give a folder, like Program Files folder, elevated rights then via a timer or another toggle reset the permissions back to preventing the user from writing to the folder, if one only needs the elevated rights for a few minutes or maybe a few hours ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: reset ntfs partition permissions

Post by highend »

And? The thread is called "reset ntfs partition permissions" not "do something else"...

Write your own script that does what you need^^
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: reset ntfs partition permissions

Post by CookieMonster »

highend wrote:And? The thread is called "reset ntfs partition permissions" not "do something else"...

Write your own script that does what you need^^
I know. :|

I want to get a sense as to what in particular the scripts in this thread are doing, is there something wrong with that ? Did I commit a felony ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: reset ntfs partition permissions

Post by highend »

Read the docs about icacls?
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: reset ntfs partition permissions

Post by CookieMonster »

If one wanted to give full rights to the folder, program files ?

Code: Select all

icacls c:\program files\ /T F 
Basically you can tie the command to a script to toggle which options on a button ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: reset ntfs partition permissions

Post by highend »

1. No and you obviously didn't read icacls docs
2. That command "directly"? No. And what the button does (and the script that is assigned to it) is up to you...
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: reset ntfs partition permissions

Post by CookieMonster »

I read these docs (http://www.computerhope.com/icacls.htm). I wanted to know if the command I posted would apply full access to the folder I applied the command too; including sub-folders ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: reset ntfs partition permissions

Post by highend »

Nope
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: reset ntfs partition permissions

Post by CookieMonster »

highend wrote:Nope
Well, what would be the correct command ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: reset ntfs partition permissions

Post by highend »

That's easy...

Command: *Read the docs*
One of my scripts helped you out? Please donate via Paypal

Post Reply