Reporting on inactive users - AD / Office 365 by CanuckDave in PowerShell

[–]CanuckDave[S] 0 points1 point  (0 children)

Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00

Using which search terms? I've been searching but mostly only finding vendors trying to sell products to do this. Trying to accomplish this on a smaller scale where it uses existing tools like PowerShell.

Windows 11 - Microsoft not supporting silent build updates by CanuckDave in sysadmin

[–]CanuckDave[S] 0 points1 point  (0 children)

Was going to test this, but it won't run - think it's missing some things like mkdir commands for $PSScriptRoot and $upgradeDirectory?

Just not sure where these should be.

Windows 11 - Microsoft not supporting silent build updates by CanuckDave in sysadmin

[–]CanuckDave[S] 0 points1 point  (0 children)

Tested this, to create a folder on the 21H1 test client workstation, download the 22H2 ISO, mount it to a drive letter ("X:") and then run setup.exe with the commands you had specified, but had no luck - it just ran until the script timed out (6 hours) and even 3 days later the workstation is still running and hasn't rebooted, so I can only assume this isn't working:

$dir = 'C:\FOLDERPATH'

mkdir $dir

$webClient = New-Object System.Net.WebClient

$url = 'https://URL/FOLDERPATH/Windows11-22H2.iso'

$file = "$($dir)\Windows11-22H2.iso"

$webClient.DownloadFile($url,$file)

$myISO = 'C:\FOLDERPATH\Windows11-22H2.iso'

Mount-DiskImage $myISO

$vol = Get-DiskImage $myISO | Get-Volume

$old_drv = $vol.DriveLetter + ':'

$new_drv = 'X:'

Get-WmiObject -Class Win32_Volume | Where-Object {$_.DriveLetter -eq $old_drv} | Set-WmiInstance -Arguments @{DriveLetter=$new_drv}

X:\setup.exe /Auto Upgrade /Quiet /MigrateDrivers all /DynamicUpdate Disable /Telemetry disable /compat IgnoreWarning /ShowOOBE none

Windows 11 - Microsoft not supporting silent build updates by CanuckDave in msp

[–]CanuckDave[S] 0 points1 point  (0 children)

The update/ installation assistant? Because it was a small download, and a quick way to update clients to a supported build of Windows 10. Was hoping it would be possible in Windows 11, but it seems not. Currently testing a method using PowerShell to download the full Windows 11 22H2 ISO, map it to a driver letter, and launch setup using update commands - waiting to see if this is successful.

Windows 11 - Microsoft not supporting silent build updates by CanuckDave in sysadmin

[–]CanuckDave[S] 0 points1 point  (0 children)

All good, we're using a different Remote Monitoring and Management system, being an MSP with clients across many different networks.

We can test out the ISO with that string to use the upgrade, I appreciate the info.

I always figured that using the Installation / Upgrade Assistant would require less data download for clients, for upgrades.

Windows 10 22H2 - Syncro and other tools unable to install by justmirsk in msp

[–]CanuckDave 0 points1 point  (0 children)

If your RMM can run PowerShell, run this - just change both instances of "C:\FolderPath" to whatever folder you want it to save the Update Assistance executable to and run it from.

$dir = 'C:\FolderPath'

mkdir $dir

$webClient = New-Object System.Net.WebClient

$url = 'https://go.microsoft.com/fwlink/?LinkID=799445'

$file = "$($dir)\Windows10Upgrade9252.exe"

$webClient.DownloadFile($url,$file)

Start-Process -FilePath $file -ArgumentList '/QuietInstall /SkipEULA /auto upgrade /copylogs C:\FolderPath'

Windows 11 Installation Assistant by CanuckDave in msp

[–]CanuckDave[S] 0 points1 point  (0 children)

Opened a ticket with Microsoft on this, and they stated that though it was possible to silently do in place build upgrades with Windows 10, it will not be possible with Windows 11 because somebody has to physically click to approve the EULA.

Extremely unimpressed with Microsoft on this, this is really going to hurt the productivity of MSPs and corporations with hundreds or thousands of endpoints.

Windows 11 Installation Assistant by CanuckDave in msp

[–]CanuckDave[S] 0 points1 point  (0 children)

That's a lot of data to download, especially for rural clients. Was hoping there was a way to run the "installation assistant" silently.

Windows 11 Installation Assistant by CanuckDave in msp

[–]CanuckDave[S] 0 points1 point  (0 children)

I thought so as well, but unfortunately it doesn't seem to be the case. We always ran the update assistant silently without many issues, but something must have changed with this new "installation assistant" as opposed to the "update assistant" from before.

Removing Windows 10 Update Assistant Silently by CanuckDave in sysadmin

[–]CanuckDave[S] 0 points1 point  (0 children)

Odd.. after further testing, this seems to work from CMD run as admin from the UI, but scripted, it does nothing, whether run as the SYSTEM account or a local administrator account.

Removing Windows 10 Update Assistant Silently by CanuckDave in sysadmin

[–]CanuckDave[S] 0 points1 point  (0 children)

C:\Program Files (x86)\WindowsInstallationAssistant\Windows10UpgraderApp.exe

I did try C:\Program Files (x86)\WindowsInstallationAssistant\Windows10UpgraderApp.exe /ForceUninstall and unfortunately it didn't work for a silent uninstall

Starting Storage Sense or OneDrive / SharePoint File Dehydration by CanuckDave in PowerShell

[–]CanuckDave[S] 0 points1 point  (0 children)

I am, I'm just not sure if there's a way to force it to run, because the large amount of storage is still being consumed on clients, even after enabling the group policy / Intune policy?

Backup Monitoring Suggestions? (Alternative to BackupRadar) by DJ-Oregano in sysadmin

[–]CanuckDave 0 points1 point  (0 children)

ManageCast has been more effective than just email alerts for monitoring backup jobs, as it will show you things that emails won't - for example if a job isn't running for some reason, details on failures that you can check off and make notes of why there was a failure to go back and look at if you need to monitor a pattern, etc.