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
a0d64373
Commit
a0d64373
authored
May 25, 2022
by
Gabriel Moreau
Browse files
Better README and rename file
parent
615f578e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
dists/uninstall-kaspersky/README.md
dists/uninstall-kaspersky/README.md
+15
-7
dists/uninstall-kaspersky/uninstall-kaspersky-integrated.ps1
dists/uninstall-kaspersky/uninstall-kaspersky-integrated.ps1
+0
-0
No files found.
dists/uninstall-kaspersky/README.md
View file @
a0d64373
...
...
@@ -45,7 +45,7 @@ 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
*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.
...
...
@@ -118,21 +118,27 @@ Finally, regardless of the method chosen for the password,
the Kapersky uninstallation operation is launched with
the tweak
`UninstallKasperskyEndpoint`
It's resume with the following command
(
[
uninstall-kaspersky.ps1
](
uninstall-kaspersky.ps1
)
):
(
[
uninstall-kaspersky
-integrated
.ps1
](
uninstall-kaspersky
-integrated
.ps1
)
):
```
ps1
. "C:\Program Files\SWMB\swmb.ps1" -exp UninstallKasperskyEndpoint
```
## In practice
The script (
[
uninstall-kaspersky-standalone.ps1
](
uninstall-kaspersky-standalone.ps1
)
)
is a standalone version that works without local SWMB installation.
Basically, on a workstation, all you have to do is open a PowerShell
console as an administrator, then run the script
## Use with SWMB installed on the workstation
Basically, on a workstation where SWMB is already installed
(with a recent and updated version),
all you have to do is to open a PowerShell console as administrator,
then run the script
```
ps1
cd "C:\Program Files\SWMB\dists\uninstall-kaspersky"
.\set-password-encrypted.ps1
.\uninstall-kaspersky.ps1
.\uninstall-kaspersky
-integrated
.ps1
```
And that's it,
Kaspersky Endpoint disappears from the computer... hopefully!
...
...
@@ -143,8 +149,10 @@ 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
one uses the
`swmb.ps1`
engine
(integrated)
and the other one uses the minimum
while being independent (standalone).
The proposed Zip archive is independent of a SWMB installation
and only includes the standalone script.
## More
...
...
dists/uninstall-kaspersky/uninstall-kaspersky.ps1
→
dists/uninstall-kaspersky/uninstall-kaspersky
-integrated
.ps1
View file @
a0d64373
File moved
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