How do I change what a registry does in Windows (10)? - windows

I have been trying to take a new tab in edge open right to google. I have tried adding a string value called NewTabPageURL and setting the value to www.google.com in numerous locations, but this hasn't worked. In MicrosoftEdge\ServiceUI, I can see the registry that controls what a new tab will be (their 3 options, blank page, feed, feed and your top websites it is called NewTabPageDisplayOption). I have the value set to 1 which will open a new page with top websites. Can I change what the value 1 does to open to google, or add a new value after 2 that can do this?

I suggest you to do not modify the registry settings. If you modify the registry settings incorrectly than it can lead MS Edge to get crashed or not work properly.
It is best practice to apply the settings via group policy. group policy will create/ modify registry keys properly.
If we talk about your requirement than it looks like you want to open Google.com in new tab.
You can refer steps below to achieve your requirement via group policy.
(1) Open Run Window in your Win 10 OS.
(2) Type GPEDIT.MSE in it and press Enter key.
(3) Navigate to location below.
Computer Configuration > Administrative Templates > Windows Components > Microsoft Edge
(4) Find a policy setting called Set New Tab Page URL and double click on it.
(5) Click on Enabled radio button.
(6) Set a new URL for New Tab page like below.
(7) Click on Apply button and close the Window.
Note that this policy is depended upon other policy called Allow Web Content on New Page.
So you also need to find this policy from the similar location and Enabled it. Otherwise your above policy setting will get ignored.
For more information, You can refer the link below.
New Tab page
You also need to check that above settings are not controlled by your administrator/ organization. Due to that reason, This policy settings also get ignored.

Related

How to prevent Figma Agent to be added to Login Items

Every time I launch the native Figma app on macOS (macOS 13 Ventura) I get this notification:
Login Item Added: "FigmaAgent.app" will open automatically when you log in. You can manage this in Login Items Settings.
And following the instructions on the notification I can remove the Login Item as expected, but I will get the notification again next time I launch the app, and the Login Item will be added once more.
I want to remove it and never to be added again.
How can I do that?
Pd: I reached out to Figma support a few times, and they mostly ignored my messages, and when I asked why was I being ignored they gave me a rather unhelpful answer:
Hey there, sorry for the delay & confusion. We didn't reply, because the answer was in your original tweet. Sorry if it wasn't obvious, but in the screenshot, you manage it from Login Items Settings: Apple menu > System Settings, click General in the sidebar, then Login Items.
To be very clear, I don't want to know how to remove FigmaAgent from Login Items, I want to know how to prevent it for being added again.
From https://twitter.com/qdoug/status/1374785043504185351:
This seems to work for removing FigmaAgent:
Force Quit it in Activity Monitor
Remove it in System Preferences -> Users & Groups -> Login Items
Delete ~/Library/Application Support/Figma/FigmaAgent.app
Delete /Applications/Figma.app/Contents/Library/FigmaAgent.app

SonarQube is not saving settings

Using SQ 6.2 I observe a strange behaviour: Whe I modify and save no matter which setting in the administration UI and then reload the page, everything looks reset.
Example: Set "General / Delete all snapshots after" to "5", press "Save" and then press "F5". The field is empty again.
Does SQ store its settings in the database or on the filesystem? May I have wrong access rights then?
We're using an external PostgreSQL database.
Thanks for the input. The problem was caused by some totally different reason:
We had the ReSharper plugin installed, which caused a warning in its settings tab like "path to inspectcode and resharper cannot be used simultaneously".
After uninstallation of ReSharper all was fine again and the UI was behaving as expected and displaying all settings' values.
If you define a setting in sonar.properties, its value will not be rendered in the settings web page - and you are not able to change it there.
Have a look at Administration / System / System info to see the properties currently in effect.
To change the value of Delete all snapshots after:
Either change sonar.dbcleaner.weeksBeforeDeletingAllSnapshots in your sonar.properties
Or remove sonar.dbcleaner.weeksBeforeDeletingAllSnapshots from your sonar.properties and set the value in the web user interface (its value will be stored in the database, in this case)

