PowerShell – Empty Reboot
Have you ever needed to prompt a user for a reboot at the end of a setup process? Here is how you do it with a form, which includes a remind me.
Lab Core | The Lab of MrNetTek
A blog about IT, technical solutions, and code.
Have you ever needed to prompt a user for a reboot at the end of a setup process? Here is how you do it with a form, which includes a remind me.
Are you a Citrix Client user? Have you noticed DPI issues in some virtual sessions? Try these: For Citrix Admin, On VDA Side (Try this, first) HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Graphics REG_DWORD EnableDpiSupport 1 And Disable this GPO In GP, Administrative Templates > Citrix Components > Citrix Workspace > DPI For Citrix Tech, On Client Side HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Read More …
Add assignments. Force a sync on the Mac. Notes Create a mobileconfig file https://imazing.com/profile-editor Example of mobileconfig
These are useful if you’re trying to set a PDF association. Acrobat.Document.2022 Acrobat.Document.2020 AcroExch.Document.DC AcroExch.Document.11 Acrobat.Document.11 Acrobat.Document.DC Acrobat.Document.2015 Acrobat.Document.2017 Notes HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithProgids <?xml version=”1.0″ encoding=”UTF-8″?> <DefaultAssociations> <Association Identifier=”.3gp2″ ProgId=”WMP11.AssocFile.3G2″ ApplicationName=”Windows Media Player” /> <Association Identifier=”.epub” ProgId=”AppXvepbp3z66accmsd0x877zbbxjctkpr6t” ApplicationName=”Microsoft Edge” /> <Association Identifier=”.htm” ProgId=”ChromeHTML” ApplicationName=”Google Chrome” /> <Association Identifier=”.html” ProgId=”ChromeHTML” ApplicationName=”Google Chrome” /> <Association Identifier=”.MP2″ ProgId=”WMP11.AssocFile.MP3″ Read More …
To be used in scripting and setting up the config files: ProPlus2021Volume Standard2021Volume ProjectPro2021Volume ProjectStd2021Volume VisioPro2021Volume VisioStd2021Volume
Notes Get-DnsClient Set-DnsClient Set-DnsClientGlobalSetting Get-DnsClientGlobalSetting Get-NetAdapter Clear Suffix List Set-DnsClientGlobalSetting -SuffixSearchList @(“”) Set Suffix Order Set-DnsClientGlobalSetting -SuffixSearchList @(“domain.com”, “child.domain.com”) or $DnsSuffixes = “domain.com”,”child.domain.com” Invoke-Wmimethod -Class win32_networkadapterconfiguration -Name setDNSSuffixSearchOrder -ArgumentList @($DnsSuffixes),$null Set Suffix for Single Network Connection Get-NetAdapter | where {$_.name -ne “Local Area Connection”}| foreach{ Write-Host $_.name Set-DnsClient $_.name -ConnectionSpecificSuffix Read More …
Commands Disable 24 Hour Default Setting reg add “HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore” /v SystemRestorePointCreationFrequency /t REG_DWORD /d 0 /f /reg:64 Create Restore Point wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint “EddieRestorePoint”, 100, 7 PowerShell Create Restore Point
Unregister Package (unload app) Remove-AppxPackage AdobeAcrobat2020_20.1.30002.0_x64__1nrb0vh0kd882 Register Package (load app) Add-AppxPackage -Path ‘C:\Program Files\WindowsApps\AdobeAcrobat2020_20.1.30002.0_x64__1nrb0vh0kd882\AppxManifest.xml’ -DisableDevelopmentMode -Register Launch App start shell:AppsFolder\AdobeAcrobat2020_1nrb0vh0kd882!ACROBAT Create Desktop Shortcut explorer.exe shell:AppsFolder\AdobeAcrobat2020_1nrb0vh0kd882!ACROBAT Notes Element Not Found Check the Access Control Entry for each user; look for corrupted entries. Resets ACE (Remove Corrupted Entries) icacls “C:\Program Files\WindowsApps\AdobeAcrobat2020_20.1.30002.0_x64__1nrb0vh0kd882” /c Read More …
Disable Local Machine [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] “DefaultPluginsSetting”=dword:00000002 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome] “DefaultPluginsSetting”=dword:00000002 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer] “DisableFlashInIE”=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\FlashPlugin\Allow] “1”=”none.com” Current User [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy Objects\{6F62A819-CC05-4484-81EE-7CEF4291EFE7}Machine\Software\Policies\Microsoft\Edge] “DefaultPluginsSetting”=dword:00000002 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy Objects\{6F62A819-CC05-4484-81EE-7CEF4291EFE7}Machine\Software\Policies\Google\Chrome] “DefaultPluginsSetting”=dword:00000002 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy Objects\{6F62A819-CC05-4484-81EE-7CEF4291EFE7}Machine\Software\Policies\Microsoft\Internet Explorer] “DisableFlashInIE”=dword:00000001 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy Objects\{6F62A819-CC05-4484-81EE-7CEF4291EFE7}Machine\Software\Policies\Mozilla\Firefox\FlashPlugin\Allow] “**delvals.”=” ” “1”=”none.com” Uninstall Adobe provides an Uninstall Tool Flash uninstaller from Adobe | End of Life Article player.exe -uninstall Read More …
In SCCM Software Library > Overview > Application Management > Applications > Application > Click Deployment Types > Double-click Program > Click Detection Method tab > Add Clause Config Settings Type: Application Bundle Application bundle ID: com.citrix.receiver.nomas Data Type: Version Operator: Greater than or equal to Value: 20.8.0