Miracast connection error after joining ad domain - windows-10

I have a situation where a laptop always ends up have a connection error when trying to establish a screen share using Miracast. Shockingly this phenomenon began right after joining the lenovo laptop to active directory domain. I have attempted to solve the problem by first uninstalling and reinstalling the dual wireless driver.
Secondly Modified Wireless Network Policy Permissions in order resolve the problem by way of going to the Network Permissions tab within the wireless network policy and then in the policy setting Don't allow WiFi Direct groups and unchecking this setting.
Also specifically for WIDI Config Firewall Exception Rules. I went into Windows Firewall Area via Control Panel > System and Security > Windows Firewall > Allow program or feature through firewall . Selected Wireless display and Allowed for Domain, Private and Public. Then click allow another app. Browse and navigated to C:\Windows\System32\WUDFHost.exe and added this rule.
I also checked the policies Computer Configuration > Policies > Windows Settings >Security Settings > Wireless Network (IEEE 802.11) Policies
Double clicked the setting for wireless policies and a dialog box appeared.
Opened the Network Permissions tab and selected Allow everyone to create all user profiles.
Finally opened regedit on laptop and then checked if the following registry entry Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Wireless
with the intention to delete the the XP folder if it existed there but there was no folder like that.
At the end of the day all of the above didn't do the trick. What am i missing here. Any suggestions. Workarounds ?

This question can be ignored. It has been re-posted in the Super user community.
Link here: https://superuser.com/questions/1353896/miracast-connection-error-after-joining-ad-domain

Related

How do I set up IIS to debug classic ASP?

How do I set up IIS to debug classic ASP?
Help Needed Setting up Classic ASP Debugging
According to what I have seen on social media, in order for me to set up my computer for writing and debugging Classic ASP, I need to set up IIS a certain way -- which I did -- and then I have to enable ASP by doing the following:
IIS7 - IIS > ASP > Compilation > Debugging Properties > Enable Server-side Debugging
And I am stuck on this. Please, someone give me an idea of what I need to click on.
The steps to implement your requirements can be found easily from internet. The reason why you can't see "ASP" module in your screenshot is you didn't enable "ASP" feature. Please refer to the steps below:
1. Open your "Control Panel" --> "Programs" --> "Turn Windows feature on or off".
2. Then you can find "ASP" option under "Internet Information Services" --> "World Wide Web Services" --> "Application Development Features" like below screenshot.
3. Just enable "ASP" and then go to your IIS manager, choose the site which you want to edit under "Sites". Then you can find "ASP" module.
Hury Shen posted a very good answer. I might be ready now to have a go at making my first "Hello World" classic ASP program.
The answer provides content that even the online Microsoft Documentation I have read has left off. Namely, it is checking the ASP box.
I clicked on the help button and this lead me to a browser page which explained how to create an ASP page.
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831768(v=ws.11)?redirectedfrom=MSDN
This link offers this help:
and this takes me to a new page
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831387(v=ws.11)
I have accomplished the prerequisite and step 1 on the list. So I go to step 2
Step 2: Add a Classic ASP Website You can perform this procedure by
using the user interface (UI), by running Appcmd.exe commands in a
command-line window, by editing configuration files directly, or by
writing WMI scripts. To add a website by using the UI Open IIS
Manager. For Windows Server 2012, on the Start page click the Server
Manager tile, and then click OK. On the Server Manager Dashboard,
click the Tools menu, and then click Internet Information Services
(IIS) Manager. For Windows 8, on the Start page type Control Panel,
and then click the Control Panel icon in the search results. On the
Control Panel screen, click System and Security, click Administrative
Tools, and then click Internet Information Services (IIS) Manager. In
the Connections pane, right-click the Sites node in the tree, and then
click Add Website. In the Add Website dialog box, type a friendly name
for your website in the Site name box. If you want to select a
different application pool than the one listed in the Application Pool
box, click Select. In the Select Application Pool dialog box, select
an application pool from the Application Pool list and then click OK.
In the Physical path box, type the physical path of the Web site's
folder, or click the browse button (...) to navigate the file system
to find the folder. If the physical path that you entered in step 5 is
to a remote share, click Connect as to specify credentials that have
permission to access the path. If you do not use specific credentials,
select the Application user (pass-through authentication) option in
the Connect As dialog box. Select the protocol for the Web site from
the Type list. The default value in the IP address box is All
Unassigned. If you must specify a static IP address for the Web site,
type the IP address in the IP address box. Type a port number in the
Port text box. Optionally, type a host header name for the Web site in
the Host Header box. If you do not have to make any changes to the
site, and you want the Web site to be immediately available, select
the Start Web site immediately check box. Click OK.
It has been a long time since I have done anything like this. Basically, I assume I am turning my desktop computer into a web server. Am I right? If this is so, do I have to follow through with all the overhead and steps in buying a namespace? I hope not.
I have questions about step 4 : "If you want to select a different application pool than the one listed in the Application Pool box, click Select. In the Select Application Pool dialog box, select an application pool from the Application Pool list and then click OK." As I type out the site name, the field for "Application pool" repeats what I type for the site name. Since I am not creating a new application pool -- or I do not want to -- I click on select and choose the DefaultAppPool .
Since I am only wanting to write test code locally, I connect as an application user.
I did not put in an IP address.
It complained that I was using port 80. So I switched it to port 79 and clicked ok.
So now I think I have an asp website. What do you think?

