Skip to content

Instantly share code, notes, and snippets.

@monrapps
Created February 22, 2019 16:22
Show Gist options
  • Select an option

  • Save monrapps/522a68ac947e3f5157e09ff9a5440bf4 to your computer and use it in GitHub Desktop.

Select an option

Save monrapps/522a68ac947e3f5157e09ff9a5440bf4 to your computer and use it in GitHub Desktop.
WINDOWS_CMD - Remove and deny C:\aow_drv.log to be created again. File created by Tencent background services
rem "This script remove C:\aow_drv.log hidden directory created by deny_aow_drv_log.bat"
icacls C:\aow_drv.log /remove:d everyone
rd /s /q C:\aow_drv.log
rem "This script remove and deny C:\aow_drv.log to be created again"
net stop aow_drv
del C:\aow_drv.log
mkdir C:\aow_drv.log
attrib +s +h C:\aow_drv.log
icacls C:\aow_drv.log /c /deny everyone:(f)
@AzimsTech
Copy link
Copy Markdown

thank you!

@icodemaker
Copy link
Copy Markdown

3q

@pekmerson
Copy link
Copy Markdown

hello, i run both .bat files and successfully deleted the aow_drv.log file... But my Tencent gaming buddy wont work anymore... how to undo the .bat file? thank you

@monrapps
Copy link
Copy Markdown
Author

just run the allow_aow_drv_log.bat and the aow_drv.log folder will be deleted. if your Tencent gaming buddy won't work it must be another issue

@pekmerson
Copy link
Copy Markdown

is there any rules to your script that blocking the aow_drv.log to be write again? because i think tencent gaming buddy wants to have that file again... but it was deleted..

@monrapps
Copy link
Copy Markdown
Author

reinstall it then

@pekmerson
Copy link
Copy Markdown

o yeah, its alright again.... thanks to your help bro...

@pekmerson
Copy link
Copy Markdown

i make the allow .bat again... and boom, it runs again... thank you

@robbyzhaox
Copy link
Copy Markdown

3Q

@MarcEurus
Copy link
Copy Markdown

Thanks man, I thought aow_drv.log isn't necessary to open gameloop so I deleted it. With the allow.bat I fixed the error 1 that says that aow_drv.log is missing. Thanks for the code :>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment