/build/static/layout/Breadcrumb_cap_w.png

Is there a way to remotely wipe a device from the Kace SMA?

Is there an in-built function that would allow us to remotely wipe a device via the Kace SMA (Windows and/or Mac)? Or are there common scripts used for this functionality? Thanks!


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: Nico_K 1 week ago
Red Belt
1

The SMA has not a built in function for that.
The KACE Cloud MDM solution has it for iOS and Android.

But as long as the system checks in into the SMA you can run any script on it, which does what you want it to do.
So you can run a script using the scripting module to run "systemreset --factoryreset" to do this


Comments:
  • Thanks! I was convinced this was the case, but wanted to make sure I wasn't missing anything obvious. Thanks again. - seanboy 1 week ago
Posted by: gwir 1 week ago
Second Degree Brown Belt
0

Here's a script I did for that :


# Switch in  64 bits
if ($PSHOME -like "*syswow64*") {
    Write-Output 'Relaunching as x64'
    & (Join-Path ($PSHOME -replace 'syswow64', 'sysnative') powershell.exe) `
        -File $Script:MyInvocation.MyCommand.Path `
        @args
    Exit
}
#  script
$namespaceName = "root\cimv2\mdm\dmmap"
$className = "MDM_RemoteWipe"
$methodName = "doWipeProtectedMethod"
$session = New-CimSession
$params = New-Object Microsoft.Management.Infrastructure.CimMethodParametersCollection
$param = [Microsoft.Management.Infrastructure.CimMethodParameter]::Create("param", "", "String", "In")
$params.Add($param)
$instance = Get-CimInstance -Namespace $namespaceName -ClassName $className -Filter "ParentID='./Vendor/MSFT' and InstanceID='RemoteWipe'"
$session.InvokeMethod($namespaceName, $instance, $methodName, $params)


From https://techcommunity.microsoft.com/t5/windows-deployment/factory-reset-windows-10-without-user-intervention/m-p/1349038/highlight/true#M559



Comments:
  • Thanks for sharing - much appreciated! I'll try this out when I get a chance. - seanboy 1 week ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