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


16

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


15

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


13

ctrl+shift+esc brings up the task manager directly. You can launch it from there. Alternatively, ctrl+alt+end will send a ctrl+alt+del to the RDP session if you want to take the long way.


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


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.


7

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

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


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


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

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


5

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.


5

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

The actual document names are deeper in the hierarchy. Here's how you can get a list of default docs: Get-WebConfigurationProperty -Filter /system.webServer/defaultDocument/files/add -PSPath "IIS:\sites\Default Web Site" -Name value | Select value


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

Server 2008 R2 Core takes about 350 MB just to start. If you have a smaller AD and DNS install you can easily fit it in 512MB (without swapping going crazy). Anything smaller and you'll pretty much be swapping non-stop.


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

Okey went to look in to one russian forum(i think) and there was english command: Add-windowsfeature hyper-v-powershell Which successfully installed powershell cmdlets (phew).


3

Instead of remotely configuring the setting, you could just create a scheduled task through Group Policy. As you mentioned, the task created during the normal method uses a volume ID; its action looks something like this: vssadmin.exe Create Shadow /AutoRetry=15 /For=\\?\Volume{f9d9bfa1-f506-f24f-f54f-fe6ef47fd6f4}\ So of course the challenge for you ...


3

Turns out this was a registry entry that was somehow removed. I can provide some details and I'm sure there will be questions but I won't be able to answer all of them without going into large detail about our environment. Regardless, here is an article detailing the fix: ...


3

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


3

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


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



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