How to set up IIS 10 for MVC 5?

The title is purposely generic as I have no clue to formulate my question in any different way.
I have made an MVC 5 project using .NET 4.7.
My goal is to use IIS 10 to point to a domain so I can use that as a testing ground.
I have already edited my host-file to point my localhost ip to the domain I have in mind.
After that I have followed every step mentioned in the video below meticulously.
However I keep ending up on the 403.14 error page.
I have adjusted security to no avail, checked the app-pool to use the correct .net version... I'm all out off ideas.
https://www.youtube.com/watch?v=IwbKquNBNgQ
I hope someone here has some idea of things I have not thought of myself, so feel free to ask anything you think might make the change I need to make this work. I will edit this message (and title) as much as needed to keep up to date as possible.
EDIT: I have followed the full guide that I have marked as an answer. I had 3 differences.
Difference 1 was in Windows Features. I think I just plain didn't correctly mark all the needed features..
Difference 2 was in Security. I did not have IIS_IUSRS added, only IUSR
Difference 3 is one I have purposely keep a difference and that is Directory Browsing. Without this being enabled, it works for me.
I hope that if anyone ends up on this page in the future, the answer provided below will be as helpful as it has been to me.
make sure you enabled below iis features:
please follow the below steps to publish your MVC project in iis.
1)open the visual studio. Select your site and right-click on that-> Click publish.
2)in pick up publish target Select folder option and create choose destination where you want to publish the site. (make a new folder and publish a site in that folder) and then select publish.
3)open IIS manager.
4)expand the server name and right-click on sites and select add a new site.
5)enter the site name, physical path, and site binding details.
ip address: select your machine ip address.
port: 80
domain name: your domain name
6)make sure you enabled directory browsing in iis.
7) The application pool is running under application pool identity, a version is correct and using the integrated pipeline.
8)anonymous authentication is enabled.
9)iis_iusrs and iusr have full permission to access the site folder.
host file enry:
bind your machine IP dress with a hostname of the site.
after doing all the changes refresh the site in iis and browse.

Open an Access file without the security warning message [duplicate]

i have a shared access application, i created an accde file for 32-bit machine, when user open the application he/she getting a security warning
is there any way to disable this message from appearing to the users
thank you
You have to set their computer to be a trusted source. In order to get around this issue, you will need to create a Digital Certificate. Digital Certificates are good only on the computer they are created on, so if this database will be used on multiple computers then each one will have to create a Digital Certificate.
To do this, you will need to perform the following tasks:
Click on Start -> All Programs -> Microsoft Office -> Microsoft
Office Tools -> Digital Certificate For VBA Projects (If you don’t
have this, you will need to contact your IT Dept.)
Enter a Certificate Name. Make it obvious like MyProgramName and Click OK
Open the Access database which contains the security warning you want to bypass
Go into the Design View of any Module
Click on Tools -> Digital Signature
Choose your Digital Certificate you created in Step 2
Save and close the database
Re-Open the database. You will now be prompted with a different Security Warning that states the file has been digitally signed.
Check off the “Always trust files from this publisher…” box and click the Open button
All subsequent times you enter this database, you will not be prompted with a security warning.
Note - I wrote the above for our company based on Office 2003. If you're using a more recent version, the instructions may vary somewhat.
other way is following:
click on file and then options
click on trust center and then trust center settings on the right
then click on trusted locations and add new location
browse for the location and save.
that's it.. done.. now no more warnings..
That is a standard warning to indicate the file you are opening has web links and macros.
If you trust the file, just say OK or “Allow”
You can control if this message is displayed: Office button > Excel Options button > Trust Center > Trust Center Settings button (I have no idea why they have this extra button, DUMB DESIGN! )
More Information can be found here
I have an Access database that processes other Access databases. I get OP's error when connecting to one of the other Access databases. To fix the issues, I opened the other Access database and clicked Enabled Content. Then, the Access database is trusted and OP's error doesn't occur when connecting to that Access database from another Access database.
You can create a registry key that will add the directory as a trusted location and will not show the warning anymore. What's nice about this method is that you can easily automate this to happen on the computers where you deploy your app. See method #2 or #3 in this blog: http://www.accessrepairnrecovery.com/blog/fix-microsoft-access-security-notice
And in case the blogs ever gets removed, here is the important bits:
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location20] “Path”=”C:\Database\”
“Description”=”My Database location”
Explanation about the key:
– The number “14.0” is the version of MS Office. You can change the numbers that represent the version you are executing.
– The “Location20” is a unique name that you assign. 20 can be any number that is not previously used. Other programs include default MS Access wizards, already have used other numbers. But if you want to make more than one path as trusted location, then each location must end up with different number.
– The “C:\Database\” is the physical path that you want to set to be as Trusted Location. You can place any path that you choose here.
By copy and pasting the above coding into a text file and save it with a name such as RemoveSecurityWarning.reg, you can then run the file into your PC’s registry just by making double click on the file.
The best way is to add the location of the document or the document itself to the Trusted Locations in Registry (if you use only Access runtime on client machines, there is no way to add it through the Office application, like you would do in Excel).
Here is the answer:
Adding Trusted Location to Access Run Time
You would need to create a new Location key and add the necessary Path (and Description) strings inside with the appropriate location of your file. This way the nag dialog will be gone and you won't need to worry about certificates.
Shared may mean it is located on a network share. It is not advisable to add a network location to the Trusted locations and you would need to set the additional flag AllowNetworkLocations to 1. I would advise you to copy the Access modules to the user computers, which would also make things better with the speed I believe.
If anybody else have this problem, it happened to me, with a shared file on a network environment, and the simplest solution was to install Microsoft Office service pack 2, even better is having automatic updates for Office turned on. You can find it here.

"Error: cs0016 could not write to output file ... access is denied"

