Tag Info

Hot answers tagged

18

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


12

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

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

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

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.


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

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

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


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

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

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

add `-noexit' PowerShell.exe -noexit -Command Enter-PSSession -computername Win2012SrvCore -credential administrator


2

You could use this code snippet for a .vbs file (VBScript): Function WindowsUnZip(sUnzipFileName, sUnzipDestination) Set oUnzipFSO = CreateObject("Scripting.FileSystemObject") If Not oUnzipFSO.FolderExists(sUnzipDestination) Then oUnzipFSO.CreateFolder(sUnzipDestination) End If With CreateObject("Shell.Application") ...


2

Are you using the Windows 2003 version of devcon? I don't think it is 100% compatible with Windows 2008. Try downloading the WDK from Microsoft and extracting the newest version from there. link text The newest x64 version is in: WDK\setuptools_x64fre_cab001.cab - extract the _devcon.exe_00000 file and rename to devcon.exe. The proper version of the file ...


2

You can't install .NET framework on 2008 Server Core so if the application requires it it won't install on Core. Saying that, 2008 Core doesn't actually use a whole lot less resources than the standard version - it just has a much smaller attack footprint so it should run pretty decently in a VM anyway.


2

There's very good instructions on how to do that on this page here, but in case that link ever goes dead, I'll reproduce the content here: sc config msiscsi start= auto [SC] ChangeServiceConfig SUCCESS Then I entered: net start msiscsi The Microsoft iSCSI Initiator Service service is starting. The Microsoft iSCSI Initiator Service service was started ...


2

You use the same media. As part of the install process you're prompted to select the edition. Check this out for screen shots revert to core after an install? doubt it very much.



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