Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Take Ownership of file and delete
#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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)