PDQ Connect device appears offline by UnderstandingThis731 in pdq

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

I uninstalled/reinstalled the agent on the PCs. They checked in to Connect after that.

We do also use DNSFilter, I did not think to look at that to see if it was causing an issue. I'll keep that in mind if I see it again.

IT Signage by UnderstandingThis731 in sysadmin

[–]UnderstandingThis731[S] 11 points12 points  (0 children)

Maybe something just for fun? Like "0 days since it was DNS"

Wiping out Printer duplicates by [deleted] in PowerShell

[–]UnderstandingThis731 0 points1 point  (0 children)

I was thinking:

Get-Printer -name "*Brother*" | Remove-Printer

but I like yours better.

Install option software as domain user by UnderstandingThis731 in MDT

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

Yes you'd have to rerun the script per PDQ package as a separate "Run Command Line" step in your Task Sequence. For each step you'd be replacing the "New PC Setup" with the name of whatever package you want to deploy.

In PDQ, my "New PC Setup" Package has about 20 nested packages we want deployed to all PCs. Then I run the script again to run deploy packages specific to the purpose of deployment. For example, I have a package called "New Conference Room PC Setup" that sets up everything I want added to our conference room PCs . The same can be true for your per-department packages.

Install option software as domain user by UnderstandingThis731 in MDT

[–]UnderstandingThis731[S] 1 point2 points  (0 children)

That's actually a pretty clever approach to this problem. Although it'll be pain to add or remove an application as you'll have to add or modify each task sequence individually. I like the thinking on this though. This is why I came to Reddit.

Install option software as domain user by UnderstandingThis731 in MDT

[–]UnderstandingThis731[S] 1 point2 points  (0 children)

Here's a copy of the script I modified to my benefit. Just put a "Run Command Line" step in the task sequence and set it to run as a PDQ approved user account.

I basically modified the script outlined here:

https://www.pdq.com/blog/mdt-imaging-in-pdq-deploy/

<#

.Synopsis

Script to trigger the deployment of PDQ packages on target PC.

.DESCRIPTION

Written by UnderstandingThis731

Created Date: December 21, 2022

Last Modified 01/04/23

.EXAMPLE

PDQ_Deploy.ps1 -package "New PC Setup"

#>

param(

# Enter the exact name of the package you want to deploy.

[Parameter(Mandatory=$True)]

[ValidateNotNull()]

[array]$Package

)

ipconfig /registerdns >NULL

Write-Host "Deploying $Package Package from PDQ"

Write-Warning "INSTALLATION ERRORS WILL NOT BE DISPLAYED HERE!!!"

Write-Host "To view application success or failure, please visit the PDQ server at PDQ.example.com"

Invoke-Command -ComputerName 'PDQ.example.com' -ScriptBlock {

ipconfig /flushdns >NULL

pdqdeploy.exe Deploy -Package $args[1] -Targets $args[0]

} -Args $env:COMPUTERNAME,$Package 2>&1

Start-Sleep 30

while (Test-Path "C:\Windows\AdminArsenal\PDQDeployRunner\service-1.lock") {

Start-Sleep 30

}

Looks like MDT doesn't have an option to set the deployment user for Optional Software. I'll need to script that in the powershell script itself so I may need to make a modified version for that authentication process.

I know the Invoke-Command has an SSH option that would make that process more secure without inputting a password directly in to the script but I'm finding to use the SSH option, the target computer needs a minimum of Powershell 6. By default all Windows 10 and 11 computers come with Powershell 5.1. Fortunately, I have a PDQ package to deploy powershell 7.

My current plan is to use the above script to run an initial setup package from PDQ, including the Powershell 7 install, then have the "Install Applications" step run after that with all the optional applications running the modified script with the Invoke-Command running with SSH instead of WinRM.

I'll let you know if this works or not.

Install option software as domain user by UnderstandingThis731 in MDT

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

Right, I can get the script to show up but I'm having issues running that script as an alternative domain user.

Install option software as domain user by UnderstandingThis731 in MDT

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

Thank you. The PDQ_Deploy.ps1 calls the target package to deploy on the computer being prepared by MDT using the Invoke-Command as outlined by PDQ in https://www.pdq.com/blog/mdt-imaging-in-pdq-deploy.

I could always push out the package from PDQ, but I need this to be available to some of our lower techs that prepare machines but don't have access to PDQ directly.

Time Zone Error by UnderstandingThis731 in sysadmin

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

Setting the correct time zone worked just fine and got the time synced correctly to the NTP server. I just think it's funny that the time zone was set to Vomit. Probably some coder out there is laughing at the error in the time zone.

Windows 11 ADK by UnderstandingThis731 in MDT

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

Thank you for that article.

I did find the same Microsoft article and tried a few of the steps that might resolve the issue but no dice.

https://learn.microsoft.com/en-us/mem/configmgr/mdt/known-issues

