Commit graph

14 commits

Author SHA1 Message Date
Allen Houchins
4895c75de9
Cleaning up scripts (#42371) 2026-03-25 09:12:56 -05:00
kilo-code-bot[bot]
f5f26b8d1e
Add Okta Verify for Windows workstations (#41203)
## Summary

- Adds Okta Verify as a custom package for x86 Windows workstations in
the Fleet GitOps configuration
- Creates `it-and-security/lib/windows/software/okta-verify.yml` using
the `$DOGFOOD_OKTA_VERIFY_WINDOWS_URL` secret for the download URL
- Configures the app in `workstations.yml` with `self_service: true`,
`setup_experience: true`, the "Security" category, and scoped to
`x86-based Windows hosts` label

## Changes

1. **New file**: `it-and-security/lib/windows/software/okta-verify.yml`
— Software definition with the secret-referenced URL
2. **Modified**: `it-and-security/teams/workstations.yml` — Added Okta
Verify package reference under `software.packages` in the Windows apps
section

Built for [Allen
Houchins](https://fleetdm.slack.com/archives/D0AFASNBZMW/p1772924912095649)
by [Kilo for Slack](https://kilo.ai/features/slack-integration)

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: Allen Houchins <32207388+allenhouchins@users.noreply.github.com>
Co-authored-by: Allen Houchins <allenhouchins@mac.com>
2026-03-08 22:13:58 -05:00
Allen Houchins
e0e7e9bea6
Update turn-off-mdm.ps1 (#38384)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #38252

This pull request improves the Windows MDM unregistration PowerShell
script by adding extra checks and cleanup steps to ensure devices are
properly unenrolled and that the state is clearly reported. The script
now checks for relevant registry values before and after unregistration,
and explicitly clears any remaining values to guarantee correct
detection by Fleet.

Enhancements to device unregistration and registry cleanup:

* Added a pre-check for `DiscoveryServiceFullURL` registry values before
attempting to unregister the device, to provide clearer output about the
device's enrollment state.
* After calling the `UnregisterDeviceWithManagement` API, the script now
explicitly removes any remaining `DiscoveryServiceFullURL` values from
enrollment keys that have a `UPN`, ensuring Fleet properly detects the
device as unenrolled.
* Improved output messages to clearly indicate the actions taken and the
resulting device state, including whether registry values were found,
cleared, or already absent.
* Added error handling to exit with a non-zero code if an error occurs
during unregistration.
2026-01-16 10:31:05 -06:00
Artur D'Assumpção
67d6ccc49e
Fix path escaping to properly handle script path with white spaces (#36065)
This fixes an issue where the background process invocation fails if the
script is located in a path containing white spaces, due to improper
path escaping, which can occur when the uninstall script is executed via
Microsoft Intune.
2025-11-20 11:52:38 -06:00
Allen Houchins
5e8da8a596
Updating Windows installers (#31076)
- Changed to URLs that will always pull the latest versions of software and using their `msi` instead of `exe`
2025-07-20 00:30:12 -05:00
Allen Houchins
46a3a84b16
Update uninstall-zoom.ps1 (#31072)
- Updated script so it works under different scenarios
2025-07-19 00:05:04 -05:00
Allen Houchins
9329742bc7
Fix exe installer script (#31071)
- Updated script to only add the ArgumentList when the parameter is not empty
2025-07-18 23:14:29 -05:00
Allen Houchins
cc42bd835b
Update default-exe-install-script.ps1 (#31070)
- Updating the default-exe-install-script.ps1 script for better error handling and higher success rate.
2025-07-18 22:51:40 -05:00
Noah Talerman
b012a0be67
Uninstall fleetd scripts: "fleetd" (#29196)
Fleet's agent is called "fleetd":
https://fleetdm.com/docs/get-started/anatomy#fleetd
2025-05-15 18:48:14 -04:00
Allen Houchins
e9442dd4a8
Updates for exe installers in gitops (#27924)
Added newly required install and uninstall scripts for `exe` installers.
2025-04-06 21:24:08 -05:00
Noah Talerman
919f42a3ea
Uninstall fleetd remotely (#27024) 2025-03-19 13:35:39 -05:00
Noah Talerman
ce915c460d
Use disk encryption key to login to a Windows computer (#26951)
Hint: you don't need the disk encryption key
2025-03-10 13:32:10 -04:00
Marko Lisica
727f9aaf4c
Update Windows setup guide to include how to turn off MDM (#26562)
Changes:
- Windows MDM setup guide update: include instructions how to turn off
MDM
- Redirect: new link `learn-more-about/windows-mdm` that will be used in
the error message.
2025-02-25 18:35:41 -05:00
Luke Heath
d47bd8f626
Reorganize our it-and-security directory (#24278) 2024-12-09 13:42:47 -06:00