How can I fix the following error?
error: cs0016 could not write to output file...c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\sitename\6c57f9d2\bb09b49d\App_global.asax.5odzsyz5.dll' access is denied
After spending hours on this issue myself below is the solution that worked for me on Windows 7 running IIS 7.5:
The application pool identity associated with the site was not a member of the IIS_IUSRS group. To add the app pool identity to the group I used the following steps:
From the start menu select Run… enter lusrmgr.msc and click OK.
Select Groups.
Double click the IIS_IUSRS group.
Click the Add... button.
Click the Locations... button.
Select your computer name (it should be at the top of the list) and click OK.
In the text box below "Enter the object names to select" enter:
iis apppool\<app pool identity> e.g. iis apppool\dev
Click the Check Names button. If a Name Not Found dialog box appears then verify that the app pool identity entered matches the app pool identity associated with the site. If a dialog box did not appear then click OK.
Repeat steps 7 through 8 for each app pool identity you wish to add.
Click OK.
Now the app pool identity is a member of the IIS_IUSRS group which should already have access to the Temporary ASP.NET Files directory. After all that I was still receiving the error and I found (thanks to process monitor) it was because the app pool identity could not write to the windows temp directory. To resolve this I added the IIS_IUSRS group to the windows temp directory with read/write permissions.
From the start menu select Run… enter %windir% and click OK.
Right click on the Temp directory and select Properties.
Click on the Security tab.
Click the Edit... button.
Click the Add.. button.
Click the Locations... button.
Select your computer name (it should be at the top of the list) and click OK.
In the text box below "Enter the object names to select" enter: iis_iusrs
Click the Check Names button. If a Name Not Found dialog box appears then check for typos. If a dialog box did not appear then click OK.
Select the added IIS_IUSRS group and in the Permissions for Everyone box below select:
Allow Read and Allow Write
Click OK. A dialog box will be displayed stating that "You are about to change the
permission settings on system folders, which can result in unexpected access problems
and reduce security. Do you want to continue?"
Click Yes
Click OK
I've fixed this issue setting full control for 'NETWORK SERVICE' to the system temp:
C:\Windows\temp
The error message reported by the web server is a bit misleading.
Hope this helps.
I was struggling with this problem for a while.
Found some solutions on the web that involved setting permissions on the "Temporary ASP.NET Files" directory in the error message. But even opening it up to "Everyone" didn't work.
Then eventually the following steps fixed it:
Go to the IIS AppPool for this site
Right-click the app pool and go to Advanced Settings
Change Identity from "ApplicationPoolIdentity" to "NetworkService"
There may also be some other necessary steps, which I did while troubleshooting, but this is the key step. For some reason the App Pool Identity (such as IIS_APPPOOL\SiteName) isn't granted access when "Everyone" is. I'm sure someone else can shed some light on why this is the case... Hopefully this helps others resolve this frustrating issue.
I had the same problem.
Found an easy way to resolve: Set "Load user profile" to true in app pool's advanced settings.
I found the accepted answer on this post to be correct in process. I tried "NetworkService" and it did not work. However "LocalSystem" did!
For Windows 7 Set Full Control Permissions on folder C:\Windows\Temp for user IIS_IUSRS
Network Service user usually only applies on servers
Go
C:\Windows\Temp
Right Click on Temp Folder > go To Security Click on Edit
Add New User [IIS_IUSRS] AND GIVE IT FULL PERMISSION. Then Press Ok,
Just just need to set permissions for "Temp" folder.
Go to "C:\Windows\Temp"
Right click on it, and go to security.
Set permission for [IIS_IUSRS] user to Full control
Press OK
All done.
I Had tried like give the permissions and change in IIS regarding the identity but I was getting same error.
I just keep the following files underneath the path "C:\Windows\Microsoft.NET\Framework\v4.0.30319" and problem is gone.
give the full control permission to recent folder.
cvtres.exe (XML configuration File)
cvtres (application).
I tried all the options here without any luck.
What worked for me was to simply remove the application pool and recreate it.
No need for extra permissions on any folder.
I have all permissions about writing and reading but I'm starting to get that error.
I can suggest "restart machine"
At least, it works for me

My images ask for a password to the local network (Under ASP/IIS)

Not quite sure how to troubleshoot this. I'm maintaining an ASP site, its mostly static, but there's this one include page which brings the menu.
Just recently I replaced some images, but now when I try the site, I get a prompt for a password as if It were looking for something on the local network!
I checked, all image paths are written up correctly, all images are unblocked (a W2k3 safety feature) and all images are set to allow-all on all users ... yet still, I get a password prompt!
Here's a sample page where it happens: http://www.iossolution.com/company/aboutus.asp (Windows only, it seems)
Thanks.
/mp
mauriciopastrana,
Check that the appropriate user has permission on the files in the windows file system. For W2K3 and IIS6 I think that user is typically NETWORK SERVICE.
Also check that the images directory has the intended authentication setup in IIS. You'll likely want to have the "enable anonymous access" checkbox checked and the "Integrated Windows Auth" box checked. You might also need to make sure that the IUSR_SERVERNAME user has access to the images.
Good luck!

Resources