How to disable "file risk warning prompt" in windows 7? - windows-7

I'm trying to edit a document from an alfresco repository using MS word via the AOS module. Unfortunately I get a warning prompt about this all the time.
The message in the prompt reads to this effect:
Some files can harm the computer. If the file information below looks
suspicious or if you do not fully trust the source, then do not open
the file.
I have so far used inetcpl to configure the trusted sites for the intranet zones and added the domains to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
following the instructions from this site and some others (which all practically allude to the same thing) but so far I have had zero success in disabling the thing.
OS: windows 7
EDCM: Alfresco 5.2 with AOS
Browser: Internet Explorer 11

Your error message is not in English language, So it is difficult for us to understand which actual error you are getting.
If you are trying to open file via IE and getting security warning for opening a file then you can refer steps below to stop it.
(1) Open Internet Explorer.
(2) Go to Tools.
(3) Click on Internet Options.
(4) Select Security tab.
(5) Click button named as 'Custom level'.
(6) Find an option called 'Launching applications and unsafe files(not secure)'.
(7) Enable it.
(8) Restart the Internet Explorer.
Note: It is not recommended to enable this option for a security reason. You can try to make a test with it to check whether it can solve your issue or not.

Related

Error::SessionNotCreatedError: Unexpected error launching Internet Explorer

Unable launch Internet Explorer using my script it gives this error
Selenium::WebDriver::Error::SessionNotCreatedError: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones.
I researched a lot to get work around for this and found few solutions https://stackoverflow.com/a/29453294/1976848, but I am unable to change my IE browser settings, The checkbox to "Enable Protected mode" is disabled for all the zones here
Also, tried to override this with desired capabilities here is the code but not getting any success:
caps = Selenium::WebDriver::Remote::Capabilities.internet_explorer(
:ignoreProtectedModeSettings => true,
:javascriptEnabled => true,
)
Watir::Browser.new :ie, http_client: client,:desired_capabilities => caps
I am using Cucumber with Ruby and Watir and Browser is Internet Explorer 11.
Please suggest some workaround for this.
The issue gets resolved after doing continuous research around it,
Most of the Stackoverflow and Github answers shows to change the settings from Internet Options but those are not working from me due to permission limitation
One of the blog posts from LinkedIn https://www.linkedin.com/pulse/automation-using-internet-explorer-11-pritam-maske. Suggested to modify the registry specific to internet explorer, but that too I am unable to edit due to permission limitations.
Taking the points from registry modification, then I found a way to edit it via PowerShell script and found few solutions to reset the Internet Explorer Preferences from Microsoft power shell script repositories
How to reset all Internet Explorer settings for a different user profile?
With this got 1 step success but main problem remains same i.e. my IE 11 not launched, then searched for to "Enable the Protected Mode for all Zones" and got few post with a good description around it
a. Powershell – IE zones Protected Mode state
b. IE Browser - Powershell script to add a site to trusted sites list, disable protected mode & make all zones security level low
At last, after doing tweaks in the Powershell script it works and my script is working fine for IE browser.

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.

User mycomputer\myloginName does not have required permissions

I am trying to access the report manager url for SSRS. But, I keep on getting the error below -
User mycomputer\myloginName does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.
I tried to run my browser as admin as described here - User '' does not have required permissions, SSRS 2008 on Windows 8
with no success. I also don't see the 'site settings' on top-right corner as mentioned by so many people. Also, I cannot go through the pain of reinstalling SQL server all over again. I don't want to disable UAC.
I am unable to do anything because of this problem.
How do I fix this problem?
This solution is for Internet Explorer. I don't know how it can be done for firefox or chrome.
Link 1 -
http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9b5a8763-84ce-46d0-b011-067ad39223d1/
See the solutions by Chirag Shah. Follow only up to step 13. I could not follow Step 14 because I found no home dialog box.
In the steps Chirag talks about some URL's. I don't really understand the meaning of any of those URL's. So, I used the URL under "Report Manager URL" in "Reporting Services Configuration Manager". It was
http://localhost:8080/MyReportServer.
The 8080 is a port number.
Once you finished this, go to the link below and follow all the steps -
http://www.soheib.com/technical-knowledge/sql-server-2012-reporting-services-uac-user-access-control/
In the 7th step, I saw a lot of check boxes. I selected all of them.
Finally, I can rest in peace. Hope it works for you too.
Also, when making the accounts described in the above link, you might see "BUILTIN\Administrators" account. Ignore it - thats what i did.
**END OF POST**
Steps taken from Chirag Shah's post -
Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
Start Windows Internet Explorer.
On the Tools menu, click Internet Options.
Click Security.
Click Trusted Sites.
Click Sites.
Under Add this Web site to the zone, type http://ServerName. If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
Click Add.
Repeat step 7f and step 7g to add the http localhost URL, and then click Close.
Note This step enables you to start Internet Explorer and open either the localhost or the network computer name of the server for both the Report Server application and the Report Manager application.
Create role assignments that explicitly grant you access together with full permissions. To do this, follow these steps:
Start Internet Explorer together with the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
Open Report Manager. By default, the Report Manager URL is http://ServerName/reports. If you use SQL Server Express with Advanced Services SP2, the Report Manager URL is http://ServerName/reports$sqlexpress. If you use a named instance of Reporting Services, the Report Manager URL is http://ServerName/reports$InstanceName
i was receiving blank page after i was logging exactly 3 times on my report server URL.
i've Turn Off Internet Explorer Enhanced Security. On different OS's it is in different location. find the location and turn it off.
I hope this will help you.

Download file not working on internet explorer 6 (only for certain people)

I am working on an ASP.NET MVC3 webapplication.
I have a button "Download" that downloads a file from the server.
<input type="button" onclick="window.location.href='#Url.Action("DownloadFile", "Home")';" value="Download"/>
In the HomeController I call the Action "DownloadFile" that returns the file
return File(fileToReturn, Path.GetFileName(fileToReturn));
This is working normally on all browsers.
however some people report that the download does not work on Internet Explorer 6.
I installed IE6 and tested the website on it and it was working normally.
So this is my question:
What may have cause the download to not work for certain IE6 but work on others?
First I thought it was a security option in IE. But then I tested on my IE6 for different security option, When I cannot download due to security reason I get a message Your current security settings does not allow this file to be downloaded But they are not getting this (the file just does not download without anything happening)
What may be causing this? I am unable to reproduce it in order to fix it.
Thanks a lot for any help
I had a similar problem once and managed to fix it by following these steps:
In Internet Explorer, click Tools, and then click Internet Options.
Click the Security tab.
There are four security zones listed: Internet, Local intranet, Trusted sites, Restricted sites. Click the zone your website is in (when you navigate to your site, the current zone is displayed in the status bar at the bottom of IE's window).
Under Security level for this zone, click Custom Level.
Under Downloads, under Automatic prompting for file downloads, click Enable, and then click OK two times.
You say you've checked that it isn't browser security settings, but it might be security settings on their network, not just the browser.
If their network firewall is configured to prevent certain types of files from being downloaded, then there may be nothing you can do to get around that, short of changing the file type you're sending. (or talking very nicely to their network operator).
Given the security risks involved in running IE6 these days, I imagine most companies still using IE6 would have pretty paranoid network security settings, so this is quite a likely explanation.

Error while copying from network share "This page has an unspecified potential security flaw."

I recently reinstalled XP and then SP3 and I'm currently getting an error whenever I try and copy something from a network share.
Title: Internet Explorer
Message: This page has an unspecified potential security flaw.
Would you like to continue?
I believe it's related to KB921398 (MS06-045) and I'm currently uninstalling SP3, but does anyone know if there is another way to disable this specific update? It does not appear in Add & Remove Programs.
There's a temporary fix by adding any network ip masks to the trusted intranet zones in Internet Explorer's Security settings, but it's no fix :(
There's a temporary fix by adding any network ip masks to the trusted intranet zones
That's the real fix. The error message occurs when you are trying to copy files out of the Internet Zone. And it is indeed risky if you really are dragging files out of a public-internet network share, so the message isn't really wrong (just vague and misleading).
To avoid the error popping up in your intranet — and because it's the right thing to do anyway — you need to make sure Windows sees the intranet as being in the Local intranet Zone.
Go to Control Panel -> Internet Options-> Security -> Local intranet -> Sites. If “Automatically detect intanet network” is ticked, untick it as obviously the automatic detection isn't working. Turn on the top two; if you're sure that you will never be accessing network shares outside the intranet (eg. because a firewall prevents it), you can tick “Include all network paths”.
If this doesn't work add the folder path as a trusted Local Intranet site.
This is the correct fix, because of the tie in between IE and Windows Explorer. What i have found is a neat trick because all of our servers export their windows shares on a common subnet. add this one line to Intranet Setting "File://192.168.0.*" (change for your correct subnet).

Resources