Installing IISPowershellSnapin.26IISPowershellSnapin.exe doesn't succeed - windows

I have downloaded the IIS Powershell snapin IISPowershellSnapin.26IISPowershellSnapin.exe
Unfortunately installing on a windows 2012 Remote desktop doesn't succeed.
The error is:
Microsoft Webinstaller couldn't find the product you tried to install.
Either the link you clicked is incorrect or you may be overwriting
your feed with different feed.
I have downloaded it from the site:
http://www.iis.net/downloads/microsoft/powershell
The manual gives the following Prerequisites:
The IIS PowerShell Snap-in requires the following prerequisites:
•Windows Server 2008, Windows Server 2008 R2, Windows Vista Service
Pack 1, or Windows 7 •Microsoft PowerShell 1.0 or 2.0
So nothing is said about Windows Server 2012.
Is there another executable for Windows Server 2012 or is there another problem.
http://www.iis.net/learn/manage/powershell/installing-the-iis-powershell-snap-in
I have allready checked whether the IIS Management Console is installed and it is installed.
Maybe this executable needs internet connection to install?
On our RDP we have no internet connection so this could be the cause as well.

Simply don't. PSSnapIns are obsolete; everything runs on modules now. The IIS Snap-In has been superseded by the WebAdministration module, which provides a superset of functionality.
Install the module on a >2008R2 server with the following PS:
Add-WindowsFeature Web-Scripting-Tools
This will not cause a service interruption. If it needs a reboot, it will tell you so. You might need to restart your PowerShell console, although this is unnecessary in my experience. After installation, run the cmdlet:
Import-Module WebAdministration

Related

Azure Recovery Services agent on Server Core 2016

I'm attempting to install the Azure Recovery Services Agent on a 2016 Standard Server Core machine. It installs fine, but when I try to browse to the vault credential file, I get an exception that appears to be related to visual themes not existing since it's server core:
I've also tried setting up Azure Powershell to do backups through there, but when I try to login I get an error related to IEFrame.dll:
Login-AzureRmAccount : The type initializer for 'Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.WindowsFormsWebAuthenticationDialogBase' threw an exception.: Unable to load DLL 'IEFRAME.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
When I run Login-AzureRmAccount on a Desktop Experience server, it pops up a window to login, which apparently uses IE. I've also tried Import-AzurePublishSettingsFile, which works, but it still needs me to run Login-AzureRmAccount after running that.
Does anyone know of a command-line way to set the vault credentials for the Recovery Services agent? Or how to login in Powershell without IE?
Download the latest PowerShell release (minimum version required is: 1.0.0) and then Verify you have Windows PowerShell version 3.0 or 4.0. To find the version of Windows PowerShell, type this command at a Windows PowerShell command prompt.
$PSVersionTable
Verify that the value of PSVersion is 3.0 or 4.0. If not, see Windows Management Framework 3.0 or Windows Management Framework 4.0.
And then you can install Microsoft Azure Recovery Services Agent through PowerShell command lets on windows server 2016.

Uninstall parallels plesk panel, I can't

I installed parallels plesk panel 9.5 for windows, on windows server 2003 x64, now I can not uninstall, I get this error:
The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed.
Windows is not running in safe mode, and i try to install windows installer, but i cant.
And not that way I can do to uninstall. can help me with this problem?
I just finished uninstalling Plesk Panel 11 using the Windows "Uninstall a program" feature. It seemed to work as it displayed a DOS window and informed me of each module it was uinstalling but it did not remove anything from IIS. Also the entire Parallels directory structure was still fully intact after the uninstall "successfully" completed.
I had to manually remove websites and application pools from IIS and manually delete the entire directory and file structure in windows explorer. However, in order to do this I had to first stop all the MailEnable Services as well as end the Process for METray.exe.
In other words, removing Plesk Panel completely was a mostly manual process.
Parallels plesk 9.5 and 10.1-10.3 does not support uninstall as for unix/linux as for windows OSes.
If i'm not mistaken plesk supports uninstall for windows starting from 10.4 or it's 11 version. Need to reread release notes.
As options for uninstall might be following:
Try to upgrate to plesk 11 and them uninstall plesk (accually I do not so sure in this option and will be good to check it before trying on real server);
redeploy server if it doesn't important for you;
stop panel at the services and do not care about it. Also you can remove panel from filesystem and from iis manually.

Remote debugging in visual studio: remote debugger does not support this edition of windows

