Can't get Remote Desktop Services installed on Windows 2012 server - remote-desktop

I am trying to install Remote Desktop Services on my dedicated Windows 2012 server but the installation does not start at all. It just stays here:
I have tried restarting the server 2 times and I have run every Windows Update there is. I have tried selecting other features but it will not start the installation. I had it running for hours but it would not install at all (just as the screenshot) and I had to cancel it.
Can any one help me on how to get Remote Desktop Services installed somehow or another? Is there another way to get it installed? I am not in this case installing remotely.

This guide to install via the Powershell seems to help:
http://blogs.technet.com/b/manojnair/archive/2011/12/02/rds-powershell-tfm-part-i-installing-remote-desktop-role-services.aspx

Related

Attempted to perform an unauthorized operation when executing SQL Server 2019 service pack

I already had SQL Server 2019. After upgrading my Windows 10 to latest October Update, I found my SQL Server does not have latest service packs.
I downloaded latest service pack CU8 from Microsoft and ran it. After initializing set up, I get error
Attempted to perform an unauthorized operation
Many research and no luck even in SO.
Please advise.
https://www.microsoft.com/en-us/edge/business/download
Please get the offline installer for latest Microsoft Edge (Chromium) on above link.
Once you have it, run Edge installer and then try to run SQL Update again.
This worked. I ran the latest Edge standalone install and it unblocked the MSSQL patch.
I also confirm that it works. Thanks
https://www.microsoft.com/en-us/edge/business/download
I can confirm this fixes the issue when trying to install SQL 2014 Express Advanced on Windows 10 with H2 update installed.
I had the same error, and installing the standalone Microsoft Edge fixes the error.
After reviewing the logs and digging into windows registry and security, I found the problem was "Microsoft Edge" registry key. Somehow it is read-only for administrator and I figured it out I need to use SYSTEM account to apply the service pack.
Finally I found I can do that using an executable in SysInternals package which is famous for doing weird things in Windows.
This is what I did to apply the service pack.
Run Cmd or PowerShell as Administrator
Go to SysInternals and make sure you have the PsExec64.exe there
Run below command:
.\PsExec64.exe -sid "D:\Downloads\SQLServer2019-KB4577194-x64.exe"
This way you will execute the service pack using SYSTEM account which has highest privilege.
Service pack installed successfully!

Sql Server 2014 - Update to windows 10 and can't connect to the Local Server

Recently I updated my Windows from 8 to 10 and suddenly my SQL Server 2014 stopped working. When I open the Management Studio and try to connect to the Server (local) i obtain the following error:
Does any of you had similar problems? Before updating the Windows everything was running just fine.
I had the same problem after upgrading from Windows 8.1 Pro to Windows 10 Pro. I was able to resolve it as follow:
Control Panel
Administrative Tools
Services
The SQL Service Browser was Disabled
Right click and select Properties
Change the Startup type to Automatic (Delayed Start)
Click to Start button to start the service
And off you go. This should resolve the issue.
I just had the same issue after upgrading my laptop from Windows 8.1 to Windows 10; however, my solution was slightly different to the one suggested already, I had to:
1) Control Panel
2) Services
3) Right-click, Start, SQL Server service
I had to do this for all the SQL versions I have installed (08R2 up to 14). Somehow the upgrade stopped and didn't restart the SQL service.
I also encountered the same issue upgrading from Windows 7. First thing I did was open the SQL SERVER MANAGER CONSOLE and ensure that the server was still running. After seeing that it was, I restarted it, and that fixed the problem.
I personally would try these simple steps first... never know could be that easy.
Side note - if you have trouble finding the SQL Manager Console in your Programs list like I did, you can likely find it in your C:Windows/SysWOW folder (open file named SQLServerMananger##.msc).

Sql Server 2008 installation error : Attempt to perform an unauthorized operation

I had sql server 2008 r2 express edition in my PC .But i unistalled it ,In order to install Sql server 2008 Enterprise edition trial version in my PC.
But some features in sql server 2008 showing "attempt to perform an unauthorized operation" error during installation process.
My operating system is windows 7 home basic 64 bit.
these are the feature which are showing error while installation:
sql server database engine service
sql server replication
sql server analysis services
please help me with this issue
Here's a couple things to try from people who have had similar problems:
Check: %\Microsoft SQL Server\100\Setup Bootstrap\Log\SystemConfigurationCheck_Report.htm
Copy installation files to disk and run from there.
Run setup as administrator.
Create a new local administrator account and use that to run the installation.
When error occurs, dont exit installation, run process monitor trace, click retry for installation, stop trace, locate registry key where where access denied is, give your account temporary full control on that key, retry again.
Use the slipstream procedure to update SQL Server 2008
This method allows you to update the entire product when you run the SQL Server 2008 Setup program after following one of the following procedures:
Procedure 1: Basic slipstream steps
Follow the following steps to create a slipstream drop that you can use for installing the original media and a service pack at the same time.
Install the following prerequisites for SQL Server 2008.
.NET Framework 2.0 SP2 for SQL Server 2008 Express Edition
You can obtain the .NET Framework 2.0 SP2 from the following Web site in Microsoft Download Center:
http://www.microsoft.com/downloads/details.aspx?FamilyID=5b2c0358-915b-4eb5-9b1d-10e506da9d0f&displaylang=en
.NET Framework 3.5 SP1 for other editions
To download and install the .NET Framework 3.5 SP1, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=120550
Windows Installer 4.5
To download and install Windows Installer 4.5, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=49112
Download the latest service pack package that matches you system architecture. For example download the x64 package of SQL Server 2008 Service Pack 1 if your system is an x64-based system.
Extract the service pack by running the following command:
SQLServer2008SP1-KB968369-x64-ENU.exe /x:C:\SP1
Run the service pack to install Setup files on the computer. You will receive a Setup Support Files dialog box if the Setup support files have not been installed. You can also run the following file to install the setup support files:
C:\SP1\x64\setup\1033\sqlsupport.msi
Finally,
run the Setup.exe file from the SQL Server 2008 source media by specifying the /PCUSource parameter. For example:
Setup.exe /PCUSource=C:\SP1
I have been googling for this issue a lot but there were no solution working for me. atlast , I formatted my system for a fresh install which worked fr me.
The solution is simple.
1 - Install ONLY "Sql Server Database Engine"
2 - Start installation again and add any other features to your instance
P.S. No need to run as Admin or in Windows 7 compat-mode (if you are installing on 8 or 10)
In my Case, creating an Administrator Windows Account and installing SQL Server worked!
Also you can simply activate the built-in windows Administrator Account by running the "net user administrator /active:yes" command in command prompt(Admin Mode), then log in as Administrator. Now You can Install SQL Server without problem!
Finally I should say that you can use SQL Server from your own normal windows account after Installation and I recommend deactivating Administrator Account by "net user administrator /active:no"

SQL Server 2008 R2 Install Won't Work

I'm trying to install the developer edition of SQL Server 2008 R2. I run the setup as admin, but after it installs the "Setup Support Files", it closes and returns back to the installation center screen.
Any ideas?
I had this same problem and it appears to be something to do with previous versions leaving behind elements in their install/uninstall. I fixed it by running the Microsoft install/uninstall utility linked below. During the process you are asked what program you are trying to install and MSSQL Server 2008 R2 is listed. After running this the install continued after the "Setup Support Files" stage. Hope it helps!
http://support.microsoft.com/mats/Program_Install_and_Uninstall
So does it even installs Support files? You can check it by looking into "Programs and Features" (if using Windows Vista or 7) and if it is not there then it is not even installing support files. In that case may be you are missing components required for Support files itself (e.g. older version of Windows Installer).
Sometimes, SQL Server installer itself acts funny and without any reason it just crashes. Did you tried to run it again? Or try to run the installer after rebooting your system (I know this sound like a too rookie advice but in many cases rebooting OS solves issue).
The problem started when I change the shared folder directory from \Program Files(86)\SQL Server to custom folder. If I could have rename back to default, it should have been fine but I stop the installation and restart the install again assuming it will install fresh, but it did not and it hangs all the time.
I appreciate the comment from Lee, as per his advice I ran the fix it tool from Microsoft. The tool finds SQL Server 2008 R2 installed and I choose to uninstall.
When re-install the SQL Engine, it went through because this time, I did not change the Share Folder location and leave it to the default. I think this is some kind of bug in the SQL Installation. I wonder why Installation has to hang...!
The problem might be the location of the Setup Support Files.
Remove all the Setup Support Files using Control Panel/Uninstall Program.
After that install SQL 2008 from the beginning.

Invoke or BeginInvoke cannot be called on a control until the window handle has been created

I am trying to install SQL Server 2008 Developer Edition x64 on a Windows Server 2008 VM. I run the installer for a standalone installation and this works fine for the setup support rules bit. That passes ok but then I get this error:
TITLE: SQL Server Setup failure.
SQL Server Setup has encountered the following error:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created..
BUTTONS:
OK
How can I resolve this? I am getting 2008 R2 CTP but this is just a CTP. My download is from DreamSpark.
Thanks
This isn't really a real solution, but it worked for me after the 5th attempt. Not sure if it makes a difference, but on the 5th attempt I minimized all other windows (so that SQL setup is the only window that has focus) since the issue appears to be UI related.
Update: After overcoming the 1st issue, I got another issue where the actual database engine component failed to install without reason. The solution was to restart and try again.
The x64 installer seems to be really buggy.
I've did another trick:
In the Installation Disc you will find a folder, x86 and x64
Select as per your OS and go inside the folder
Click on the LandingPage.exe
It will show the page, in that click on the second Option on the left hand menu "Installation"
Click on "Start Standalone installation from the menu at the right side
It will ask for the location files on the disc
Show the location,
e.g. <Your Disc Drive>/SQL Server Enterprise 2008/x86
It will complete the installation successfully
I see MS has answered this. It's because the release of MSSSQL is newer than the SP is. They have a hotfix that apparently needs application. Oh joy!
http://support.microsoft.com/kb/975055
You then have to request the Hotfix, and wait for the link to be sent to you. They say 5 minutes, but we'll see.
In Windows 7 64 Bit, press ctrl+alt+delete, start the task manager and end the landing page process and it will successfully install.
I had this same error a number of times trying to install SQL Express 2008 x64 on a 2008 R2 64-bit server (VMWare) and I finally got it working doing the following:
Start the installation and when it gets to the point where the security window pops up asking you if you authorize the installation to run, open the temp folder. C:{GUID} and copy that folder (contains setup.exe and supporting files) to your desktop.
Click "OK" on the security dialog and it will probably error.
Once the error dialog goes away just run the setup.exe from the temporary directory on your desktop and it works.
Hope this helps someone else.
~Matt Heidenreich
I had the same problem when i was installing on Window 7. The only thing I could find was to retry the install again right after the failure and it worked after some time.
Had the same problem; made sure no other instance of setup was running from process explorer and then restarted installation and it worked fine for me
Before Installation, close all windows explorer and web browser. :)
.
I had the same problem once with installing the service pack. The only thing I could find was to retry the install again right after the failure. It took about five times, but it eventually worked. I think there's something odd about the installer on 64-bit Windows.
closing all open windows worked for me. definitely a UI problem with 64 bit.
For Server 2003 with this issue, I installed 2008 R2 management tools - which should work fine with 2008.
http://www.microsoft.com/en-us/download/details.aspx?id=22985
Note: Needs PowerShell on 2003 to install: http://www.microsoft.com/en-us/download/details.aspx?id=20020

Resources