December 22, 2019

Registry hacks

Here you will find various powershell scripts/commands that can be useful in various circumstances.
The content list below show the current available scripts for you to find.

I will add more as I make them, and if they are suited to be generalized and made available to others.
If I find some useful scripts elsewhere, I will add thos aswell – with notes on who is the creator.

I will try to keep this updated regularly, and post updates in the Changelog below.

Hope you find the content useful.

Content Available

Windows

|—-Systray icons
|—-Windows Explorer – Folders
|—-Windows Explorer – File Association related
|—-Windows – Time & Date
|—-Windows – Personalization
|—-Windows – Privacy

Applications

|—-Adobe Reader
|—-Citrix Files / Sharefile
|—-Visma
|—-Datalex
|—-Internet Explorer
|—-Office 365 / Office
|—-Google Chrome
|—-Microsoft Edge Chromium

Citrix / RDS

|—-Logon optimization
|—-Citrix Receiver / Workspace App
|—- Citrix Virtual Apps and Desktops
|—-Various Tweaks

Changelog

  • 24.12.2019 – Fieldnotes – Initial release
  • 15.01.2019 – Caveats // Quicfix – Added: “Google Chrome – No audio in ICA session after version 77”
  • 07.02.2020 – Moved Powershell scripts to GitHub
  • 08.02.2020 – Caveats // Quicfix – Added: “Server 2019/Windows 10: No borders around windows/AllWhite issue”
  • 26.02.2020 – Registry hacks – Added: Microsoft Edge Chromium
  • 27.03.2020 – Registry hacks – Added: Windows – Privacy
  • 10.04.2020 – Registry hacks – Added: Microsoft Edge Chromium – settings to remove prompts about opening Citrix receiver/workspace/ica files
  • 24.04.2020 – Powershell – Added: OneDrive for Business – Scripts to deploy with intune to configure OneDrive for Business with Known Folder management silently
  • 29.04.2020 – Powershell – Added: Microsoft Edge and Microsoft Teams – Downloads and install latest – intended for VDI
  • 30.04.2020 – Powershell – Added: OneDrive for Business – Downloads and install latest stable OneDrive for Business – intended for VDI
  • 25.09.2020 – Registry hacks – added audio sandbox values for Edge and Chrome
  • 25.09.2020 – Fieldnotes general – removed pagination and did some cleaning,

Windows

|—-Systray icons

HivePathTypeNameValueDescription
HKCUSoftware\Citrix\ProvisioningServices\StatusTrayREG_DWORDShowIcon0Hides PVS Icon in Systray
Software\VMware, Inc.\VMware Tools REG_DWORD ShowTray0Hides VMware in Icon Systray – pr user
Software\Citrix\ReceiverREG_DWORDShowIcon0Hide Citrix Receiver Icon in Systray
HKLMSOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ExplorerREG_DWORDHideSCAHealth1Hide Action Centre
SOFTWARE\VMware, Inc.\VMware ToolsREG_DWORDShowTray0 Hides VMware in Icon Systray

|—-Windows Explorer – Folders

HivePathTypeNameValueDescription
HKCU Software\Classes\CLSID{031E4825-7B94-4dc3-B131-E946B44C8DD5} REG_DWORD System.IsPinnedToNameSpaceTree1Shows libraries in Explorer nav panel
CLSID{679f85cb-0220-4080-b29b-5540cc05aab6}\ShellFolderREG_DWORDAttributes2690646016Remove Quick Access from File Menu
Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced REG_DWORD NavPaneShowAllFolders 0 Turns off “show all folders” in explorer nav panel
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIconsREG_DWORD{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}1Hides 3D Objects folder in explorer
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons REG_DWORD {B4BFCC3A-DB2C-424C-B029-7FE99A87C641}1Hides Desktop folder in explorer
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons REG_DWORD {D3162B92-9365-467A-956B-92703ACA08AF}1Hides Documents folder in explorer
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons REG_DWORD {088E3905-0323-4B02-9826-5D99428E115F}1Hides Downloads folder in explorer
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons REG_DWORD {3DFDF296-DBEC-4FB4-81D1-6A3438BCF4DE}1Hides Music folder in explorer
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons REG_DWORD {24AD3AD4-A569-4530-98E1-AB02F9417AA8}1Hides Pictures folder in explorer
Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons REG_DWORD {F86FA3AB-70D2-4FC7-9C99-FCBF05467F3A}1Hides Videos folder in explorer

|—-Windows Explorer – File Association related

