110

There are several fairly easy options available for remotely managing a remote Windows Server using a command line, including a few native options. Native Options: WinRS/WinRM Windows Remote Shell/Management tool is the easiest way to remotely manage a remote Windows server in a command line utility, and as with most Windows command line utilities, ss64 ...


110

The clearest most succinct answer I could find is: How To See PC Startup And Shutdown History In Windows which lists these event ids to monitor (quoted but edited and reformatted from article): Event ID 6005 (alternate): “The event log service was started.” This is synonymous to system startup. Event ID 6006 (alternate): “The event log service was stopped....


85

It turns out that much of the configuration data for RDSH is stored in the Win32_TSGeneralSetting class in WMI in the root\cimv2\TerminalServices namespace. The configured certificate for a given connection is referenced by the Thumbprint value of that certificate on a property called SSLCertificateSHA1Hash. UPDATE: Here's a generalized Powershell solution ...


70

Use the query user command Query User Command http://technet.microsoft.com/en-us/library/bb490801.aspx


66

This behavior can also be caused by a system administrator who configures the computer to use Windows Server Update Services (WSUS) instead of the Microsoft Windows Update server for servicing. http://support.microsoft.com/kb/2734782 This worked for me. Windows has to download the 3.5 installation files, but the server is configured not to use Windows ...


48

You can use qwinsta from the command line to display the current RDP sessions. qwinsta /server:computer01 SESSIONNAME USERNAME ID STATE TYPE DEVICE console 0 Conn wdcon rdp-tcp 65536 Listen rdpwd administrator 2 Disc ...


47

There is a Local Group Policies you can set to disable the automatic restarts. This should only be done on Windows Servers assuming a sysadmin is going to RDP into the server on a regular schedule and install updates and restart the server (see Patch Tuesday). Press Windows Key+R to open the run prompt. Type "gpedit.msc" and press enter. In the "Local Group ...


47

Going through the Google forums, it seems like Google doesn't have any intention of "fixing" this behavior. Issue seems like that the service starts and then it stops quickly making Windows think it failed, though in reality it checks for updates (and may be other "stuff") and exits with no errors. Since this is normal behavior, what I did was to remove the ...


45

You will need to modify the group policy that is applied to the servers. Open up the Group Policy Management Console and navigate to Computer Configuration >> Administrative Templates >> System and select "Display Shutdown Event Tracker." Disable that option.


44

Sure... works on Windows 7+, too. Open Powershell first: Type PowerShell to enter a PowerShell session. Once in the session: Type Start-Process PowerShell -Verb RunAs and press Enter. That will open a new Powershell process as Administrator. ------- OR ------- To do it all with only one line from the command prompt, just type: powershell -Command "...


44

Microsoft IIS server does not support SFTP (or SSH) at all, on any version of IIS or Windows. IIS supports secure FTP (FTPS or FTP over TLS/SSL) though. It's a different (incompatible) protocol than SFTP, but most "FTP" clients support both SFTP and FTPS. When setting up an FTPS server, make sure you disable plain (unencrypted) FTP! See (my) guide on ...


42

Open the Task-Manager and see the users tab. There you will find a list of users and their status.


40

Your packet capture had something unusual: The ECN bits were set in the outgoing SYN packet. Explicit congestion notification is an extension to the IP protocol that allows for hosts to react more quickly to network congestion. It was first introduced to the Internet 15 years ago, but there were serious issues noted when it was first deployed. The most ...


39

After spending time looking at group policy, as far as I could tell, there was nothing that was relevant. I then came across this post that suggest I try launching a command promt as an administrator and running msiexec /a install.msi This appeared to work, but ran very quickly - in fact it didn't. On a whim, I tried this inside the admin command prompt. ...


37

We had the same error on a brand new server. The reason was not the default IIS security policy, stored in applicationHost.config, as suggested by the other answer (although we checked that). The reason was that we installed IIS without support for ASP.NET (an ASP.NET 4.5 role)! When we installed the missing support for ASP.NET, our application just ...


32

