Včasih protivirusni program najde sumljivo datoteko v restore point-u. Na primer:
File "D:\System Volume Information\_restore{96B3C7FC-998C-4A30-BBC6-0A87EC69C48F}\RP973\A0639083.exe" belongs to virus/spyware 'Mal/Generic-S'.
Powershell ima sicer ukaz:
File "D:\System Volume Information\_restore{96B3C7FC-998C-4A30-BBC6-0A87EC69C48F}\RP973\A0639083.exe" belongs to virus/spyware 'Mal/Generic-S'.
Powershell ima sicer ukaz:
disable-computerrestore
"C:\"
enable-computerrestore
"C:\"
a ta deluje le na lokalnem računalniku.
Na oddaljenem pa to isto lahko naredim z wmic:
wmic
/node:10.46.0.15 /user:admindt /namespace:\\root\default path
systemrestore call disable c:\
Vnesite
geslo:***********
Izvrševanje
(systemrestore)->disable()
Metoda
se je uspešno izvedla.
Izhodni
parametri:
instance
of __PARAMETERS
{
ReturnValue
= 0;
};
Ni komentarjev:
Objavite komentar