How to setup NTFS permissions using user logon and having admin credentials

Does anyone know how to setup NTFS permissions using user logon and having admin credentials. Computer is standalone, login as administrator is known but lame solution :) Using command line with runas to setup permissions is not very straightforwad...
If I just could launch Windows Explorer with administrative credentials...
It would be interesting to know how to do this in WIndows XP, Vista and Windows 7.
LVL 6
Vaidas911Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slemmesmiCommented:
Dear Vaidas911,

do you wish to set or change NTFS permissions on a folder or files during a logon process?

Kind regards,
Soren
0
Vaidas911Author Commented:
I would like to change folder NTFS perrmisions while I am loged on as restricted user, but I do have administrator account and password.
0
slemmesmiCommented:
Dear Vaidas911,

if you don't have an account with local administrative privileges you can not change permissions on folders and files the account you are logged in with have not the permissions to do so already.
You will need to elevate your privileges to an account (such as the local administrator) which has those permissions.
The elevation can e.g. happen through "RunAs" (either from command line or when you start a "Windows Explorer").
The latter can be achieved by keeping a <SHIFT> button pressed when right-clicking "Windows Explorer", then select "Run as...".
You will be prompted for the credentials of the acocunt you will run as.

Kind regards,
Soren
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Vaidas911Author Commented:
I have administrator account, I just don't want to waste my time to logoff user and logon admin.
Windows Explorer does not run with both of your Run as suggestions, at least it didn't work that way for me.
0
slemmesmiCommented:
Dear Vaidas911,

if it doesn't work for you with the "Windows Explorer", you can instead use IE as your file browser (in the address field e.g. enter C:\).
To start IE from command line using runas, run the following:
runas /user:administrator "C:\Program Files\Internet Explorer\iexplore.exe"

This will prompt you for the password of the administrator.
You will need to verify the path to iexplore.exe is correct on your system as in the above example.
You can also create a short-cut with the above string in "Type the location of the item" field, to make it a bit easier for you.

Kind regards,
Soren


0
Vaidas911Author Commented:
How are you going to change Windows folder permissions using IE?
0
slemmesmiCommented:
Dear Vaidas911,

Not that I'd recommend you to change the permissions on C:\Windows as this can disrupt functionlity of your system(!), here is HOW it CAN be done:

1. Start IE as administrator (as explained in post above).
2. Browse to C:\ (enter C:\ in the address Field).
3. Right-click C:\Windows and open Properties.
4. Select the Security tap.
5. Change the permissions as needed.

Kind regards,
Soren
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vaidas911Author Commented:
Thanks, IE worked like charm
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.