HivePathTypeNameValueDescription
HKCUSoftware\Policies\Microsoft\Windows\Explorer REG_DWORD NoNewAppAlert 1Ignore the “open with” window, opens with first available app
SOFTWARE\Classes\AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9REG_SZNoOpenWith“”An app default was reset notification_Microsoft Edge_1of2 – Source
SOFTWARE\Classes\AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9REG_SZ NoStaticDefaultVerb“”An app default was reset notification_Microsoft Edge_2of2 – Source
SOFTWARE\Classes\AppXk0g4vb8gvt7b93tg50ybcy892pge6jmtREG_SZ NoOpenWith “”An app default was reset notification_Microsoft Photos_1of2 – Source
SOFTWARE\Classes\AppXk0g4vb8gvt7b93tg50ybcy892pge6jmtREG_SZ NoStaticDefaultVerb “”An app default was reset notification_Microsoft Photos_2of2 – Source
SOFTWARE\Classes\AppXvhc4p7vz4b485xfp46hhk3fq3grkdgjg REG_SZ NoOpenWith “”An app default was reset notification_Microsoft.3DBuilder_1of2 – Source
SOFTWARE\Classes\AppXvhc4p7vz4b485xfp46hhk3fq3grkdgjgREG_SZ NoStaticDefaultVerb “”An app default was reset notification_Microsoft.3DBuilder_2of2 – Source
SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetcREG_SZ NoOpenWith “”An app default was reset notification_MostImageTypes_1of2 – Source
SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetcREG_SZ NoStaticDefaultVerb “”An app default was reset notification_MostImageTypes_2of2 – Source
SOFTWARE\Classes\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723REG_SZ NoOpenWith “”An app default was reset notification_PDF_1of2 – Source
SOFTWARE\Classes\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723REG_SZ NoStaticDefaultVerb “”An app default was reset notification_PDF_2of2 – Source
SOFTWARE\Classes\AppX9rkaq77s0jzh1tyccadx9ghba15r6t3hREG_SZ NoOpenWith “”An app default was reset notification_raw-etc_1of2 – Source
SOFTWARE\Classes\AppX9rkaq77s0jzh1tyccadx9ghba15r6t3hREG_SZ NoStaticDefaultVerb “”An app default was reset notification_raw-etc_2of2 – Source
SOFTWARE\Classes\AppXde74bfzw9j31bzhcvsrxsyjnhhbq66csREG_SZ NoOpenWith “”An app default was reset_SVG notification_1of2 – Source
SOFTWARE\Classes\AppXde74bfzw9j31bzhcvsrxsyjnhhbq66csREG_SZ NoStaticDefaultVerb “”An app default was reset_SVG notification_2of2 – Source
SOFTWARE\Classes\AppXcc58vyzkbjbs4ky0mxrmxf8278rk9b3tREG_SZ NoOpenWith “”An app default was reset notification_XML_1of2 – Source
SOFTWARE\Classes\AppXcc58vyzkbjbs4ky0mxrmxf8278rk9b3tREG_SZ NoStaticDefaultVerb “”An app default was reset notification_XML_2of2 – Source
SOFTWARE\Classes\AppXqj98qxeaynz6dv4459ayz6bnqxbyaqcsREG_SZ NoOpenWith “”An app default was reset notification_Zune Music_1of2 – Source
SOFTWARE\Classes\AppXqj98qxeaynz6dv4459ayz6bnqxbyaqcsREG_SZ NoStaticDefaultVerb “”An app default was reset notification_Zune Music_2of2 – Source
SOFTWARE\Classes\AppX6eg8h5sxqq90pv53845wmnbewywdqq5hREG_SZ NoOpenWith “”An app default was reset notification_Zune Video_1of2 – Source
SOFTWARE\Classes\AppX6eg8h5sxqq90pv53845wmnbewywdqq5hREG_SZ NoStaticDefaultVerb “”An app default was reset notification_Zune Video_2of2 – Source

|—-Windows – Time & Date

HivePathTypeNameValueDescription
HKCU Control Panel\International REG_SZ sShortTime HH:mm Sets the short time format to HH:mm
Control Panel\International REG_SZ sTime : Sets the time seperator to : – server 2016 showed . as default
Control Panel\International REG_SZ sTimeformat HH:mm:ss Sets the time format to HH:mm:ss
Control Panel\International REG_SZ sShortDate dd.MM.yyyy Sets the date format to dd.MM.yyyy

|—-Windows – Personalization

