129
votes
Accepted
Windows Server restart / shutdown history
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):
...
- 2,554
58
votes
Accepted
How can I view active remote connections (RDP) to a Windows server?
You can type "Query User" into a command prompt on the remote machine to get a very quick look
- 15.3k
57
votes
How do I make a connection private on Windows Server 2012 R2
A GUI way of making this change:
Hit Winkey + R to open Run prompt and type gpedit.msc
Navigate to: Computer Configuration/Windows Settings/Security Setting /Network List Manager Policies.
Choose ...
- 721
55
votes
RDP error "The function requested is not supported" after enabling NLA
I had the same issue. I found the issue has to do with a Windows Update patch that was pushed out to my work station in last nights Windows Updates. There was a critical CVE (CVE-2018-0886) for RDP ...
- 661
41
votes
Open a new cmd console on Windows 2012 Server core after closing the last one?
You can also press the following keys simultaneously to bring up the Task Manager - Ctrl + Shift + Esc Then, as xstnc said, File -> Run New Task -> cmd/powershell
- 569
39
votes
How can I view active remote connections (RDP) to a Windows server?
Run the "qwinsta" command on the server, or with the /server:servername switch.
>qwinsta /?
Display information about Remote Desktop Sessions.
QUERY SESSION [sessionname | username | sessionid]
...
- 1,929
38
votes
How do I make a connection private on Windows Server 2012 R2
Using Powershell. Here is an example of changing the network profile of a network interface called Ethernet to "Private." This is a one line command.
Set-NetConnectionProfile -InterfaceAlias Ethernet ...
- 481
33
votes
Accepted
Default browser opens to msn.com when logging into Windows Server
I had the same issue with a Windows 8 installation. The solution described in a microsoft.com forum is:
You can disable it via setting following registry entry from 1 to 0:
HKEY_LOCAL_MACHINE\...
- 446
31
votes
Auto Reconnect VPN on Disconnection due to any reason - Persistent VPN
I sort it out using "Task Scheduler"
Here are steps to do it
Make VPN Connection and give it Some Name Let say "My VPN"
Open "Task Scheduler" from Start Menu and click "Create Task" (Option can be ...
- 631
29
votes
Accepted
Are these DNS settings a good idea or not?
Workstations should have your internal DNS server(s) as the only DNS server(s) in TCP/IP configuration
PCs pick DNS server from the list and stick to it for some time.
So if by some chance your ...
- 1,785
28
votes
Accepted
How to schedule a task to call a URL
Use the Invoke-WebRequest cmdlet from Powershell.
In your task:
Action: Start a program
Program/script: powershell.exe
Arguments: -Command "Invoke-WebRequest http://myapp/BackgroundTask/Run"
- 16.6k
25
votes
How can I view active remote connections (RDP) to a Windows server?
You can see in the Task manager users Tab
- 251
25
votes
Accepted
How do print servers work?
In general, print servers are used to both distribute drivers to client computer and centrally process and manage the print jobs. In large environments it's useful to have homogeneous drivers (which ...
- 53.6k
24
votes
Public Key Authentication Windows Port of OpenSSH
Wow. Just spent a couple of hours debugging this.
So, turn logging for the ssh server:
Edit /ProgramData/ssh/sshd_config
Ensure you have SyslogFacility LOCAL0
Ensure you have LogLevel DEBUG3
...
- 341
23
votes
Accepted
How to let non-admins manage selected domain groups' membership?
You can specify the managedBy attribute, and check the box for "Manager can update membership list". (This grants write permission for the Member attribute.)
The person(s) who need to edit the group ...
- 34.7k
22
votes
User in Administrators group has not the same rights as Administrator (Win 2012 R2)
This could be caused by User Account Control, a feature (hated by many) which makes so that, even if you have administrative rights, you don't actually have them unless you explicitly request them. ...
- 69.4k
20
votes
Windows Server restart / shutdown history
Turning @user10082 comment into an answer. The proposed solution is a one-liner, as Powershell script:
Get-EventLog -LogName System |? {$_.EventID -in (6005,6006,6008,6009,1074,1076)} | ft ...
- 291
20
votes
How to See Detailed 500 Errors?
In IIS Manager, select your site, double-click the Error Pages icon and click on Edit Feature Settings in the pane on the right. Choose Detailed Errors. If that is not enough, click on the .NET Error ...
- 13.8k
19
votes
Accepted
Are all domain controllers on a small network considered equivalent/equal?
Yes and no, sort of.
Active Directory replication in general is multi-master. You can create or change an object on any writable domain controller, and that change will be replicated to all other ...
- 55.2k
19
votes
Accepted
GPOs fail to apply; reason: Inaccessible, Empty, or Disabled; Server 2012 R2 and Windows 10
Check the patch joeqwerty link too.
There is the important detail:
Known issues
MS16-072 changes the security context with which user group policies are retrieved. This by-design behavior change ...
- 16.5k
19
votes
Converting Windows 2012 R2 from Hyper-V to KVM (qemu)
What's your tool for converting? MVMC? You can also try StarWind v2v converter: https://www.starwindsoftware.com/converter It was a big help at my time. And besides, it makes identical hard drive when ...
- 8,848
18
votes
Should I still have a physical DC, even post-Server 2012?
One rationale for retaining one physical DC per domain is if there is a major incident that affects the host or trashes the frame storage for the virtualized DC's, you would have at least one physical ...
- 34.7k
18
votes
CRITICAL STRUCTURE CORRUPTION on Windows Server 2012 R2
xenpci.sys (EJBPV XenPCI Driver (Checked Build), James Harper)
(Checked Build) is a huge red flag. You absolutely should not be using "checked" builds of anything in production. If your hosting ...
- 55.2k
18
votes
Mixing disks of different sizes in a Storage Spaces pool
These are the document you are looking for:What are columns and how does Storage Spaces decide how many to use? and Storage Spaces - Designing for Performance and Storage Spaces: Understanding ...
- 6,848
16
votes
How can I hide the Recycle Bin on Windows Server 2012?
You can use gpedit.msc to accomplish this, just like you are alluding to in your link:
Run gpedit.msc from the run line (WIN+R) on the server. Then go to the settings in the picture above.
Then ...
- 32.5k
16
votes
Accepted
Converting Windows 2012 R2 from Hyper-V to KVM (qemu)
This this
yum install qemu-img
First, check the file, make sure it’s ok.
qemu-img check -r all rmcjmc01.vhdx
If ok, convert the file
qemu-img convert -O qcow2 rmcgmc01.vhdx rmcgmc01.qcow2
- 190
16
votes
Accepted
Why do I get office updates for server 2012R2
Office updates don't necessarily mean a full copy of office is installed. It can just be certain components (access database connectors, deployment tools, etc) related to office. You'll probably find ...
- 15.5k
16
votes
Accepted
In-place upgrade Server 2012 R2 to Server 2019 promised, but not available?
Bought licenses for Windows server 2019 because Microsoft
documentation claims you can upgrade from Windows Server 2012 R2
directly in-place.
You can upgrade in-place, but not to an evaluation ...
- 109k
15
votes
Accepted
MSTSC: Black Areas on Remote Desktop
I solved this issue by disabling Persistent bitmap caching in mstsc options for my VM:
After doing this, I haven't been experiencing any issues for several month.
15
votes
Install windows 2012 R2 over KVM-virtualizaton
This is how I currently do installs of Windows with virtio drivers at install:
Create the new VM with a genuine Windows installation ISO image. I cannot guarantee that anything will work if you use a ...
- 240k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
windows-server-2012-r2 × 3981windows × 610
active-directory × 557
windows-server-2012 × 238
group-policy × 226
powershell × 205
hyper-v × 176
domain-name-system × 174
domain-controller × 164
windows-server-2008-r2 × 159
iis × 155
remote-desktop-services × 123
networking × 121
iis-8.5 × 115
remote-desktop × 103
azure × 87
windows-server-2016 × 83
network-share × 79
wsus × 72
windows-update × 71
windows-server-2008 × 70
ssl × 70
rdp × 70
windows-10 × 65
rds × 65