Disable Firefox auto update requests

Hope I'm writing that in the relevant platform..
I'm working on a script that analyzing requests while browsing sites with Firefox.
I always see requests to aus4.mozilla.org, even after I changed the "Auto-Update" option in the browser to 'Disable' mode.
Does anybody faced with this problem before? How can I turn it off?
Here is how you can turn off Auto Updates on Firefox from Windows:
Run Regedit in windows (Must have admin right)
Expand HKEY_LOCAL_MACHINE > SOFTWARE > Policies
If the 2 folders Mozilla and Firefox don't exist under 'Policies'. Create them as per the following:
-Right click on "Policies" folder, Select New > Key then enter "Mozilla"
-Right click on "Mozilla" folder, Select New > Key then enter "Firefox"
-Right click on "Firefox" folder, Select New > DWORD (32 bit) value then enter "DisableAppUpdate"
-Double-click on "DisableAppUpdate" to modify Value data to 1 (hexadecimal). This will stop mozilla from downloading and updating Firefox;
It will show "Updates disabled by your system administrator"
To allow Firefox to update again; Modify the Value Data to 0 .
Weird, the option should work.
Double check that the app.update.auto and app.update.enabled configuration options are set to false (you can do that from about:config).
I would suggest using a better method to automate Firefox, for example Selenium. There are bindings for many programming languages, e.g. for Node.js.
Nowadays (65.0.2) disabling updates is relatively complicated. Here's the Windows solution:
In the firefox.exe directory, create one named distribution.
Inside distribution, place a filed named policies.json containing the following:
{
"policies": {
"DisableAppUpdate": true
}
}
Sources:
https://support.mozilla.org/en-US/questions/1232918
https://github.com/mozilla/policy-templates/blob/master/README.md

VS Express 2013 for Web - Browser is security restricted or JavaScript is disabled