HivePathTypeNameValueDescription
HKCUSoftware\Microsoft\Windows\DWM REG_DWORD ColorPrevalence 1 Enable Border and title bar coloring (1809+)
Source
Software\Microsoft\Windows\DWM REG_DWORD AccentColor d3d3d3 Sets Title And Border Color (1809+)
Source
Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced REG_DWORD JumpListItems_Maximum 30 Increase number of items available on pinned items on taskbar icons.
Source
Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced REG_DWORD ShowTaskViewButton 0 Removes taskView button on taskbar
Software\Microsoft\Windows\CurrentVersion\Search REG_DWORD SearchboxTaskbarMode 0 Removes search button on taskbar
Software\Policies\Microsoft\Windows\Explorer REG_DWORD ExplorerRibbonStartsMinimized 1 Always open new File Explorer windows with the ribbon minimized.
Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced REG_DWORD LaunchTo 1 Sets explorer to open in this computer, not the default quick access view
Software\Microsoft\ServerManager REG_DWORD DoNotOpenServerManagerAtLogon 1 Dont show server manager at logon

|—-Windows – Privacy

HivePathTypeNameValueDescription
HKCUSoftware\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphoneREG_SZValueOn
Off
On= enable access to microphone for applications
Off= disable access to microphone for applications
Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcamREG_SZValueOn
Off
On= enable access to webcam for applications
Off= disable access to webcam for applications

Applications

|—-Adobe Reader

HivePathTypeNameValueDescription
HKCUSoftware\Adobe\Acrobat Reader\DC\OriginalsREG_DWORD bAntialiasGraphics1Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\OriginalsREG_DWORD bAntialiasImages1 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\OriginalsREG_DWORD bAntialiasText1 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\OriginalsREG_DWORD benableDDR0 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\OriginalsREG_DWORD bUseLocalFonts1 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\OriginalsREG_DWORD iAntialiasThreshold0 Adobe website for reference – Source
Software\Adobe\CommonFiles\Usage\Reader DCREG_DWORD OptIn0 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\UsageMeasurementREG_DWORD bHeadlightsNoticeShown1 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\AVGeneralREG_DWORD bHideUnreadMsgAtLaunch1 Adobe website for reference – Source
Software\Adobe\Acrobat Reader\DC\AVDisplayREG_DWORD bUse2DGPUf0 Adobe website for reference – Source
HKLMSOFTWARE\Wow6432Node\Adobe\Acrobat Reader\DC\InstallerREG_DWORDDisableMaintenance1 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDownREG_DWORDbUpdater0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown REG_DWORDbShowEbookMenu0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown REG_DWORDbPurchaseAcro0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown REG_DWORDbUsageMeasurement0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown REG_DWORDbFindMoreCustomizationsOnline0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown REG_DWORDbAcroSuppressUpsell1 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cServicesREG_DWORDbUpdater0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cServicesREG_DWORDbToggleAdobeDocumentServices0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cServicesREG_DWORDbToggleWebConnectors0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cServicesREG_DWORDbTogglePrefsSync0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cServicesREG_DWORDbToggleAdobeSign0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cIPMREG_DWORDbDontShowMsgWhenViewingDoc0 Adobe website for reference – Source
SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cIPMREG_DWORDbShowMsgAtLaunch0 Adobe website for reference – Source

|—-Citrix Files / Sharefile

HivePathTypeNameValueDescription
HKCUSoftware\Policies\Citrix\Citrix FilesREG_SZAccountyoursubdomain.sharefile.eu/comTo set the account for Citrix Files client
Software\Policies\Citrix\Citrix FilesREG_DWORDEnableApplication0 or 1Disable /Enable Citrix Files agent for current user
Software\Policies\Citrix\Citrix FilesREG_SZ MountPoint1-DisplayNamePersonalSet the display name for the mapped drive on the user end – repeat for more folders in sequence, just increase the number
Software\Policies\Citrix\Citrix FilesREG_SZ MountPoint1-LocalH:\Set the drive letter to use on the user end – repeat for more folders in sequence, just increase the number
Software\Policies\Citrix\Citrix FilesREG_SZ MountPoint1-ShareFile%personal%Set the folder in sharefile to be mapped to the above – repeat for more folders in sequence, just increase the number
Software\Citrix\Citrix FilesREG_SZWorkspaceSsoLoginFalseDissable Citrix files trying to use the Workspace/receiver for SSO
Software\Citrix\ShareFile\SSOREG_SZApiCPsf-api.euTo set your region for sharefile API control plane (EU or COM) Source
Software\Citrix\ShareFile\SSO REG_SZ AppCPsharefile.euTo set your region for sharefile control plane (EU or COM) Source
Software\Citrix\ShareFile\SSO REG_SZ Subdomainyoursubdomain for Sharefile /FilesTo set your subdomain for the client Source
Software\Citrix\ShareFile\SSO REG_DWORD SuppressWorkspaceSSO1Disable Outlook Plugin using Workspace app for SSO. Source
Software\Citrix\ShareFile\SSO REG_DWORD UserConfigurable0Disable setup wizard Source
Software\Citrix\ShareFile\SSO REG_SZMethodsaml-integratedSet SSO to use SAML Integrated for SSO Source
Software\Microsoft\Windows\CurrentVersion\RunREG_SZCitrixFiles“C:\Program Files\Citrix\Citrix Files\CitrixFiles.exe” –autostartSet the Citrix Files agent to autorun at logon on the user level. Remember to remove the default value for this under HKLM first.

