Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
resinfo-gt
swmb
resinfo-swmb
Commits
b92eca25
Commit
b92eca25
authored
May 04, 2022
by
Gabriel Moreau
Browse files
Better doc on standalone version
parent
9a39896d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
dists/uninstall-kaspersky/README.md
dists/uninstall-kaspersky/README.md
+42
-0
No files found.
dists/uninstall-kaspersky/README.md
View file @
b92eca25
...
...
@@ -8,6 +8,44 @@ However, removing such software is not easy because an antivirus
program always protects itself against viruses,
so the easy uninstallation...
## Quick and Standalone version
There is an independent SWMB version of this tweak to make the
uninstallation of Kasperky Endpoint even easier.
Just download this
[
Zip archive
](
https://resinfo-gt.pages.in2p3.fr/swmb/resinfo-swmb/Kasperky-Uninstall-Latest.zip
)
.
Then, in the directory where the archive is extracted,
in a PowerShell console with administrator rights,
we launch the following command which, despite its name,
will uninstall Kaspersky.
```
ps1
.\install.bat
```
It will ask you to run the command
```
ps1
.\set-password-encrypted.ps1
```
because the Zip archive does not contain the files with the key
and the settings module to give the kaspersky password.
Then we restart the uninstallation with again
```
ps1
.\install.bat
```
To automate this on a computer park, you just have to put the file
containing the encryption key and the
`Custom-VarAutodel.psm1`
file
in the Zip archive and then deploy this archive
by running
`install.bat`
during this one (for example with OCS Inventory).
*For information*
, the name of the script is install.bat because during
an automatic deployment, at LEGI, we always run the
`install.bat`
name script
of the archive, whatever the script actually does!
In this case, nothing is installed.
In case of deployment with OCS for example,
there will be nothing left of these files (OCS extracts the Zip archives
in a temporary folder that it destroys at the end)...
## Configuration module
Therefore, you need a password to ensure this operation.
...
...
@@ -79,6 +117,10 @@ copy this uninstall script, the encryption key and the configuration
module to the same folder (this is simpler, but not mandatory),
and that should be enough.
There are two versions of the
`uninstall-kaspersky`
file,
one uses the
`swmb.ps1`
engine and the other one uses the minimum
while being independent (standalone).
## More
To learn more about
[
encrypting credentials
](
https://www.pdq.com/blog/secure-password-with-powershell-encrypting-credentials-part-1/
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment