how to remove prompts from "Another computer" dialog box - hyper-v

How to remove prompts from below prompt, is there some reg key?
screenshot from hyper-v
I tried to google the "issue", and find aiahyperv08 in registry.

Related

SSH Passphrase Dialog Drops to Terminal Passphrase Entry when Canceled

We're using sshfs to mount a remote directory for a UI program. To kick things off, we launch a system process to set up the mount using sshfs terminal commands. This works well: a dialog pops up asking the user for their passphrase, the mount is created, and all is well.
However, the program is hanging if the user selects "Cancel" in the dialog. Doing this operation through the terminal reveals that when the user cancels the dialog, ssh(fs) drops back to the terminal and prompts for a passphrase entry there. This is invisible to our system call, of course, which is why things hang.
How can I tell ssh(fs) that cancel means cancel? When the UI dialog goes away, I want the command line to simply return.

XAMPP installation on Win 8.1 with UAC Warning

I am trying to install Xampp win32-1.8.2 on Windows 8.1. I get a message saying" Because an activated user account User Account on your system some functions of XAMPP are possibly restricted." I've tried to change the user account control settings but still the warning is there. And the APACHE does not start. I've also disabled my IIS but still, its not working. What should I do? Thanks.
There are two things you need to check:
Ensure that your user account has administrator privilege.
Disable UAC (User Account Control) as it restricts certain administrative function needed to run a web server.
To ensure that your user account has administrator privilege, run lusrmgr.msc from the Windows Start > Run menu to bring up the Local Users and Groups Windows. Double-click on your user account that appears under Users, and verifies that it is a member of Administrators.
To disable UAC (as an administrator), from Control Panel:
Type UAC in the search field in the upper right corner.
Click Change User Account Control settings in the search results.
Drag the slider down to Never notifyand click OK.
open up the User Accounts window from Control Panel. Click on the Turn User Account Control on or off option, and un-check the checkbox.
Alternately, if you don't want to disable UAC, you will have to install XAMPP in a different folder, outside of C:\Program Files (x86), such as C:\xampp.
You can solve the issue by
Ignore the warning and Install XAMPP directly under C:/ folder. It will solve your issue
You can deactivate the UAC which i don't recommend. It's makes your PC less secure.
As ivan.sim writes in his answer
Ensure that your user account has administrator privilege.
Disable UAC(User Account Control) as it restricts certain administrative function needed to run a web server.
Install in C://xampp.
Problem with the correct answer is in the explanation of point 2., and magicandre1981 writes more about it
Moving the slider down doesn't completely disable UAC since Windows 8.
This is changed compared to Windows 7, because the new Store apps
require an active UAC. With UAC off, they no longer run.
How can we then disable UAC and install XAMPP?
Easy. Go to Registry Editor and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Right click EnableLUA and modify the Value data to 0.
Then restart your computer and you're ready to install XAMPP.
To disable UAC (as an administrator), from Control Panel:
Type UAC in the search button in your windows the upper right corner.
Click the (Change User Account Control settings) in the search results.
Drag the slider down and select Never notify and click OK.it will work.
There's nothing to be worried upon for this. Like other servers, install xampp somewhere outside of the default Program Files folder of Windows. It shall work fine.
I previously had wamp server installed on my machine and i never understood why wamp server installs itself outside of the default directory. Xampp cleared this, now i have both the servers lying outside the Program Files folder and are running fine.
I don't know if you are still having this problem, but I had the same problem and had a different fix than what was listed in the other answer. I did install XAMPP under C:\xampp\, and my user is an admin, but there was also something else.
I had to manually go give my user full access to the C:\Users\XAMPP\ directory. By default (at least on my machine) Windows did not give my admin user rights to this new user's directory, but this is where XAMPP stores all of it's config files. Once I gave myself full access to this, everything worked perfectly.
Hope this helps!
UPDATE!
In retrospect, I think that I must have accidentally typed in "C:\Users\XAMPP\" as the install folder during the installation process. So I think the most important thing is to make sure that the user you are actually signed into Windows as when you start XAMPP has full access to the folder that it was actually installed to.
I have faced the same issue when I tried to install xampp on windows 8.1. The problem in my system was there was no password for the current logged in user account. After creating the password then I tried to install xampp. It installed without any issue. Hope it helps someone in the feature.
You can solve this problem by installing xampp in different Drive .Instead of C Drive .
Run win+R and type msconfig
Then at tools box launch UAC
Then set it on the lowest level
Then press ok and continue your setup
Finish
change User Account Control setting via control panel
step 1 -: Go to control panel
step 2-: select 'user Accounts'
step 3-: select 'User Accounts' (Control Panel\User Accounts\User Accounts)
step 4 -: select 'Change User Account Control settings'
step 5 -: Drag the slider down to Never notify and after click ok.