|—-Visma

HivePathTypeNameValueDescription
HKCUSoftware\Rubicon\Visma Lønn-Profiles\ApplicationREG_SZServerComputer“YourServerName”To set the server to connect to for VISMA Lønn
Software\Rubicon\Global-Profiles\ApplicationREG_SZ ServerComputer “YourServerName” To set the server to connect to for VISMA Global
Software\Finale\AarsoppgjoerREG_SZ TempKatalog“YourWantedPath”Setting Workfolder for Visma Finale Årsoppgjør. Source
Software\Finale\KonsolidREG_SZ TempKatalog “YourWantedPath” Setting Workfolder for Visma Finale Konsolidering. Source
Software\Finale\DMiddelREG_SZ TempKatalog “YourWantedPath” Setting Workfolder for Visma Finale Driftsmidler. Source

|—-Datalex

HivePathTypeNameValueDescription
HKCUSoftware\Datalex Software AS\DatalexREG_SZRememberloginTrueSet Datalex client to remember login info
Software\Datalex Software AS\DatalexREG_SZ DatalexServerPort10001Set Datalex client port number – adapt to your
Software\Datalex Software AS\DatalexREG_SZDatalexServerIphttp://servernameSet Datalex server
Software\Datalex Software AS\Datalex9REG_SZ RememberloginTrueSet Datalex 9 client to remember login info
Software\Datalex Software AS\Datalex9REG_SZ DatalexServerPort10001Set Datalex client port number – adapt to your
Software\Datalex Software AS\Datalex9REG_SZ DatalexServerIp http://servername Set Datalex server

|—-Internet Explorer

HivePathTypeNameValueDescription
HKCUSoftware\Microsoft\Internet Explorer\MainREG_SZStart Pagehttps://your.page.urlSet Internet Explorer start page pr user
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\url.domain\*REG_DWORDhttps
http
2Internet Explorer Site to Zone assignment – 2 adds to trusted sites.
In this case “*.url.domain”
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\url.domain\somethingREG_DWORDhttps
http
1 Internet Explorer Site to Zone assignment – 1 adds to local intranet
In this case “something.url.domain”
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\O:REG_DWORDfile1Adds the drive letter O: to local intranet (useful across trusts to avoid notification about path)

|—-Office 365 / Office

