Archive for May, 2013

Debugging: Install/Deinstall Services within Visual Studio

To run a service you actually need to compile it and install it with InstallUtil.exe. To make this process faster you can easily add this function to Visual Studio.
Go to “Tools\External Tools….” and add following:

image

Title
Install Service

Command
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe

Arguments
$(TargetPath)

Initial directory
$(TargetDir)

Use Output Window
Should be selected

To uninstall the service Add following:

Title
Uninstall Service

Arguments
/u $(TargetPath)

Initial directory
$(TargetDir)

Use Output Window
Should be selected

No Comments »

admin on May 31st 2013 in .Net, IT

Enable Settings to be able to manage a Windows Server 2012 Core

Powershell
Enable-PSRemoting –Force

Tests
Test-WSMan –ComputerName [Computer]
Enter-PSSession –ComputerName [Computer]

Manage via Server Manager
Configure-SMRemoting.exe –Enable

MMC
Enable-NetFirewallRule –DisplayGroup “Windows Remote Management”

Remote Desktop
cscript C:\Windows\System32\Scregedit.wsf /ar 0

or just conifgure it via sconfig

Tests
Run from another machine mstsc and connect to the server.

No Comments »

admin on May 2nd 2013 in Windows Server




Check out new movies online website. Download and buy movies now.
1