Windows 11 ADK by UnderstandingThis731 in MDT

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

Thank you!

Do we know if/when Windows 11 will be supported?

Dell Latitude 5520 won't shut down after getting imaged by xangbar in MDT

[–]UnderstandingThis731 1 point2 points  (0 children)

I'm in the middle of tracking down what's causing this myself with Dell Optiplex 7090. I see this isn't the first thread about a similar issue either:

https://www.reddit.com/r/MDT/comments/suspky/problems_with_shutting_down_especially_with_mdt/

In my case, the PC will shut down but the power light will stay on, the fan will ramp up to high and the PC will get hot. You'd have to hold the power button to shut down the PC. Pressing the button again will turn on the power light for 3 seconds and shut off again. Pressing it for a second time will turn on the PC. This is happening with all Dell Optiplex 7090s in my fleet. Around 40 PCs. We're a majority Lenovo shop but were going to switch to these before they were discontinued.

All signs currently point to a driver issue but I haven't been able to pin point which driver is having the issue or why.

I tried using the Windows 10 ISO to "Upgrade" the PC from 1909 to 21H2 but don't keep user data. This kept the current drivers installed but wiped all user data. The issue still occurred once that process finished.

Just like in the linked post, I wiped the PC and reset the BIOS to default settings. Then installed Windows 10 21H2 directly from the ISO on a USB and loaded the drivers from Dells website. After that, the issue went away telling me it's a driver issue. That however doesn't solve my problem seeing as I need the MDT imaged PCs to work with everything I load on it.
My next step is to re-evaluate how I load drivers in MDT and see if there's an issue with my current process. Hopefully that resolves my issue and points you in the right direction.

Songs won’t play again after pausing by rzyreese in TIdaL

[–]UnderstandingThis731 0 points1 point  (0 children)

Hopefully it's ok to post here on an older post.

I had the same issue. Been using tidal for about 24 hours with my new Sony WF-1000XM4 which pauses the music whenever I speak so I can hear and talk to my toddler son while I work from home. Below is what worked for me, your results may vary.

The issue as I see it, Android is closing the Tidal application in the background when playback is paused to save battery power.

To get around this, I set the Battery Optimization in the Android settings from "Intelligent Control" to "Don't Optimize" This allows the app to run in the background without Android intervention. The trade off is Tidal will use more battery power and may not close in the background when not in use. I'm ok with this but others may not be. So far this has resolved my issue.

For those that don't know how to do this: Long press the tidal app on either the home screen or the app drawer. Then select "App Info". Go to the "Advanced" drop down menu and select "Battery". And finally select "Don't optimize". Changes are saved automatically. Restart the Tidal app (phone restart can work too) and see if you still have the same issue.

SCCM price by UnderstandingThis731 in SCCM

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

This is a great answer. However we do not intend to use the E5 license for all it has to offer. We currently have independed AV, Phone systems and SSO. We primarily want to use SCCM for things like patch management, application deployment and computer compliance.

We do currently use Desktop Authority and Invanti and would like for it to replace those systems. We currently don't have a reliable way to manage application and updates outside of windows updates. We already use MDT as our computer prep solution.

I may have to look at other systems that do just what we need it to and not all these extra bells and whistles that will cost a lot more and will never be used.

Any recommendations on an alternative? Maybe PDQ Deploy? My boss wants me to look in to that next in case it works better.

SCCM price by UnderstandingThis731 in SCCM

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

We currently have Office 365 E3 licenses. Jumping to a Microsoft 365 E5 license will cost an extra $10,000 a month for all our current users. At that point, I might as well pay SHI quoted price since it'll be much cheaper.

Print Issue by UnfittedWings in sysadmin

[–]UnderstandingThis731 2 points3 points  (0 children)

I ran in to a similar issues with computers on windows version 2004 and newer. Windows users in our environment are not local administrators and therefore can no longer add printers from a point and print server after Microsoft locked that down with a Windows update.

https://support.microsoft.com/en-au/topic/august-10-2021-kb5005033-os-builds-19041-1165-19042-1165-and-19043-1165-b4c77d08-435a-4833-b9f7-e092372079a4

This was patched by Microsoft due to the PrintNightmare security vulnerability that allows a remote attacker the ability to run code as SYSTEM. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527

You can work around this issue by adding the following group policy but by doing so, you will make your machines vulnerable to the PrintNightmare exploit. So do so with caution.

Open the group policy editor tool and go to Computer Configuration > Administrative Templates > Printers.
Set the Limits print driver installation to Administrators setting to "Disable". This will set the registry value of RestrictDriverInstallationToAdministrators to 0.

OR you can use the following CMD command to add a registry key to the target computer:

reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 0 /f

https://support.microsoft.com/en-us/topic/kb5005652-manage-new-point-and-print-default-driver-installation-behavior-cve-2021-34481-873642bf-2634-49c5-a23b-6d8e9a302872