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?

8
  • 3
    The top looks like XP. The bottom... is that a LXDE swift? In fact, none of the bottom image looks like XP
    – Journeyman Geek
    Dec 20, 2016 at 14:25
  • i cant print screen from that PC so google and find pic close to my opinion so i change it now please focus on answer my friend! @JourneymanGeek Dec 21, 2016 at 5:39
  • @JourneymanGeek that is XP in classic theme.
    – echo_salik
    Dec 21, 2016 at 6:22
  • You could send that script by email but he would have to execute it himself.
    – Seth
    Dec 21, 2016 at 6:34
  • @seth this is closer than i request him to install teamviewer or tell him to give me remote desktop Dec 21, 2016 at 6:38

1 Answer 1

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.

4
  • how about step 2 how to set theme with command line. after Delete font? Dec 21, 2016 at 6:34
  • let me search that. I'll update the answer
    – echo_salik
    Dec 21, 2016 at 6:35
  • 1
    @sabertabatabaeeyazdi I have updated the answer
    – echo_salik
    Dec 21, 2016 at 6:39
  • @sabertabatabaeeyazdi I'm glad i could help out :)
    – echo_salik
    Dec 21, 2016 at 8:08

Not the answer you're looking for? Browse other questions tagged .