Yep, tsadmin is gone. Kinda' sucks. There's RDMS through Server Manager and the Remote Desktop Powershell cmdlets (get-command *RD*), but those both require that a full Remote Desktop Services deployment exist on that server. Those don't work on servers without RDS deployments or on workstations. You can use Task Manager... or, if you want something ...


31

No it does not mean that the data was lost. It simply means that the IRP (IO Request Packet) timed out while the IO System waited for it to complete, and so it was tried again. When a thread begins any IO operation, the IO manager creates an IRP to represent the operation as it passes through the system. The IRP gets stored in its initial state in a ...


31

Figured out how to do it myself. It's somewhat of a workaround but that's what I expected to get. Alright, first step is to grab a program called AutoLogon.exe from Microsoft: http://technet.microsoft.com/sv-se/sysinternals/bb963905.aspx Stop! Don't cringe just yet. Read on... Run it, set it so that Administrator should log on automatically. Create a task ...


30

You can assign this in either a GPO or Local Security Policy. The setting that you're looking for is in Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Shutdown the system


29

Drop into a command prompt and issue either of the following commands; systeminfo | findstr OS Or winver You can then use this table to determine the version; Operating System Version Which shows: Operating system Version number Windows 8.1 6.3* Windows Server 2012 R2 6.3* Windows 8 6.2 Windows ...


29

An "open DNS resolver" is a DNS server that's willing to resolve recursive DNS lookups for anyone on the internet. It's much like an open SMTP relay, in that the simple lack of authentication allows malicious 3rd parties to propagate their payloads using your unsecured equipment. With open SMTP relays, the problem is that they forward spam. With open DNS ...


27

In the general case, the advantage of putting a standalone server on a hypervisor is future-proofing. It makes future expansion or upgrades much easier, much faster, and as a result, cheaper. The primary drawback is additional complexity and cost (not necessarily financially, but from a man-hours and time perspective). So, to come to a decision, I ask ...


27

First to specifically answer your question; "How can i change that to DHE_RSA or ECDHE_RSA?" The easiest solution to this is to download IIS Crypto and let it do the hard work for you. IIS Crypto In order to use DHE_RSA or ECDHE_RSA you'll need to re-order the cipher suite preferences in the bottom left pane of the IIS Crypto window. I currently set ...


26

Is explorer simply not starting? have you tried typing explorer.exe in the command prompt window? I guess this isn't the case you wouldn't normally get a command prompt when logging in. It sounds like somehow the shell has been removed, effectively giving you a server core install, in which case try issuing the following from the command prompt. This should ...


26

Control Panel > System > Advanced system settings > Performance > Settings Select the options that suit you. I normally select the option ""Adjust for best performance".


25

Server 2012 comes with Dot.NET 4.5 which has System.IO.Compression.ZipFile which has a ExtractToDirectory method. You should be able to use this from PowerShell. Here is an example. First you need to load the assembly ZipFile is in: [System.Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | Out-Null Then extract the contents ...


24

Finally Microsoft has produced a FIX for this behavior in an update rollup! An update is available that lets you control how the Automatic Updates client applies updates in Windows 8 and Windows Server 2012. After you install this update, the "Configure Automatic Updates" policy setting will work again as it used to in previous Windows operating systems. ...


24

In PowerShell: Get-WMIObject Win32_OptionalFeature | where Name -eq 'Server-Gui-Shell' | Select InstallState returns 1 on a full server and 2 on a server core install. Edit: While my answer above is correct, there are two problems with it: When using this command on a workstation, it returns nothing, so you have to add an extra check for this. It is ...


23

You'll need to enable the "Desktop Experience" feature to get the desktop parts (color schemes, 3d graphics, windows media player etc). We do this on our terminal servers. You might have to force users into using a defined style - this can be done via the local group policy or in a regular domain based GPO. Below screenshot comes from here.


23

No, that's fine. The warning is against using domain.local as your AD domain name. local.domain.tld is perfectly acceptable.


Only top voted, non community-wiki answers of a minimum length are eligible