HivePathTypeNameValueDescription
HKCUSOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscoverREG_DWORDexcludehttpsrootdomain1Outlook autodiscover issues in office 2016.
Source1
Source2
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3REG_DWORD1A101Cookie error when trying to activate Office. Source
Software\Microsoft\Office\16.0\FirstRunREG_DWORDBootedRTM1Disable First Run video. (16.0 = 2016, 15.0=2013) Source
Software\Microsoft\Office\16.0\Common\GeneralREG_DWORDShownFirstRunOptin1Disable first run user opt-in Source
Software\Microsoft\Office\16.0\Registration REG_DWORD AcceptAllEulas 1Accept EULA Source
Software\Policies\Microsoft\Office\16.0\Registration REG_DWORD AcceptAllEulas 1Accept EULA Source
SOFTWARE\Microsoft\Office\16.0\Common\IdentityREG_DWORD DisableADALatopWAMOverride1Office 365 is Randomly Asking Users to Reactivate Source
SOFTWARE\Microsoft\Office\16.0\Common\IdentityREG_DWORDEnableADAL1Enable Modern Authentication – 0 for disable
SOFTWARE\Microsoft\Office\16.0\Common\Identity REG_DWORD Version1Enable Modern Authentication – 0 for disable
SOFTWARE\policies\microsoft\office\16.0\common\generalREG_DWORDdisablehyperlinkstowebtemplates1Disable online templates in office
Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\LayersREG_SZC:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE~ WIN7RTMOutlook EmailNotificationsPopup – Win7 style notification
Software\Microsoft\Office\16.0\Outlook\SearchREG_DWORDSearchResultsCap0RemoveLimitSearchResultsToSpeedSearch Source
SOFTWARE\Microsoft\OneDriveREG_DWORDEnableADAL1 Enable Modern Authentication for OneDrive – 0 for disable
Software\Microsoft\Office\16.0\Outlook\Options\MailREG_DWORDSend Mail Immediately1Don’t wait for sending email. Source
Software\Policies\Microsoft\Office\16.0\Outlook\SecurityREG_DWORDPromptSimpleMAPISend2Outlook programmatic security settings – 2 is autoapprove – Source
Software\Policies\Microsoft\Office\16.0\Outlook\SecurityREG_DWORD PromptSimpleMAPINameResolve2Outlook programmatic security settings – 2 is autoapprove – Source
Software\Policies\Microsoft\Office\16.0\Outlook\SecurityREG_DWORD PromptSimpleMAPIOpenMessage2Outlook programmatic security settings – 2 is autoapprove – Source
Software\Microsoft\CommunicatorREG_DWORDAutoOpenMainWindowsWhenStartup0Disable Skype windows to open automatically at logon
Software\Microsoft\Communicator REG_DWORDAutoRunWhenLoginToWindows0Disable run Skype at login
Software\Microsoft\CommunicatorREG_DWORDTourPlayed1Disable First run Tour

|—-Google Chrome

HivePathTypeNameValueDescription
HKCUSoftware\Policies\Google\Chrome REG_DWORDAudioSandboxEnabled0Disable audio sandbox – User level – Source
HKLMSoftware\Policies\Google\Chrome REG_DWORDAudioSandboxEnabled0Disable audio sandbox – Machine level – Source

|—-Microsoft Edge Chromium
PS: The location below is to set the settings, but let the users override if wanted.
To enforce the settings, put them directly in the \Edge\ key – and not under the \Edge\Recommended\ key.

