Vista Permissions issue ...
#1
Vista Permissions issue ...
When I click on some folders I get a message error 1.
clicking contiue gets me error 2.
Clicking security tab leads me through several screens until I have to accept owner ship, close all windows and it works. There is an option for all sub folders etc, but this says access denided when I try it.
I can do it folder by folder but I have so many folders to do.
Help ... please
clicking contiue gets me error 2.
Clicking security tab leads me through several screens until I have to accept owner ship, close all windows and it works. There is an option for all sub folders etc, but this says access denided when I try it.
I can do it folder by folder but I have so many folders to do.
Help ... please
#5
Moderator
iTrader: (5)
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes
on
0 Posts
I'm guessing it s the 3rd . . .
Right click "Command Prompt" in Start==>Programs==>Accessories and click "Run as administrator"
Enter the drive letter for the logical drive where you want to take ownership of files.
Type "takeown /?" (minus quotes) for explanation of command
E:\>takeown /?
You should see the following :-
__________________________________________________ ______________________________
________________________________________________
TAKEOWN [/S system [/U username [/P [password]]]]
/F filename [/A] [/R [/D prompt]]
Description:
This tool allows an administrator to recover access to a file that
was denied by re-assigning file ownership.
Parameter List:
/S system Specifies the remote system to
connect to.
/U [domain\]user Specifies the user context under
which the command should execute.
/P [password] Specifies the password for the
given user context.
Prompts for input if omitted.
/F filename Specifies the filename or directory
name pattern. Wildcard "*" can be used
to specify the pattern. Allows
sharename\filename.
/A Gives ownership to the administrators
group instead of the current user.
/R Recurse: instructs tool to operate on
files in specified directory and all
subdirectories.
/D prompt Default answer used when the current user
does not have the "list folder" permission
on a directory. This occurs while operating
recursively (/R) on sub-directories. Valid
values "Y" to take ownership or "N" to skip.
/? Displays this help message.
NOTE: 1) If /A is not specified, file ownership will be given to the
current logged on user.
2) Mixed patterns using "?" and "*" are not supported.
3) /D is used to suppress the confirmation prompt.
Examples:
TAKEOWN /?
TAKEOWN /F lostfile
TAKEOWN /F \\system\share\lostfile /A
TAKEOWN /F directory /R /D N
TAKEOWN /F directory /R /A
TAKEOWN /F *
TAKEOWN /F C:\Windows\System32\acme.exe
TAKEOWN /F %windir%\*.txt
TAKEOWN /S system /F MyShare\Acme*.doc
TAKEOWN /S system /U user /F MyShare\foo.dll
TAKEOWN /S system /U domain\user /P password /F share\filename
TAKEOWN /S system /U user /P password /F Doc\Report.doc /A
TAKEOWN /S system /U user /P password /F Myshare\*
TAKEOWN /S system /U user /P password /F Home\Logon /R
TAKEOWN /S system /U user /P password /F Myshare\directory /R /A
__________________________________________________ ______________________________
______________________
To take ownership for the current user enter :
E:\>takeown /f * /R /D Y
You should then see messages like these :-
SUCCESS: The file (or folder): "E:\My Pictures\Lee's Pics\IT10086.JPG" now owned
by user "Jim-PC\Jim".
SUCCESS: The file (or folder): "E:\My Pictures\Lee's Pics\IT10087.JPG" now owned
by user "Jim-PC\Jim".
E:\>
Right click "Command Prompt" in Start==>Programs==>Accessories and click "Run as administrator"
Enter the drive letter for the logical drive where you want to take ownership of files.
Type "takeown /?" (minus quotes) for explanation of command
E:\>takeown /?
You should see the following :-
__________________________________________________ ______________________________
________________________________________________
TAKEOWN [/S system [/U username [/P [password]]]]
/F filename [/A] [/R [/D prompt]]
Description:
This tool allows an administrator to recover access to a file that
was denied by re-assigning file ownership.
Parameter List:
/S system Specifies the remote system to
connect to.
/U [domain\]user Specifies the user context under
which the command should execute.
/P [password] Specifies the password for the
given user context.
Prompts for input if omitted.
/F filename Specifies the filename or directory
name pattern. Wildcard "*" can be used
to specify the pattern. Allows
sharename\filename.
/A Gives ownership to the administrators
group instead of the current user.
/R Recurse: instructs tool to operate on
files in specified directory and all
subdirectories.
/D prompt Default answer used when the current user
does not have the "list folder" permission
on a directory. This occurs while operating
recursively (/R) on sub-directories. Valid
values "Y" to take ownership or "N" to skip.
/? Displays this help message.
NOTE: 1) If /A is not specified, file ownership will be given to the
current logged on user.
2) Mixed patterns using "?" and "*" are not supported.
3) /D is used to suppress the confirmation prompt.
Examples:
TAKEOWN /?
TAKEOWN /F lostfile
TAKEOWN /F \\system\share\lostfile /A
TAKEOWN /F directory /R /D N
TAKEOWN /F directory /R /A
TAKEOWN /F *
TAKEOWN /F C:\Windows\System32\acme.exe
TAKEOWN /F %windir%\*.txt
TAKEOWN /S system /F MyShare\Acme*.doc
TAKEOWN /S system /U user /F MyShare\foo.dll
TAKEOWN /S system /U domain\user /P password /F share\filename
TAKEOWN /S system /U user /P password /F Doc\Report.doc /A
TAKEOWN /S system /U user /P password /F Myshare\*
TAKEOWN /S system /U user /P password /F Home\Logon /R
TAKEOWN /S system /U user /P password /F Myshare\directory /R /A
__________________________________________________ ______________________________
______________________
To take ownership for the current user enter :
E:\>takeown /f * /R /D Y
You should then see messages like these :-
SUCCESS: The file (or folder): "E:\My Pictures\Lee's Pics\IT10086.JPG" now owned
by user "Jim-PC\Jim".
SUCCESS: The file (or folder): "E:\My Pictures\Lee's Pics\IT10087.JPG" now owned
by user "Jim-PC\Jim".
E:\>
#6
Moderator
iTrader: (5)
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes
on
0 Posts
You can also try this handy tool . . .
XdN » XdN Tweaker
One of its options is to add 'Take Ownership' to the right-click context menu.
XdN » XdN Tweaker
One of its options is to add 'Take Ownership' to the right-click context menu.
#7
You can also try this handy tool . . .
XdN » XdN Tweaker
One of its options is to add 'Take Ownership' to the right-click context menu.
XdN » XdN Tweaker
One of its options is to add 'Take Ownership' to the right-click context menu.
I can't find the option to add it ?
scrap that
Trending Topics
#10
Scooby Regular
iTrader: (1)
You can also try this handy tool . . .
XdN » XdN Tweaker
One of its options is to add 'Take Ownership' to the right-click context menu.
XdN » XdN Tweaker
One of its options is to add 'Take Ownership' to the right-click context menu.
Thread
Thread Starter
Forum
Replies
Last Post
Phil3822
General Technical
0
30 September 2015 06:29 PM