Tag Info

Hot answers tagged

16

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 ...


9

I first tried to copy and run cleanmgr.exe (Disk Cleanup tool), but it has too many dependencies on DLLs which are not present in Core/Hyper-V Server. So instead I deleted the directory manually. First I removed all junction points and symbolic links. To do this I used junction.exe from SysInternals. Copy the exe into a directory in your path. I ran it to ...


9

No, it's not possible. You can't add a local user from MachineA to a local group on MachineB. If you create a local user on the server that is the same as the local user on the remote machine and you make it so that the passwords are identical, you can grant that user access to resources on the server and it will work. It's not a great solution since you ...


9

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 ...


8

Simply add your powershell command line as a new value to the "AvailableShells" regkey to have it as a machine-wide setting: reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AlternateShells\AvailableShells" /v "90000" /t REG_SZ /d "%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\Powershell.exe" Reference: ...


7

From http://thebackroomtech.com/2008/03/10/windows-server-2008-password-complexity-requirements/ To lift the password complexity: secedit /export /cfg C:\new.cfg Then you edit new.cfg (it is ini format) and change line “PasswordComplexity = 1″ to “PasswordComplexity = 0″. Apply it with: secedit /configure /db ...


7

This TechNet article outlines the requirements and procedure for installing Microsoft SQL Server 2012 on Windows Server core. As you'll see, 2008 is not listed as a supported operating system for this. This is because the .NET Frameworks required for this to run are only supported on core editions of 2008 R2 and later.


6

You'd think this should be easy, wouldn't you? Well, you'd be wrong. It's not. Shadow Copies of Shared Folders is available in all editions of Windows Server 2008 R2. However, the user interface is not available for the Server Core installation option. To create shadow copies for computers with a Server Core installation, you need to manage this feature ...


5

Assuming this isn't a domain machine you can configure through domain Group Policy, you should be able to connect a local Group Policy Editor mmc to the core machine from a full client and set the local policy that way (assuming 2012 still works as 2008 did): ...


5

As the GUI is just a feature, you can query the list of installed features Just testing this in powershell on a server here worked well enough: Dump a list of features to grab the name Get-WmiObject Win32_OptionalFeature > features.txt Searching the text of features.txt tells me that the feature is named 'Server-Gui-Mgmt' (other features may be ...


4

If you close all command prompt windows and want to open a new Command Prompt window, press CTRL+ALT+DELETE, click Start Task Manager, click More Details, click File, click Run, and then type cmd.exe. Alternatively, you can log off and log back on. Quick google search! Source: Technet


4

On the command line: \\tsclient\c Either use Powershell, or map the UNC to a drive letter.


4

Microsoft does not recommend doing in-place upgrades of Domain Controllers. I'd strongly consider a plan where you demote the DCs one at a time, upgrade them to 2012 with a clean install, and then promote them again. Doing it this way will let you get to 2012 and have whatever features you want. You can make them RODCs, you can make them writable, you can ...


4

In many cases IE is fairly well integrated into the OS for other functions beside simple web browsing. For instance, if you open the Internet Control Panel in a full GUI version of Windows it is essentially the IE control panel. IE is never really "gone". I would imagine that in core the same is still applicable and the updates may actually be fixing ...


4

According to the SharePoint product team, the answer is no. http://blogs.msdn.com/sharepoint/archive/2010/01/22/operating-system-requirements-of-sharepoint-2010.aspx


4

run iscsicpl, it's the exact same interface as Win7 (and very similar to 2008/Vista). It's all already built in and ready to go. Make sure you autostart the iSCSI service: sc config msiscsi start=auto I highly recommend setting up a small (~200MB) LUN and just setting it aside for future use as a quorum drive in case you ever cluster hyper-v. It's a tiny ...


4

I ended up grabbing ntrights.exe from the Windows 2003 Resource Kit and placing it on the server, then running ntrights +r SeServiceLogonRight -u <my user>. I didn't install the resource-kit, because I only needed ntrights.exe Installation threw some OLE-related errors (that seemed to be irrelevant, but still)


4

You can use Powershell to show the available Windows Features: Import-Module ServerManager Get-WindowsFeature | out-file C:\WindowsFeatures.txt -width 300 Because the data is a long and wide it is better to pipe it into a file and review it there. it shows that '.NET Framework 3.5 Features' are available, but '.NET Framework 3.5 (includes .NET 2.0 and ...


4

dism /online /enable-feature /featurename:NetFx3 /All /LimitAccess /Source:x:\sources\sxs Where x: is the drive letter of the installation media or mapped network share that contains a copy of the installation files.


3

Import the certificate using certutil: certutil -importpfx [Path to certificate file] Add the HTTPS binding to the site with appcmd: appcmd set site "Default Web Site" /+bindings.[protocol='https',bindingInformation='*:443:'] Add the SSL Certificate to the endpoint with netsh: netsh http add sslcert ipport=0.0.0.0:443 certhash=[thumbprint of ...


3

Windows Server 2008 R2, as well as Windows 7, comes with built-in .NET Framework 3.5 SP1. http://social.technet.microsoft.com/Forums/en/windowsserver2008r2webtechnologies/thread/ac1bf719-0a88-4b5d-be98-395f2623e805


3

I don't know why sconfig does have this error on your server. scregedit.wsf is located in system32: cd c:\windows\system32 Cscript scregedit.wsf /AU /v 4 would turn on automated updates. You can also change the registry directly, the key is at: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update There is a DWORD value named ...


3

Funny, that MSDN article you linked contained the answer: PRODUCT_*_SERVER_CORE values are not returned in Windows Server 2012. This is because Server 2012 can be freely converted between "Server Core" and "full" installation simply by adding or removing the appropriate features. You will want to check for the presence or absence of those features ...


2

Just benchmark these services like you normally would with command-line tools that work on both like sqlio.


2

I suspect that since they are essentially the same in 2012 with just a few optional features to set them apart, you could query the features instead. this article is a reference for the Win32_OptionalFeature class, which will allow you to query the features. The optional features are defined as Server-Gui-Mgmt-Infra, Server-Gui-Shell and Desktop-Experience, ...


2

The command in syneticon-dj's answer does not work, because a normal elevated administrator does not have write access to the key. The comments mention that you need to change the permissions. But this involves a lot of clicking in regedit.exe and does not work for scripted installations. I use the following PowerShell script: $definition = @" using ...


2

Windows server has wireless turned off by default. You have to add the feature under the server manager. http://technet.microsoft.com/en-us/magazine/gg597292.aspx


2

I actually managed to access the device manager of a remote machine. Make sure both the PnP service and the remote registry service are running on the remote machine. Then there is actually a group policy setting that handles whether or not you are able to remotely access a machine's plug and play service (which is what device manager actually connects to) ...


2

The difference IS minimal even on a 512mb vm and that is simply something only running DNS or similar. Do not forget that not used parts can be moved out to a swap file by the OS.... and it does so with the GUI when not in use. I Would use server core more on stauff I dont need to maintain, like for example Hyper-V hosts in a failover cluster. One acts up ...


2

It depends on the installer of your software. Many installers wont run because they rely on Windows components that are not present in Server Core. Many installers come with a -quiet or -silent switch to perform the installation without starting the GUI part of the installer. In many cases they have an answer file in which you can specify the components to ...



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