Implicit remoting is one of PowerShell's "best-kept secrets." Learn how you can load modules from remote servers into your local system runspace to use the commands natively.
Source : 4sysops
Implicit remoting is one of PowerShell's "best-kept secrets." Learn how you can load modules from remote servers into your local system runspace to use the commands natively.
In this article, I'll show you how to create a tool in PowerShell that will allow you to update multiple SQL servers in one swath with a single command.
Today we are releasing MS15-011 & MS15-014 which harden group policy and address network access vulnerabilities that can be used to achieve remote code execution (RCE) in domain networks. The MS15-014 update addresses an issue in Group Policy update which can be used to disable client-side global SMB Signing requirements, bypassing an existing security feature built into the product. MS15-011 adds new functionality, hardening network file access to block access to untrusted, attacker controlled shares when Group Policy refreshes on client machines. These two updates are important improvements that will help safeguard your domain network.
The other day I was troubleshooting 100% CPU utilization on a SQL Server 2008 database server. The server had 100 or so databases of varying sizes however none were larger than a few hundred MB and each database had a corresponding web site on a separate web server. Since the server hosted quite a few databases the high CPU needed to be resolved quickly because it was causing issues for everyone. High CPU on a database server can often be symptomatic of a issues occurring outside the server. In this case the real issue was in fact being caused by a SQL Injection attack on a web server.
Source : Solving SQL Server High CPU with IIS Request Filtering | Peter Viola
Last week, a hacker group claimed that it breached computer systems at
100 major universities. Team GhostShell gained access to servers at
Stanford, Harvard, and the University of Michigan, among others. The
technique used, SQL injection, is not new or complex, but reportedly
it's becoming increasingly common. Here's a quick guide to defending your servers.
In Microsoft Windows, we have Safe Mode. In SQL Server 2008, we have the Dedicated Administrator Connection, or DAC. We can use DAC to obtain emergency access to a SQL Server 2008 database instance in cases where the instance is blocked up, locked up, or just plain hosed.
Full article : 4sysops.com
SQL injection attacks have been increasing over the last three years, mainly because of automated tools. Since these automated attacks were first noticed in December 2007, very little has changed in the way that they work. Attackers use automated tools to query search engines for interesting URLs and then submit various SQL injection payloads to each. The goal is to inject malicious JavaScript into all string columns in SQL database tables.
Microsoft has provided guidance (http://blogs.technet.com/swi/archive/2008/05/29/sql-injection-attack.aspx) and some tools (www.microsoft.com/technet/security/advisory/954462.mspx) to combat these attacks. Microsoft has also started tracking these automated SQL injection attacks during the last one year and provides the information in the Microsoft® Security Intelligence Report.
Today I would like discuss another technique that one can use to block automated SQL injection attacks against web applications that use Microsoft SQL Server® as the back-end processor. (Note: These attacks exploit vulnerabilities in web applications; there are no known security vulnerabilities in Microsoft SQL Server). Before I describe the technique, I would like to reiterate that using parameterized queries is the best way to mitigate SQL injection vulnerabilities in web applications. You can read this Quick Security Reference: SQL Injection that details various classes of SQL injection vulnerabilities and how to address them in the design, development, and testing phases.
Source : Microsoft Security Tips
The SQL Server team just announced the release of their latest PHP driver for SQL Server. Details about the release can be found at http://blogs.msdn.com/b/sqlphp/archive/2010/08/04/microsoft-drivers-for-php-for-sql-server-2-0-released.aspx.
A major highlight of this release has been the introduction of PDO drivers for SQL Server. This means the PHP application developer now need not care about database but rather focus on the application code.
Source : The Official Microsoft IIS Site
The Microsoft Security Development Lifecycle web site shows two interesting documents :
You can download those at www.microsoft.com/downloads
Disk partition alignment is a powerful tool for improving SQL Server performance. Configuring optimal disk performance is often viewed as much art as science. A best practice that is essential yet often overlooked is disk partition alignment. Windows Server 2008 attempts to align new partitions out-of-the-box, yet disk partition alignment remains a relevant technology for partitions created on prior versions of Windows.
This paper documents performance for aligned and nonaligned storage and why nonaligned partitions can negatively impact I/O performance; it explains disk partition alignment for storage configured on Windows Server 2003, including analysis, diagnosis, and remediation; and it describes how Windows Server 2008 attempts to remedy challenges related to partition alignment for new partitions yet does not correct the configuration of preexisting partitions.
For more information, please refer to the Disk Partition Alignment Best Practices for SQL Server whitepaper
Source : Bink.nu
If users choose to use SQL login to connect to SQL Server rather than using NT authenticating, it is worth to remind that SQL server does provide the option of enforcing window password policy on SQL logins.
Source : SQL Server Security
I have updated my post about SQL Server 2005 Database Mail in a cluster. You should check it.
Service Pack 3 for Microsoft SQL Server 2005 is now available.
Download and infos : www.microsoft.com/downloads/
There is a list of all blogs related to SQL Server at Microsoft. You will find it at Technet.
Do you know which databases or applications are using the most resources on your server? How will a service pack upgrade, configuration change or application change affect your production SQL Server? The RML Utilities for SQL Server provide you a set of tools and processes to answer these questions and much more.
Downloads :
Hi all, this topic is an area that has caused me much pain and work. My goal for this was to follow the recommended SQL guidelines while minimizing the impact that these maintenance jobs have on Crawling and Queries. We know from the SQL Monitoring an I/O post that Search is extremely I/O intensive . As it turns out so is all of the regular maintenance that SQL recommends, so finding the right balance between the two is an interesting scheduling task.
Read the complete post : blogs.msdn.com/enterprisesearch
I received the following trying to detach the msdb database in SQL Server 2005 :
Cannot detach an opened database when the server is in minimally configured mode
I was trying to move msdb according to kb224071. I finally found why.
When I opened my query in SQL Server Management Studio (SSMS) I was connecting to msdb database by default. Event if I do a use master; after that, it was too late, I always got an error doing a sp_detach_bd 'msdb';
So here's the trick :
Et voilĂ ! You will now be able to detach the msdb database.
Note : Of course this will only work if you follow kb224071 and start SQL Server with the -c -m -T3608 startup options.
Last night I spent a few hours trying to follow the kb224071's instructions to move the MSDB system database but was always getting the following error trying to connect with the -c -m -T3608 startup options :
Login failed for user '******'. Reason: Server is in single user mode. Only one administrator can connect at this time. [CLIENT: *.*.*.*]
But nobody else was using the database !
Seems that I was wrong. When I looked again at my error log I saw this line :
Login succeeded for user 'NT AUTHORITY\SYSTEM'. Connection: trusted. [CLIENT: *.*.*.*]
Then I tried the same thing in virtual without a cluster and everything worked fine, so I got a little suspicious about the cluster service.
So here's what I've done and it worked :
I'm not an SQL engineer but it looks to me like the Cluster Service opened a connection to the SQL Server.
Hope this could help someone else.
This Support WebCast focuses on how to plan, implement, and administer a Microsoft SQL Server 2005 failover cluster on Windows Server 2008. This session provides step-by-step instructions about how to install SQL Server 2005 clustered instance on a Windows Server 2008 cluster. It also discusses the options you can use to move SQL Server 2005 failover cluster from Windows Server 2003 to Windows Server 2008.
Details: http://support.microsoft.com/default.aspx?kbid=953170
Webcast Link: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&EventID=1032379512
Source : blogs.msdn.com/clustering
If you notice that your WordPress hosting provider is not running PHP 7, but has it available to its users, you may want to consider making ...