Questions tagged [windows-server-2008-r2]

A version of Windows for servers significantly updated from Windows Server 2008. Questions about administering Windows Server systems that are specific to a business environment are off topic for Super User; please consider asking on Server Fault instead if your question is on topic there.

Windows Server 2008 R2 is a significantly updated version of Windows Server 2008. Unlike Server 2008, 2008 R2 is only available in 64-bit versions. No 32-bit version exists.

896 questions
101
votes
11 answers

Overcoming the 1024 character limit with setx

I am trying to set environment variables using the setx command, such as follows setx PATH "f:\common tools\git\bin;f:\common tools\python\app;f:\common tools\python\app\scripts;f:\common …
91
votes
8 answers

Using robocopy and excluding multiple directories

I'm trying to copy some directories from a server before I restore from backup (my latest backup was corrupt, so I have to use an older one :( ). I'm in the Windows Recovery Environment and have access to the server's file system G:\ and my backup…
GorrillaMcD
  • 2,472
  • 2
  • 15
  • 14
49
votes
6 answers

How do you download files on a Windows server?

Related question: Native alternative to wget in Windows PowerShell? The question might sound stupid, but this is often a major issue for me. Consider the following scenario: The customer has a fresh Windows Server 2008 based system into which I can…
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
31
votes
2 answers

Windows Server 2008 R2 - How to copy a scheduled task

I would like to create a new scheduled task that is extremely similar to an existing task. It would be a pain to write down or type out all the settings. Is there a way to copy an existing task to create a new one?
21
votes
2 answers

Disable restart after update prompt for server 2008 R2

I run server 2008 r2 as my desktop OS. I am trying to disable the annoying restart prompt that comes up after installing updates. The most I can postpone it to is 4 hours. I have tried disabling “Re-prompt for restart with scheduled installations”…
user48869
20
votes
2 answers

IIS and HTTP/2 server support

Reading the article "What's new in the .NET framework"... https://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx ...it states... Most of the major browsers support HTTP/2, so it's likely that your users will benefit from HTTP/2 support…
gchq
  • 421
20
votes
6 answers

How to set boot disk flag with diskpart

My Windows Server 2008 R2 won't start and stops with Stop 7B, so I start the recovery console and use diskpart to check the disk. There are to partitions one of Type 17 and one of type 07, the detail disk command show me that the disk is not a boot…
kockiren
  • 462
19
votes
3 answers

How can I make sure that users log out of Remote Desktop sessions instead of just closing the RDP window?

We have a bunch of servers that our engineers remote desktop into, but each server has a two connection limit. We will often attempt to RDP into these boxes and we will see the "This machine has exceeded the maximum number of connections"…
JackAce
  • 330
18
votes
6 answers

Windows Server 2008 R2 vs Windows 7 Ultimate

I have a Dual Core Intel CPU E7200, 4 GB RAM, and a NvIDIA 8600 GT for graphics and 500GB HDD. This configuration runs Windows 7 Ultimate very smoothly, but now I recently signed up to the MS WebSiteSpark programme and have downloaded the Windows…
user12696
18
votes
6 answers

How do I stop Remote Desktop from prompting for username and password twice

When I user remote desktop to connect to a Window 7 Professional computer (using win7 pro RDP) it first prompts me for my password: after successfully authenticating there, it connects to the remote machine and prompts for my username and…
alumb
  • 1,514
18
votes
6 answers

how to disable feature that opened port 445 on windows server?

I'm trying to disable services that I do not need, to improve latency and improve security. I found that port 445 is still open by doing telnet on localhost and port 445. As I do not need port 445, I would prefer to close it. How can I find out who…
18
votes
3 answers

Powershell Access to the path denied

I'm sure this has been asked a million times, but I can't figure out why I can't run this simple command in powershell: PS> new-item -path c:\users\me\desktop\testfolder -name (get-date).txt -value (get-date).toString() -itemtype file I am forever…
17
votes
2 answers

VMware Printing vs Hyper-V Printing

In VMware once you connect to your virtual machine, you can access the printers from your host machine. This is a very nice feature, you don't have to setup the printer for your virtual machine. I was wondering can I do the same thing in hyper-v? I…
17
votes
1 answer

How can I stop the remote computer from changing my keyboard layout?

Whenever I open an RDP connection to a remote machine, that machine will be using the English (EN) keyboard layout and I have to constantly switch it back to German. I use a customized keyboard layout on my workstation and this layout is not present…
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
16
votes
1 answer

How do I uninstall a Windows service using a PowerShell script?

I want to find and uninstall a Windows service. How can I accomplish this using a PowerShell script?
sarat
  • 1,536
1
2 3
59 60