Whatever it may be, you should go with what works for you and your organization. In the grand scheme of things, you have to be convinced about the value you are getting for the money you are paying...

Home » Archives » June 2009

User file ownership using vista

June 20, 2009

Well, its been a while since i was not posting blogs on this, untill recently i found a good way to edit windows file using user ownership.

So to begin with, follow this steps.

First, open an administrator command prompt by typing cmd into the start menu search box, and hit the Ctrl+Shift+Enter key combination.

To take ownership of the file, you’ll need to use the takeown command.

At the command prompt type: takeown /f c:\windows\system32\file.dll

That will give you ownership of the file, but you still have no rights to delete, move and rename it.  Next, you need to run the cacls command to give yourself full control rights to the file:

At the command prompt type: cacls c:\windows\system32\file.dll /G your username:F

Make sure that you replace “your username” with your username exactly as it is spelled for the currently active user account on your computer.

At this point, you should be able to change the file.  Rename the file from file.dll to file.dll.old.  Next, copy the new source file that you downloaded from above to c:\windows\system32.

Once the file has been replaced you need to set the permissions back to its original state.  Locate nlasvc.dll in c:\windows\system32 in the Windows File Manager.  Right mouse button click on the file and choose Properties.

Click Security tab; Click Advanced button; Click Owner tab; Click Edit button; Click Other User or Group and type in NT SERVICE\TrustedInstaller.

Press Ok on all dialogs until all property dialogs are closed.  Restart the PC and you should be back in business.

Posted by linux at 12:34 am | permalink | Add comment