Access denied error while attaching files

I am trying to attach my mdf files to SQL server (using windows XP) but it gives operating system error (error 5), saying Access is denied to the dbMaster.mdf
I gave full control to folder in Windows Vista and 7 and it worked but I did not find how to give control in Windows XP. Please help.
Thanks
For XP Professional you may have to uncheck simple file sharing first to see ntfs security tab. Follow these steps (taken from here)
Launch Windows Explorer or My Computer.
Click on the Tools at the menu bar, then click on Folder Options.
Click on View tab.
In the Advanced Settings section at the bottom of the list, uncheck and unselect (clear the tick) on the “Use simple file sharing
(Recommended)” check box.
Click OK.
For XP Home you could use some 3rd party tool like FaJo XP File Security Extension to set NTFS permissions.

How to change Windows Server 2008 Login Screen

How do you change the settings on a windows server 2008 so that the login screen for remote desktop doesn't show any user names? I want to revert back to the old 2003 screen as this prompts for both a username and password. The new screen seems insecure to me as it gives anyone that might try and compromise the server valid login names.
You should be able to configure this option using the security policy editor:
Log onto the server in question.
From the Start Menu, launch secpol.msc.
If you get a security warning, continue.
In the left pane, navigate to "Local Policies" and under that, "Security Options".
In the right pane, find "Interactive Logon: Do not display last user name" and enable it.
Log off.

How to disable "ActiveX Control May Be Unsafe" popup

In an HTML file on My Computer, I'm trying to use the Scripting.FileSystemObject in a script. How can I disable the popup saying "Any ActiveX control on this page may be unsafe for scripting"?
The "Internet Options" Security pane allows one to set "Initialize and script ActiveX controls not marked as safe for scripting" to Enabled for various zones, but files on the local computer don't appear to be in any of the listed zones.
So I guess the alternate question is "How can I edit the security options for local files?"
System:
Windows XP SP3
Internet Explorer 7
By pure hackery, I discovered that setting the following registry value does it:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
"1201"=dword:00000000
But I'm still wondering whether there's any supported way of doing this.
Tools |Internet Options | Advanced tab .. way down under Security .. "Allow active content to run in files on My Computer"
Start Menu, Run and type INETCPL.CPL
Click the Security tab
In the Internet Zone, click the Custom Level button
Set Initialize and script ActiveX controls not marked as safe to Allow
There's a registry way of getting "Local Computer" to appear as one of the security zones. But this article doesn't mention IE7, so IE7 might be different. XP also has new settings like "Allow active content to run in files on My Computer" under advanced options.
Alternatively, if you rename your local .html file to .hta (a HMTL application), that might be what you're looking for. Unless you need all the browser chrome.
as someone mentioned that this should be added to registry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
"1201"=dword:00000000
but i found that "Initialize and script ActiveX controls not marked as safe" must be enabled too for internet zone
Depends on the version. Here's for IE32 on x64 Windows:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID{0D43FE01-F093-11CF-8940-00A0C9054228}\Implemented Categories]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID{0D43FE01-F093-11CF-8940-00A0C9054228}\Implemented Categories{7DD95801-9882-11CF-9FA9-00AA006C42C4}]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID{0D43FE01-F093-11CF-8940-00A0C9054228}\Implemented Categories{7DD95802-9882-11CF-9FA9-00AA006C42C4}]
I also had ActiveX security warning ("an activex control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction ?") on IE11 Win10 & with the below registry setting I could suppress that popup.
[HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Zones\0] "1201="dword:00000000".
[HKEY_USERS\S-1-5-18 is for SYSTEM account & we can also set this for HKCU for current user account.
Activex Controls often prompt an error message while trying to launch course through the local files. (For IE7)
Please set the following settings under internet option\Security\Internet\custom level\
Run Activex controls and plug ins - Enable
Script Activex control marked safe for scripting - Enable
under Scripting - Active Scripting - Enable
Also please check the following check box undertools\Internet options\Advanced\security
1. Allow active content to run in my files on my computer.
~Alpana