Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Take Ownership of file and delete
#1
My problem:

my customer is using an old software on windows 10 which needs the windows 7 dll files.
currently i do that by hand with applying a .reg file which adds the 'Take ownership' option to the explorer context menu.
then i use filelocator for finding the dll files in the windows folder and grant me rights for deleting.
this is rather boring to make those steps again and agin.

i am happy for any suggestion

thanks!
pi
#2
No idea from anyone?
pi
#3
No idea from me.
I could only help to convert C++ or C# code found somewhere.
#4
i found a way to have a .bat file

Code:
Copy      Help
takeown /f %systemroot%\System32\odbcconf.dll
takeown /f %systemroot%\syswow64\odbcconf.dll
icacls %systemroot%\System32\odbcconf.dll /grant pi:F
icacls %systemroot%\syswow64\odbcconf.dll /grant pi:F
xcopy /y "\\SERVER1\Shared Folders\Software\Office\GSA 50\GSA dll Windows 10\system32\odbcconf.dll" "%systemroot%\System32\"
xcopy /y "\\SERVER1\Shared Folders\Software\Office\GSA 50\GSA dll Windows 10\syswow64\odbcconf.dll" "%systemroot%\syswow64\"
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)