Install WSUS on Server 2012 R2 in an environment that only has Server 2008 & Server 2008 R2 servers?
I want to use WSUS on Windows Server 2012 R2 in an environment that has only Server 2008 and Server 2008 R2 servers in production. I currently have one WSUS server setup on 2008 R2 that will serve in one geographic location and the WSUS Server 2012 R2 that
I looking to setup will be at a separate geographic location.
Has anyone tried this? Are there any problems one can expect? Is this a bad idea?
Has anyone tried this?
Thousands!!! :-)
Are there any problems one can expect? Is this a bad idea?
No. Why would you think it might be?
Have you read the product documentation and familiarized yourself with the system requirements and support capabilities of the product?
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.
Similar Messages
-
Is it possible to install a ssd in my 2013 imac 27 inch that currently has a serial ATA drive?
Is it possible to install a SSD in my 2013 imac 27 inch that currently has a serial ATA drive?
Not only possible, but well documented as well:
http://www.everymac.com/systems/apple/imac/imac-aluminum-tapered-edge-faq/how-to -upgrade-imac-hard-drive-aluminum-2012-2013.html -
Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
I thought I will get an exception if the client or the server is not available but this is not happening.
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
How can I determine that the client or the server is no longer available?
Server
public class Server
private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
private TcpListener tcpListener;
private bool isStarted;
public event Action<string> NewMessage;
public async Task Start(int port)
this.tcpListener = TcpListener.Create(port);
this.tcpListener.Start();
this.isStarted = true;
while (this.isStarted)
var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
var cts = new CancellationTokenSource();
this.cancellationTokens.Add(cts);
await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
public void Stop()
this.isStarted = false;
foreach (var cancellationTokenSource in this.cancellationTokens)
cancellationTokenSource.Cancel();
foreach (var tcpClient in this.clients.Values)
tcpClient.GetStream().Close();
tcpClient.Close();
this.clients.Clear();
public async Task SendMessage(string message, IPEndPoint endPoint)
try
var tcpClient = this.clients[endPoint];
await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
try
var stream = tcpClient.GetStream();
this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
while (!cancellationToken.IsCancellationRequested)
var data = await this.Receive(stream);
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(NetworkStream stream, byte[] buf)
await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive(NetworkStream stream)
var lengthBytes = new byte[4];
await stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await stream.ReadAsync(buf, 0, buf.Length);
return buf;
Client
public class Client
private TcpClient tcpClient;
private NetworkStream stream;
public event Action<string> NewMessage;
public async void Connect(string host, int port)
try
this.tcpClient = new TcpClient();
await this.tcpClient.ConnectAsync(host, port);
this.stream = this.tcpClient.GetStream();
this.Process();
catch (Exception exception)
public void Disconnect()
try
this.stream.Close();
this.tcpClient.Close();
catch (Exception exception)
public async void SendMessage(string message)
try
await this.Send(Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(byte[] buf)
await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await this.stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive()
var lengthBytes = new byte[4];
await this.stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await this.stream.ReadAsync(buf, 0, buf.Length);
return buf;Hi,
Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
Console.WriteLine(exception.Message);
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
potentially deep nesting in your query, and try to simplify it.
The script itself doesn't seem to be all that deep or nested. The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012. I'm just really baffled why something that SQL Server generated with very
few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server. This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
amount of our time doing it the manual way.
Below is an 'condensed' version of the script which fails. I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
Wizard and told it to save to script.
declare @dbname varchar(MAX), @SQL nvarchar(MAX)
declare c_dblist cursor for
select name from sys.databases WHERE name like 'dbone[_]%' order by name;
open c_dblist
fetch next from c_dblist into @dbname
while @@fetch_status = 0
begin
print @dbname
SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
use ['+@dbname+']
exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
use ['+@dbname+']
exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
-- Adding the transactional publication
use ['+@dbname+']
exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
'''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
= N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
@immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
@frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
-- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
use ['+@dbname+']
exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
@del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
EXEC sp_executesql @SQL
SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
print @dbname
SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
use ['+@dbname+']
exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
use ['+@dbname+']
exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
-- Adding the transactional publication
use ['+@dbname+']
exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
'''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
= N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
@immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
@frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
-- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
use ['+@dbname+']
exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
= null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
EXEC sp_executesql @SQL
fetch next from c_dblist into @dbname
end
close c_dblist
deallocate c_dblist
George P Botuwell, ProgrammerHi George,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
If you have any feedback on our support, please click
here.
Allen Li
TechNet Community Support -
hello
S2012 R2 essentials is in office...Want to have functional 2012 dhcp, dns, ad, wds role for 1gbps wired lan and separate wi-fi for temporary visitors for internet access like gsm phones etc...Need functional anywhere access to office server and computers
for administering...When worker with laptop go out of office must have have full functional wifi.
here is picture what i have in my mind with all components in network.
How to configure L3 switch, router and server? Many thanksHi,
Based on your description, I understand that you want to prepare network for the Windows Server 2012 R2 Essentials,
then will run a DHCP Server on the Windows Server 2012 R2 Essentials and correctly configure router. Please refer to following article and check if can help you.
Before You Install Windows Server 2012 Essentials
For DHCP, please refer to following article.
Running
DHCP Server on Windows Server 2012 Essentials
For router configuration, please refer to following article.
Configure a Router - Windows Server Essentials
If anything I misunderstand or any update, please feel free to let me know.
Hope this helps.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Server 2012 key activation for VMs that run on Server 2012 OEM license
Hi
My customer purchase a Dell Server with pre-install OEM Windows Server 2012 standard license, he created 2 VM and attempt to use key provided with physical host. It was fail with error message of 'Key is invalid'. Does customer need to obtain another
key for VM from Microsoft or Dell need to provide this?
thank youHi,
OEM key will not be recognized when trying to install a new system as it is not the standard format (25 bytes). As it is an OEM system you should suggest your customer to contact Dell for further help.
TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected] -
Windows Server 2012 The licensing mode for the Remote Desktop Session Host server is not configured
Hi
I have a standard Windows Server 2012 that is hosted in the cloud by a hosting provider -
This server has been up and running fir 6 months - recently we have been getting a warning
"The licensing mode for the Remote Desktop Session Host server is not configured" - The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server.
Yet, we only use this with 2 connections as part of the standard licence agreement and this server is not used as a user's desktop only an ftp and web server- do therefore we do not need to purchase any cal licences (we have another server with the same
hosting company that does not have this issue and has been up for 18months)
Please can someone advise how I resolve this issue, the hosting company states that I must resolve it as they only host and resell the server licence
Thank-you
Richard SteeleHi Richard,
You need to uninstall Remote desktop session host feature. After removing it, you will default two connections which does not need to purchase RD CALs'.
Thanks,
Umesh.S.K -
1.Can any one provide the detailed steps for multi-subnet HA for Always ON Groups.
--SQL Server 2012 AlwaysOn for Multi-subnet geographical HA solution steps
2.Do we need VLAN or not for SQL Server 2012 on win 2012 ? provide details for this VLAN required or not.
--I read MS links, sql server 2012 and above VLAN not required.
Env:
SQL Server 2012
Windows 2012 R2(2 servers different location)
Non-Shared storage (stand-alone servers)
Always ON Availability Group
I have seen white papers,but did not have detail step by steps.
ThanksHi SQLDBA321,
As your post, SQL Server 2012 or higher version has removed that requirement of virtual local area network (VLAN). For more details, please review this similar blog:
What you need for a Multi Subnet Configuration for AlwaysOn FCI in SQL Server 2012.
And you can perform the steps in the following similar blog to set up an AlwaysOn Availability Group with multiple subnets.
http://www.patrickkeisler.com/2013/07/setup-availability-group-with-multiple.html
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
Installed 8GB Ram into Macbook Pro, System Report says it only has 2GB RAM
I decided to upgrade my 13.3 inch MacBook Pro from 4GB Ram to 8GB Ram.
I purchased two Crucial 4GB Ram from two different dealers on Amazon and installed them myself.
I turned my MacBook on and now it says that only one slot is being used and that it is a 2GB.
I have a feeling that either one of the Ram slots has failed, however it still puzzles me that it says that 2GB of RAM is installed? Is there any way of refreshing the 'About This Mac' or is there anything to make the Mac recogise this problem?
Thanks in advanceopen the mac back up and make sure both ram modules are seated properly. It takes a little hard push to get them seated and you will hear a click/snap when they are seated. To determine if a ram slot has failed, simply put back in the old ram, and if both slots are recognized, the problem is with the new ram.
-
Server 2012 SMB 3.0 file cluster issues with Streaming media services 2008 R2
So I have a file server setup with the always available feature turned off on this brand new cluster. Everything seems to function normally and I can hit files from the shares no problem.
My issue I built a brand new 2008 R2 machine and created an on-demand publishing point to point to my 2012 file share cluster. I created a windows account for my windows media service to run as and applied read only to my video share. Media services see
the video files on the server in the GUI so I know its got connectivity, but when I go to test locally or externally it will not play the stream at all. It complains of access even know I know that is not the issue. I have verified the setup and the ACL
stuff is turned off on both the root and the publishing point. I can login to the Media server as my service account and play files from the share no problem. IIS media services can stream the files with no problem and yeah everything seems more like something
possibly with SMB 3.0 and something in media services.
I have a country rule where my data is not allowed in other countries so I have multiple video services on a domain with tunnels and what not my US Streaming services is working great but has a server 2008 R2 file cluster server. If I take that one to my
out of the country publishing point to test it streams great as they use the same services account. If I take my out of the country file share to the US I get the same result just will not work. I have poke prodded and banged my head and since I get this result
I have concluded it must be something with the new security of SMB 3.0.
Does anyone have this working or tested? Also I am using the exact same video file to test all of this. Or is there secret I missed to either make smb 3.0 even more compatible or make streaming services play nice.
Anything helps please let me know.
Thanks,
AdamI'd recommend calling in for support on this one. Things aren't adding up. Probably the most useful thing to do would be to do a network trace of the WMS server connecting to the remote server over SMB.
-
Server 2012 RS Multiple RDS Collections equals only one application from one collection at a time
Hello all!
We have a 2012 R2 RDS "farm" configured like this:
2 RD Web Access servers (load balanced behind KEMP appliances)
2 RD Connection Brokers in a High Availability configuration
8 RD Session Host servers (no VDI) in 2 different collections
I've noticed that if I have rights / visibility to different applications in both collections I can only run one of the applications at a time. For instance:
Collection A has application 1
COllection B has application 2
What i'm experienceing now is that if i have rights to app 1 and app 2 i can only use one at a time. If i attemp to run app 2 while i have app 1 open I get this message:
"Windows cannot start the RemoteApp program. The following RemoteApp program is not in the list of authorized programs: app 1"
Maybe my thinking is incorrect and you cannot cross boundries from one collection to the other. Maybe i need one collection with all my host and segregate applications via AD permissions. Any thoughts?Hi,
Please make sure the client PC has mstsc.exe 6.3.9600 (RDP 8.1) or later.
From your description it sounds as though it is attempting to connect to the wrong collection when you launch the RemoteApp for the second collection. This can be caused by older client version and/or your load balancing configuration. You should
load balance the initial connections to the broker, but not use a load balancer for the connections to the RDSH servers, unless you have a specific need to. The RD Connection Brokers will handle the load balancing for the RDSH servers.
Thanks.
-TP -
SQL Server Utility - How to Remove Instance that No Longer Exists on Server
I had a default instance that I had installed for an application. But then I was told they wanted it as a named instance. I had added the default instance to the UCP (SQL Server Utility). I have uninstalled the default instance forgetting
that I had added it to the UCP. Now when I try to remove the managed instance I get the following error:
The action has failed. Step failed. The SQL Server connection does not correstpond to this managed instance object. (Microsoft.Sqlserver.Management.Utility)
How do I remove the managed instance from the UCP? Do I need to go into a table in database sysutility_mdw and delete something?
select * from msdb.dbo.sysutility_ucp_managed_instances
where instance_id=57
Maybe delete from table msdb.dbo.sysutility_ucp_managed_instances?
Or maybe table sysutility_ucp_managed_instances_internal?
lcerniI ran this
EXEC msdb.dbo.sp_sysutility_ucp_remove_mi @instance_id=57
And it fixed the issue.
lcerni -
Another computer is running on Windows XP. I don't want to run Windows Explorer on it to search for Firefox so I can install it to use instead. How do I download the necessary files to a flash drive the current laptop where Firefox is the search engine?
Are you looking for a full version?
*[https://www.mozilla.org/en-US/firefox/all/ All versions] -
Can i install a 820-2279 logic board into my macbook that currently has 630-9200
my macbook is from the same generation as the other logic board, and currently has a early 2008 logic board installed but its broken and i have found another early 2008 logic board but that have different part number and i have been told that the part number needs to be the same, is this true?
No the only way to upgrade the video is to buy a newer MacBook or Macbook Pro.
-
Is office 2010 officially supported on windows server 2012 R2
hello,
can someone tell me if office 2010 is officially supported on windows server 2012 R2 RDS?
This link only talks about Windows server 2012 not R2.
Thanks in advance.
Regards
AnthonyHi Anthony,
I successfully installed Microsoft Office Professional Plus 2010 on Windows Server 2012 R2 before in my testing environment.
So yes, Office 2010 is supported on Windows Server 2012 R2.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Maybe you are looking for
-
Hey guys! Long time acount-less lurker, first time poster. Go easy on me if I come off as long-winded or nubile, I made an account to post only because I know you guys are a strong, knowledgeable community! Here are my specs before I get into my p
-
Exporting Avid project to iDVD on a Macbook Pro
First, let me say that I know this is a Final Ct forum. But it's also a MacBook pro forum, and I know that many FCP editors also edit on Avid (like me). I hope someone here can help me. I created a project on Avid Media Composer. It was shot in 4:3 b
-
How can I get credit in Mac App Store for software installed from CD?
So I have purchased iLife '11 and iWork '09 disks. I have had them installed on my MacBook Pro since 2010. The Mac App Store has happily been updating the all the apps for as long as I can remember. However, the MAS doesn't recognize the iLife and
-
Ok so I've finished my site and ready to publish. It seems muse does this strange thing sometimes. I export the files, i publish it, exept when i look on my site online the text and photos are not there but when i go into the program, everything is t
-
Function Module to update Serial Numbers in Delivery
Hello there, I am attempting to update serial numbers in an outbound delivery using function module SERNR_ADD_TO_LS followed by a perform of serial_liste_post_ls IN PROGRAM saplipw1. However I am struggle with error messages of inconsistancies in sta