HivePathTypeNameValueDescription
HKCUSOFTWARE\Policies\Microsoft\Edge\RecommendedREG_DWORDHomepageIsNewTabPage0 Off
1 On
Set the new tab page to be the home page – overrides/ignores the homepage url if configured
REG_DWORD ShowHomeButton 0 Off
1 On
Show the home button
REG_DWORD RestoreOnStartup1
4
5
1=Open new tab
4=Restore last session
5=Open a list of URLs (RestoreOnStartupUrls)
REG_DWORDNewTabPageSetFeedType0
1
0=MS News feed
1=O365 Feed
REG_SZHomepageLocationURLSet the homepage url
REG_SZNewTabPageLocationURLSet the url to use for the new tab page
REG_DWORDSmartScreenEnabled0 Off
1 On
Enable/disable Defender SmartScreen
REG_DWORDSmartScreenForTrustedDownloadsEnabled0 Off
1 On
Enable/disable smartscreen check on download (default on)
REG_DWORDSmartScreenPuaEnabled0 Off
1 On
Turn on blocking for potentially unwanted apps in Microsoft Defender SmartScreen.
REG_DWORDPrintHeaderFooter0 Off
1 On
Force ‘headers and footers’ to be on or off in the printing dialog.
REG_DWORDPrintPreviewUseSystemDefaultPrinter0 Off
1 On
Tells Microsoft Edge to use the system default printer as the default choice in Print Preview instead of the most recently used printer
REG_DWORDPasswordManagerEnabled0 Off
1 On
Enable/Disable Microsoft Edge to save user password
REG_DWORDTranslateEnabled0 Off
1 On
Enable/disable Tranlate
REG_DWORDSyncDisabled0 Off
1 On
Disables data synchronization in Microsoft Edge. This policy also prevents the sync consent prompt from appearing.
REG_DWORD SearchSuggestEnabled0 Off
1 On
Enables web search suggestions in Microsoft Edge’s Address Bar and Auto-Suggest List and prevents users from changing this policy
REG_DWORDResolveNavigationErrorsUseWebService0 Off
1 On
Allow Microsoft Edge to issue a dataless connection to a web service to probe networks for connectivity in cases like hotel and airport Wi-Fi.
If you enable this policy, a web service is used for network connectivity tests
REG_DWORDNetworkPredictionOptions0
1
2
0=Predict network actions on any network connection
1= Predict network actions on any network connection that is not cellular
2=Don’t predict network actions on any network connection
REG_DWORDFavoritesBarEnabled0 Off
1 On
Enables or disables the favorites bar.
REG_DWORDClearBrowsingDataOnExit0 Off
1 On
If you enable this policy, all browsing data is deleted each time Microsoft Edge closes
REG_DWORDBackgroundModeEnabled0 Off
1 On
If you enable/Disable, background mode
REG_SZApplicationLocaleValueen
no
etc
uses the specified locale. If the configured locale isn’t supported, ‘en-US’ is used instead.
REG_DWORDAlternateErrorPagesEnabled0 Off
1 On
If you enable this policy, a web service is used to generate url and search suggestions for network errors
REG_DWORDAutofillAddressEnabled0 Off
1 On
Enables the AutoFill feature and allows users to auto-complete address information in web forms using previously stored information
REG_DWORDAutofillCreditCardEnabled0 Off
1 On
Enables Microsoft Edge’s AutoFill feature and lets users auto complete credit card information in web forms using previously stored information
REG_DWORDBlockThirdPartyCookies0 Off
1 On
Block web page elements that aren’t from the domain that’s in the address bar from setting cookies
REG_SZDownloadDirectoryPathConfigures the directory to use when downloading files.
REG_DWORDDownloadRestrictions0
1
2
3
0= No special restrictions
1=Block dangerous downloads
Block potentially dangerous downloads
3=Block all downloads
REG_DWORDImportAutofillFormData0 Off
1 On
Allows users to import autofill form data from another browser into Microsoft Edge
REG_DWORDImportBrowserSettings0 Off
1 On
Allows users to import browser settings from another browser into Microsoft Edge
REG_DWORDImportFavorites0 Off
1 On
Allows users to import favorites from another browser into Microsoft Edge.
REG_DWORDImportHistory0 Off
1 On
Allows users to import their browsing history from another browser into Microsoft Edge
REG_DWORDImportOpenTabs0 Off
1 On
Allows users to import open and pinned tabs from another browser into Microsoft Edge.
REG_DWORDImportPaymentInfo0 Off
1 On
Allows users to import payment info from another browser into Microsoft Edge.
REG_DWORDImportSavedPasswords0 Off
1 On
Allows users to import saved passwords from another browser into Microsoft Edge.
REG_DWORDImportSearchEngine0 Off
1 On
Allows users to import search engine settings from another browser into Microsoft Edge.
HKCU SOFTWARE\Policies\Microsoft\Edge\Recommended\RestoreOnStartupURLsREG_SZ1URLSet the url(s) to open on startup. add numbers pr wanted url
HKCUSOFTWARE\Policies\Microsoft\EdgeREG_DWORDEnableMediaRouter0 Off
1 On
Disable this policy to disable Google Cast.
REG_DWORDDefaultCookiesSetting1
2
4
1 = Let all sites create cookies
2 = Don’t let any site create cookies
4 = Keep cookies for the duration of the session
REG_DWORDDefaultPluginsSetting2
3
2 = Block the Adobe Flash plug-in
3 = Click to play
REG_DWORDDefaultGeolocationSetting1
2
3
1 = Allow sites to track users’ physical location
2 = Don’t allow any site to track users’ physical location
3 = Ask whenever a site wants to track users’ physical location
REG_DWORDDefaultPopupsSetting1
2
1 = Allow all sites to show pop-ups
2 = Don’t allow any site to show pop-up windows
REG_DWORDDefaultJavaScriptSetting1
2
1 = Allow all sites to run JavaScript
2 = Don’t allow any site to run JavaScript
REG_DWORDDefaultNotificationsSetting1
2
3
1 = Allow sites to show desktop notifications
2 = Don’t allow any site to show desktop notifications
3 = Ask every time a site wants to show desktop notifications
REG_DWORDPasswordProtectionWarningTrigger0
1
Allows you to control when to trigger password protection warning. Password protection alerts users when they reuse their protected password on potentially suspicious sites
0 = Password protection warning is off.
1 = Password protection warning is triggered by password reuse.
REG_DWORDPasswordManagerEnabled0 Off
1 On
If you enable this policy, users can save their passwords in Microsoft Edge. The next time they visit the site, Microsoft Edge will enter the password automatically.
REG_DWORDPrintingEnabled0 Off
1 On
Enables/disables printing in Microsoft Edge and prevents users from changing this setting.
REG_DWORDUseSystemPrintDialog0 Off
1 On
Shows the system print dialog instead of print preview.
REG_DWORDPrintPreviewUseSystemDefaultPrinter0 Off
1 On
Tells Microsoft Edge to use the system default printer as the default choice in Print Preview instead of the most recently used printer.
REG_DWORDPreventSmartScreenPromptOverride0 Off
1 On
Lets you decide whether users can override the Microsoft Defender SmartScreen warnings about potentially malicious websites.
REG_DWORDPreventSmartScreenPromptOverrideForFiles0 Off
1 On
lets you determine whether users can override Microsoft Defender SmartScreen warnings about unverified downloads.
REG_DWORDHardwareAccelerationModeEnabled0 Off
1 On
Enable /disable hardware acceleration
HKCUSOFTWARE\Policies\Microsoft\Edge\PopupsAllowedForUrlsREG_SZ1
2
URL(s) Define a list of sites, based on URL patterns, that can open pop-up windows
SOFTWARE\Policies\Microsoft\Edge\PluginsAllowedForUrls REG_SZ1
2
URL(s) Define a list of sites, based on URL patterns, that can run the Adobe Flash plug-in.
SOFTWARE\Policies\Microsoft\Edge\NotificationsAllowedForUrlsREG_SZ1
2
URL(s)Define a list of sites, based on URL patterns, that can display notifications.
SOFTWARE\Policies\Microsoft\Edge\JavaScriptAllowedForUrlsREG_SZ1
2
URL(s)Define a list of sites, based on URL patterns, that are allowed to run JavaScript.
HKLMREG_DWORDAutoUpdateCheckPeriodMinutes0 or
nr of miunutes
value for the minimum number of minutes between automatic update checks. If you want to disable all auto-update checks, set the value to 0
For Citrix client endpoint to remove the prompt about receiver/workspace
HKCUSOFTWARE\Policies\Microsoft\Edge\URLAllowlistREG_SZ1workspace://*Removes the trying to open prompt and .ica file open prompt for Citrix Workspace
SOFTWARE\Policies\Microsoft\Edge\URLAllowlistREG_SZ2receiver://*Removes the trying to open prompt and .ica file open prompt for Citrix Receiver
HKCUSoftware\Policies\Microsoft\EdgeREG_DWORDAudioSandboxEnabled0Disable audio sandbox – User level – Source
HKLMSoftware\Policies\Microsoft\EdgeREG_DWORDAudioSandboxEnabled0Disable audio sandbox – Machine level – Source

