![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Tutorial Tools | Display Modes |
| | |
| Administrator ![]() Rep Power: 150 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Take Ownership of file How to Take Ownership of a Item in Vista |
My System Specs![]() |
| | |
| Newbie Rep Power: 8 ![]() | Re: Take Ownership of file I hit the ownership problem after I repartioned a drive. I used "E:\>takeown /f * /R /D Y" to take ownership of all files on the new logical drive. This was successful but I then had to amend permissions for some folders. Does the ICACLS command have a generic option that would work for all files and folders on a logicl drive? |
My System Specs![]() |
| | |
| Administrator ![]() Rep Power: 150 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Take Ownership of file Hi Hairy Scot, You should be able to just use the drive letter for the full path. EX: takeown /f C:\ and icacls C:\ /grant (your username):F You can also use Method Two and right click on the drive in Computer from the Start Menu. Just make sure you check the box when you get to step 8 to include all subfolders and files. Hope this helps, Shawn |
My System Specs![]() |
| | |
| Newbie Rep Power: 7 ![]() | Re: Take Ownership of file Hello, I have a slightly complicated issue when trying to remove one of my folders. I have attempted both of your methods, but they both failed. Perhaps this is because the folder I am trying to delete is from an old version of a Symantec antivirus program that I no longer use. The majority of the program is deleted, however in order to install my new one, I still have to delete the following .dll files within that folder: IMCfg.dll ISDataCl.dll isRes.dll NavShExt.dll SetEvtHp.dll Is there anything that can be done about these files? Taking ownership of the entire folder did no good unfortunately. Thanks |
My System Specs![]() |
| | |
| Administrator ![]() Rep Power: 150 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Take Ownership of file Hi Soma1509, Welcome to the forum. ![]() You might try using the Symantec Norton Removal Tool . It should remove them for you. Shawn |
My System Specs![]() |
| | |
| Member Rep Power: 7 ![]() | Re: Take Ownership of file thanks alot it works good |
My System Specs![]() |
| | |
| Administrator ![]() Rep Power: 150 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Take Ownership of file Your welcome Jabes. Glad it helped you. Thank you for the feedback. Shawn |
My System Specs![]() |
| | |
| Newbie Rep Power: 6 ![]() | brink, Here's my situation. I work for a company who would like to upgrade all their computers to Vista Business 32-bit. This company has Engineers who coded almost all programs that the employees are using. At a beginning of the employees shift (currently within Windows XP Prof 32-bit) they run a batch file (.bat) that copies updated files from servers on the network, then registers those files ('regsvr32 mci32.ocx /s' is one of the command line executions, for example). There is a file that is called within the batch file called 'epal.exe' that calls another batch file that lists all the commands (the 'epal.exe' application is used at the beginning of the command line execution with the second batch file name after it like a argument; example: epal.exe updateNT.bat). I heard that you need to disable the UAC to accomplish this. I've found out that this commandline statement execution will disable the UAC (and another statement to enable UAC afterwards): C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f I have three inquiries: 1) I understand that to initiate the disableing of the UAC, you need to right-click on the file and choose, 'Run As' and put in an administrator password to actually run the first batch file, which really doesn't help my situation, because the user executing the batch file has the lowest privilege level set for themselves. From reading your detailed writings about taking ownership of files/folders, I'm wondering if this UAC approach will even work. Any thoughts? 2) Do you know of a way to set ownership of the batch file from the command line, if the cmd.exe program was executed by someone who is not set as administrator, but at a much lower level? 3) Based on the particular scenario listed above (by how employees need to be able to run a batch file that, indirectly registers DLL files), do you have any suggestions on how to do this (without giving the employees administrator access through their entire shift; just the execution of the update batch file is needed with administrator access)? Any suggestions would be greatly appreciated as I'm running out of options and we really want to move up to Vista. Thank you for your time. |
My System Specs![]() |
| | |
| Administrator ![]() Rep Power: 150 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Take Ownership of file Hi Jlroper, Welcome to Vista Forums. ![]() I do not know of how you can execute it without applying permission first for the batch file. Are the computers on a network domain? You might try using something like Remote Desktop or Remote Assistance to send the batch down from an Administrator account to all the other computers instead of letting the user do it. Shawn |
My System Specs![]() |
| | |
| Newbie Rep Power: 6 ![]() | Re: Take Ownership of file The computers are on a network domain. I'll pass your suggestion on to our IT guy. Thank you for your help. |
My System Specs![]() |
| | |
| Administrator ![]() Rep Power: 150 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Take Ownership of file Your welcome Jlroper. |
My System Specs![]() |
![]() |
| Tags |
| file, ownership, security & system tools, take |
| Tutorial Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Tutorial | Tutorial Starter | Category | Comments | Last Post |
| Take Ownership of file | Fmjc001 | General Discussion | 0 | 07-09-2008 08:49 PM |
| Changing File Ownership | romeboy | Vista General | 4 | 05-04-2008 02:22 AM |
| Cannot take ownership of file | Peter | Vista security | 3 | 05-03-2008 01:57 PM |
| Changing File Ownership | sarima | Vista account administration | 1 | 01-27-2007 06:28 PM |
| file/folder security/ownership | Piotr Wozniacki | Vista performance & maintenance | 3 | 06-25-2006 07:03 PM |