I initially installed the Microsoft Visual Studio Express 2013 for Web on my desktop. My desktop runs Windows 8.1 with internet explorer 11. It ran fine until the license expired after the first 30 days. I tried to sign in to renew the license, however after clicking the 'sign in' button I get an error dialog. The dialog states 'Browser is security restricted or javaScript is disabled. I have no other option but to close and exit Visual Studio.
I went to the online forums for Microsoft. There were discussions and suggestions on how to fix the error. I tried lowering the settings for the security tab in internet explorer. I have validated the option for scripting is enabled. I have also added https://*.visualstudio.com to the trusted sites tab. Other users on the forum have tried the same suggestions and have not succeeded in signing into the visual studio application.
I had exactly the same problem, here is what I did:
a) Go in IE, click on settings wheel then Internet Options and Security tab.
b) Click on Custom level button (make sure you select Internet zone).
c) In Security Settings window, under Scripting I set Enabled for Active scripting.
After that Sign In should work. Even though Chrome is default browser, it seems that VS uses IE for sign in process.
Hope this helps!
There is another issue people are running into that is a bug with the login dialog. The login dialog is using a Web Browser control to login the user. By default it loads up "about:blank" as the URI. It then proceeds to try to execute some JavaScript (just ";") to verify it has permissions to do so. On some machines this is problematic because "about:blank" has been mapped to zone 0, or the Local Machine zone. When the JavaScript is executed MSHTML will check the zone of the URI and then the policy for executing scripts. By default the Local Machine zone is locked down, and all script executions result in a Query policy. What this means is if you're running in immersion mode (aka in Internet Explorer) you will get a message box asking if you want to execute the script. However, the Web Browser control used by VS 2013's "Sign In" dialog doesn't run MSHTML code in immersion mode, so the Query policy effectively equates to a Disallow policy. The bug here is someone in VS assumed "about:blank" resolves to the Internet zone, and when it resolves to the Local Computer zone you get this behavior.
The workaround is to remove "about:blank" zone mapping. Point regedit to this key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains]
Remove the "blank" key.
Alternatively you can change the Local Machine Lockdown policy for executing scripts. The reg key for that is:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\0]
Set the "1400" DWORD value to 0.
There are many sites you need to list in your Trusted Sites. Following the trace of what the stupid, stupid login script does:
https://.visualstudio.com
https://app.vssps.visualstudio.com
https://.accesscontrol.windows.net
https://auth.gfx.ms
https://login.live.com
Only then was I able to log on to my FREE software.
Hi this is Albert from Microsoft. Just want to let you all know that this issue has been fixed in the upcoming Update 2 for Visual Studio 2013. Thanks for your patience while we figured this one out :)
Same problem "Browser is security restricted or JavaScript is disabled" here but the solution from #jic didn't work for me..
If you can and it is convenient for you this is a solution which worked for me:
I have created a new user/profile on my PC and for this user it was just working fine.
Before this action I have tried to make an user account which had this problem as:
Power user - didn't work
Administrator - didn't work as well
So the last solution in my case was a brand new user on the PC..
Here's what worked for me.
Open Control Panel, Internet Options.
First, I clicked the Security tab and turned security the security for the Internet zone to its minimum.
Next, click the Privacy tab, then click Advanced. Choose "Accept" for both types of cookies.
Of course you can change these all back after extending your VS trial.
you must change secure settings of iexplore for admin account. If logon by other account, you must start iexplore under admin account or logon under admin account, because you will get license after admin account.
Click on Start --> Run --> type cmd and click on OK.
Command Prompt will be opened. Then enter this command.
ipconfig /flushdns
and press Enter.
Now try to access https://app.vssps.visualstudio.com/Profile/View
It worked for me...
As I can not add a comment yet to the answer of CBGraham, I've to add this note over here:
The solution described from CBGraham worked for me (Thanks Graham). I had to add an additional link:
https://account.live.com
Then I opened the IE and tried to login to a Microsoft site. I left the IE window open and just clicked once again on the VS to login. Then it worked for me. Even with strong restrictions on the IE settings. While I'm surprised why someone should set down his security settings, just to register VS.

proxy pac file in windows 7/ie10

I have set the proxy file as shown below:
function FindProxyForURL(url, host) {
return "PROXY 10.10.10.10:8080";
}
Nothing exists at 10.10.10.10. In IE10/Windows 7 x64, I have disabled "Automatically Detect Settings" and "use Proxy Server for your LAN" under Lan Settings in IE.
The browser is just disregarding the PAC file and going to the websites direct, as they are being loaded in the browser.
Things I have tried with unsuccessful results:
1. Checked Proxy file path by directly putting it in browser URL field. It is downloadable through browser.
2. Double slash in the file path for pac file
3. Moving the pac file in different locations
4. Google Chorme with double slashes
Anything I am missing here?
Thanks,
John
Please refer this page
http://kb.k12usa.com/Knowledgebase/Proxy-Auto-Detect-WPAD-Issues-With-IE-Windows-7
Windows 7 added a feature when using Proxy Auto Detect (WPAD) with Internet Explorer, where if the computer fails to detect the proxy settings once, it will not try again. This is a problem if you then later configure your network to support Proxy Auto Detect. This article explains how to disable this new feature, and allow WPAD to work correctly.
To prevent Windows from tracking which network support WPAD, you need to make a simple registry change:
Click the Start button, and in the search field, type in "regedit", then select "regedit.exe" from the list of results
Navigate through the tree to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Wpad"
Once you have the "Wpad" folder selected, right click in the right pane, and click on "New -> DWORD (32-Bit Value)"
Name this new value "WpadOverride"
Double click the new "WpadOverride" value to edit it
In the "Value data" field, replace the "0" with a "1", then click "OK"
Reboot the computer

Resources