0

A PC with Windows XP yesterday take my time to repair.

first of all i search and googling and visit the results that a virus change the theme in Display (Control panel) Windows XP virus change every thing in theme in Display (Control panel)

step 1 : i delete the wing dings fonts and restart it.

then everything ok. and windows use default font and i can change the default theme.(step 2)

change the default theme in windows xp

he restore back in restore point and call me and request to repair again but remotely.

my question is how can i create and send batch script file for him.

step 2 : to edit registry or is there any cmd command that i can send it by email?

saber tabatabaee yazdi
  • 1,691
  • 8
  • 22
  • 29

1 Answers1

1

Well what you need is a script, then this is what you need.

For First Part: https://superuser.com/a/963253/278336

del /f /s /q /a "C:\Windows\fonts\my-font.ttf"

For Second Part: https://stackoverflow.com/a/4882301/1444181

rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"C:\Windows\Resources\Themes\aero.theme"

You need to know the theme location and the theme name for this command.

Create a batch file and run as Admin. I dont remember XP folder structure, but you might as you recently played with it.

Have fun!

BTW: if the guy restored to an older point, he may have restored the virus too. Just saying.

echo_salik
  • 218
  • 1
  • 2
  • 15