question

HarshvardhanRajeshVyas-4872 avatar image
0 Votes"
HarshvardhanRajeshVyas-4872 asked Docs-4663 edited

Want to create a Set of command line for maintanence

Dear community

I want a small help from you

In there anybody who can guide me in creating a Set of command line (I think it means a .bat file)

DISM /Online /Cleanup-Image /RestoreHealth

Sfc /scannow

wuauclt /detectnow /updatenow

cd/

del /s .tmp & del /S .bak & del /S *.old

Exit

I also want the command line for deleting the Contents of

C:\Windows\System32\temp

C:\Users\<User name>\Recent

C:\Windows\Prefetch

windows-apiwindows-hardware-wdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HarshvardhanRajeshVyas-4872 avatar image
0 Votes"
HarshvardhanRajeshVyas-4872 answered

Can any body please help me here??
PLease

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Docs-4663 avatar image
0 Votes"
Docs-4663 answered Docs-4663 edited

If you are able to logon to Ten Forums or Windows Questions these are available bat files:

https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging.html
https://www.windowsq.com/resources/batch-scripts.14/


See:
https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging.html#post1994120
https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging-2.html#post2177966

Also:
https://www.tenforums.com/performance-maintenance/155388-batch-scripts-programs.html


.
.
.
.
Please remember to vote and to mark the replies as answers if they help.

On the bottom of each post there is:

Propose as answer = answered the question

On the left side of each post: Vote = a helpful post
.
.
.
.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.