Citrix / RDS

|—-Logon optimization

HivePathTypeNameValueDescription
HKCUSOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SerializeREG_DWORDStartupDelayInMSec0DisableStartupDelay (after win8/server2012) Source
Software\Microsoft\Windows\CurrentVersion\Group Policy\StateREG_DWORD NextRefreshReason0EnableAsyncProcessing-Part1 – Run first time user logon to get Async benefits. Source
Software\Microsoft\Windows\CurrentVersion\Group Policy\StateREG_DWORD NextRefreshMode2EnableAsyncProcessing-Part2 – Run first time user logon to get Async benefits. Source

|—-Citrix Receiver / Workspace App

HivePathTypeNameValueDescription
HKCUSoftware\Citrix\ReceiverREG_DWORDEnableFTU0Prevent add account pop-up after installation
SOFTWARE\Citrix\ICA Client\Keyboard Mapping\TipsREG_DWORDIn full screen mode1Prevent the info message about “shift+F2” when exiting fullscreen session,
the popup may create session hang
System\GameConfigStoreREG_DWORDGameDVR_Enabled0Disable the “GameBar” when launching apps. Source
SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\LayersREG_SZC:\Program Files (x86)\Citrix\ICA Client\wfica32.exe~ HIGHDPIAWAREDisable DPI Scaling for Receiver – Per user
SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers REG_SZC:\Program Files (x86)\Citrix\ICA Client\CDViewer.exe~ HIGHDPIAWAREDisable DPI Scaling for Receiver – Per user
HKLM SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\LayersREG_SZC:\Program Files (x86)\Citrix\ICA Client\wfica32.exe~ HIGHDPIAWAREDisable DPI Scaling for Receiver – Per machine
SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers REG_SZC:\Program Files (x86)\Citrix\ICA Client\CDViewer.exe~ HIGHDPIAWAREDisable DPI Scaling for Receiver – Per machine
SOFTWARE\Policies\Microsoft\Windows\GameDVR REG_DWORD AllowGameDVR0 Disable the “GameBar” when launching apps. Source
SOFTWARE\Policies\CitrixREG_DWORDEnableFTU0Prevent add account pop-up after installation
SOFTWARE\Wow6432Node\Citrix\ICA ClientREG_DWORDNotificationDelay10Delay before opening the “launching” box
SOFTWARE\Wow6432Node\Citrix\ICA ClientREG_DWORDForegroundProgressBar1Ensure the “launching” box appears in foreground
SOFTWARE\Wow6432Node\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\KeyboardREG_SZTransparentKeyPassthroughFullScreenOnlyTo prevent windows hotkeys in sessions other then fullscreen ICA
SOFTWARE\Wow6432Node\Citrix\InventoryREG_DWORDBeaconProxyEnabled0To prevent beacon probing from using proxy. Source
SYSTEM\CurrentControlSet\Control\NetworkProvider\ProviderOrderREG_DWORDPnSson00000fa0To add SSO to network provider order. Source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZ WSCReconnectMode1Set Receiver reconnect mode, 1 is “on application launch”
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZ DisablePoll Source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZ RefreshMs86400000How often to background refresh apps in receiver. (24Hour) Source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZStartMenuDir“Citrix”Directory on startmenu for Citrix application shortcuts
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZUseDifferentPathsforStartmenuAndDesktopTrue/False Use different shortcut paths for desktop and startmenu
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZUseCategoryAsStartMenuPathTrue/False Use category defined in studio as path on startmenu
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZUseCategoryAsDesktopPathTrue/False Use category defined in studio as path on Desktop
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZRemoveAppsOnLogOffTrue/False Removes Citrix shortcust on receiver logoff
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZRemoveAppsOnExitTrue/False Removes Citrix shortcust on receiver exit
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZMaxSimultaneousFetches6Speed up icon generation from receiver on endpoint source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZMaxSimultaneousSubscribes6 Speed up icon generation from receiver on endpoint source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZInitialRefreshMaxMs1Source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZInitialRefreshMinMs1Source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZSilentlyUninstallRemovedResources TrueSource
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZDontWarnOfRemovedResourcesTruePrevent popup for user when unpublishing apps. Source
SOFTWARE\Wow6432Node\Citrix\DazzleREG_SZAlwaysUseStubsTrue/False Generate stubs on newer Receivers. Source
Software\Policies\Citrix\ICA Client\SSONREG_SZEnabledTrue/False Enable/Disable receiver SSO (still need to be installed with sso)