I am trying to remote debug my application in VMware workstation 7 and Visual studio 2010 ultimate. I habe several images (win 7 ultimate,vista,etc).
I am following this tutorial: http://kristofmattei.be/2010/01/20/debugging-applications-in-virtual-machines-with-vmware-workstation-7-and-visual-studio-2008-sp1-2/
Whenever I try to start msvsmon.exe on the remote computer it will say :
"The visual studio remote debugger does not support this edition of windows"
tried it with win 7 ultimate, vista premium and xp home, same situation.
Could someone help me out here?
Thanks!
The error message "The visual studio remote debugger does not support this edition of windows" appears because the remote debugger tries to use Windows Authentication by default, and this is only supported in the "Pro" versions of Windows, and up.
However, the remote debugger does work with the "Home" versions of Windows, you just have to tell it not to use authentication via the command line.
(Why it doesn't let you do this after launching it without any arguments, why the error message is so misleading (and contradicts the official list of supported OS), and why there is so little info about this on the web, I don't know. :))
To launch it, run this:
msvsmon.exe /noauth /nosecuritywarn
Of course, this launches it in the lowest security mode, so you'd only want to do this on a secure network. (But that's usually the mode one ends up using msvcmon in anyway, as the other mode is an even bigger PITA to set up than it is normally. Very useful tool, but really could use some streamlining.)
No need to use VMWare features.
Inside the guest VM run the version of msvsmon that came with your copy of visual studio 2010 (A setup package for just the remote deubgging stuff can be found on the disc/image) (use x86 if debugging a 32-bit process or x64 if debugging 64-bit one ,Itanium if you need to laugh).
through the msvsmon GUI disable authentication and select allow any user to connect.
disable the firewall in the VM.
on the host machine you should be running visual studio 2010, under the debug dropdown select "attach to process..." and then on the window that pops up select remote from the dropdown that should say local or something initially, enter the IP address (should be private network IP i.e. 10.1.?.?) of the guest VM, alternatively use the server name displayed by the msvsmon GUI. You should get the process list for the guest and should only attach to any process that matches the version of msvsmon you ran (x86 or 64 ...or Itanium laugh).
NOTE: These are basic instructions to show you it definitely works but these instructions will only work for native code since managed requires a secure connection.
If you are debugging a .NET app using the VMWare VS Plugin and are getting a "file not found" type of error...make sure you have the .NET runtime installed! :)
Like a moron, I set up a fresh XP VM and forgot to install the .NET runtime and wasted a good day trying to get the VMWare VS Plug-In to work!
VSID is not supported by visual studio2010 http://communities.vmware.com/thread/282407

Web Setup Project not working

'The installer was interrupted before [project name] could be installed. You need to restart the installer to try again.'
I just moved to Win7, and I cannot get the .msi files to install from my Web Setup Projects that are built on that machine. The same projects build and work fine on my other Windows XP, IIS6, VS 2008 SP1 machine. I'm not sure if this is a IIS7 or Win7 issue, but I've done the following:
I have all the IIS/ASP.net compatibility settings checked.
I am an administrator, and I have UAC turned off.
I get the following error when I even try install the .msi file on the Win7 machine and on our existing development server (windows 2003 with IIS6).
I've restarted the windows installer service, and I've added logging for the installer but there is nothing that is showing me what the problem is. Any help would be MUCH appreciated.
I'm running Visual Studio 2005 and had the same problem as you described when moving to Windows 7.
After trying my Web Setup Project .msi file on another computer also running Windows 7 I found that it worked.
When I looked in the "Windows Features" dialog on the working computer I noticed that the IIS had IIS 6 compatibility features turned on. I enabled the same feature on my computer and after that I could install my setup project.
Open up "Control Panel > Programs > Turn Windows features on or off" in Windows 7 and in the "Windows Features" dialog go to "Internet Information Services > Web Management Tools > IIS 6 Management Compatibility" and check the feature "IIS Metabase and IIS 6 configuration compatibility".
Run the installer with full verbose logging:
msiexec /i /lv installLog.txt
Then search the installLog.txt file for "Return Value 3"
This will indicate the exact problem.
Additionally this may help:
http://blog.dragonsoft.us/2009/01/02/visual-studio-2008-and-iis-7/
I solved this by running 'regsvr32.exe actxprxy.dll'
It resolved the following:
Not able to create valid .msi web project in VS 2008.
Start Page in VS2008 was not displaying rss feed in the main window.
IE was not opening up shorted url links to a new tab (in twitter for example).
I suspect this was because of redirects, but I'm not sure. I'm guessing this was a bug in the install process, so I hope this helps others.

Is there a way to get Server 2008 to *appear* as Vista for installers?

I have a tool that I want to install on my main development box (Windows Server 2008). The installer tells me that it requires Vista. Of course I'm not saying Server 2008 is Vista, but I figure something that installs on Vista should be able to install on Server 2008.
Is there some way (perhaps via a temporary registry change) to get a server 2008 system to appear as Vista for the purpose of installing software?
Thanks!
Win2008Workstation has an example guide of how to use Orca to patch an MSI file.
Have you tried the emulator for running the install, when right clicking and going in to the properties of the installer?
right click > properties > compatiblity > and change the compatibility mode to Windows XP or Windows Server 2003
A few ideas:
If it's an MSI installer, download orca and delete the custom action that does the check
Use a tool such as process monitor to watch what registry keys the installer reads and tweak them to match vista's.

Resources