|—- Citrix Virtual Apps and Desktops

HivePathTypeNameValueDescription
HKLMSoftware\Citrix\VirtualDesktopAgentREG_DWORDSupportMultipleForest1On VDA to support DDC in another forest
SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWIREG_SZLogoffCheckSysModulesapp1.exe,app2,exe,etcOn VDA, to add applications that prevent clean logoff
SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWIREG_DWORDLogoffCheckerStartupDelayInSeconds10ON VDA, to enable launching explorer published app as first app
SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI]REG_DWORDSeamlessFlags40000ON VDA; Disable language bar
SOFTWARE\Wow6432Node\citrix\HdxMediaStreamForFlash\Server\PseudoServerREG_DWORDIEBrowserMaximumMajorVersion11On VDA, to add support for Flash on IE11+
SOFTWARE\Wow6432Node\citrix\HdxMediaStreamForFlash\Server\PseudoServer REG_DWORDFlashPlayerVersionComparisonMask0On VDA, to add support for Flash on IE11+
SOFTWARE\Wow6432Node\Citrix\ExcelHookREG_DWORDEnabled1ON VDA; show multiple worksheets on taskbar in published app Source
SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-TCPREG_DWORDMaxDisconnectionTime10800000TimeOut for ICA Sessions

|—-Various Tweaks

HivePathTypeNameValueDescription
HKCUSoftware\Microsoft\Windows NT\CurrentVersion\WindowsREG_DWORDLegacyDefaultPrinterMode1Enable legacy printer mode (not the new one in the new settings app) – 0 for disable. Source
Control Panel\DesktopREG_SZHungAppTimeout60000 Specifies how long the system waits for user processes to end after the user clicks the End Task command button in Task Manager. Source
Software\FinePrint Software\pdfFactory6\FinePrinters\pdfFactory Pro\GeneralREG_DWORDAutoSave0Disable AutoSave for PDF Factory



Do you find this useful?

Let us know by leaving a comment and following us on Twitter or Facebook.

Also consider subscribing to this website so you get notification on new posts arrive.
You can subscribe with the subscribe button in the menu on the right side, or you can use this button:

If you wish to share the content to others, feel free to use the buttons below for your simplicity.

Best regards

Dybbugt.no