programming4us
programming4us
DESKTOP

Windows Server 2008 : Configuring Server Core for Remote Administration - Using the Server Core Registry Editor

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

The Server Core Registry Editor (scregedit.wsf) is a script used to modify the registry on Server Core installations. The script is only available on Server Core installations, not full installations of Windows Server 2008 or Windows Server 2008 R2. The basic syntax of the command is

cscript %windir%\system32\scregedit.wsf /property value

Tip

cscript is the command-based script host used to execute the script file and must be entered first.


Tip

Because the path (%windir%\system32\, normally C:\windows\system32\) is not known to the system, it must be included in the command.


For example, if you want to enable remote desktop connections from other systems to the Server Core installation, you can use the following command:

cscript %windir%\system32\scregedit.wsf /ar 0

The /ar switch enables or disables remote connections. A value of 0 enables remote desktop connections and a value of 1 disables remote desktop connections. The following table shows the common properties and values used with scrededit.wsf.

scregedit.wsf CommandComments
Allow Remote Desktop connections.
/ar 0 | 1
C:\>cscript %windir%\system32\
scregedit.wsf /ar 0
C:\>cscript %windir%\system32\
scregedit.wsf /ar 1

You can enable Remote Desktop with a 0 and disable it with a 1. You can view the current setting with the /v switch like the following: C:\>cscript %windir%\system32\scregedit.wsf /ar /v
Require CredSSP.
/ar 0 | 1
C:\>cscript %windir%\system32\
scregedit.wsf /cs 0
C:\>cscript %windir%\system32\
scregedit.wsf /cs 1

You can allow connections from earlier versions of Windows that don’t support Credential Security Support Provider (CredSSP) with a value of 0, or require CredSSP with a value of 1. If the value is 1, the system blocks connections from computers that don’t support CredSSP (pre-Windows Vista computers).

Figure 1 shows this setting in the GUI of a full installation of Windows Server 2008 server (not a Server Core server). Notice that it shows that connections are only allowed From Computers running Desktop with Network Level Authentication (More Secure). This is the same setting as /cs with a value of 1 to require CredSSP.

You can view the current setting with the /v switch, such as the following:
C:\>cscript %windir%\system32\scregedit.wsf /cs /v

Note

CredSSP is an authentication enhancement used with Remote Desktop Protocol 6.1. It provides an extra layer of security by preventing a client from establishing a session without first authenticating.

Configure automatic updates.
/au 4 | 1
C:\>cscript %windir%\system32\
scregedit.wsf /au 4
C:\>cscript %windir%\system32\
scregedit.wsf /au 1

You can enable automatic updates with a 4 and disable it with a 1. You can view the current setting with the /v switch, such as the following:
C:\>cscript %windir%\system32\scregedit.wsf /au /v

Allow IPsec Monitor remote management.
/im 0 | 1
C:\>cscript %windir%\system32\
scregedit.wsf /im 0
C:\>cscript %windir%\system32\
scregedit.wsf /im 1

You can enable remote management using the IPsec Monitor with a value of 1 and disable it with a 0. You can view the current setting with the /v switch, such as the following: C:\>cscript %windir%\system32\scregedit.wsf /im /v

Figure 1. Enabling Remote Desktop and requiring CredSSP

Other  
  •  Managing Windows Server 2012 (part 13) - Using Remote Desktop - Supporting Remote Desktop Connection clients
  •  Managing Windows Server 2012 (part 12) - Using Remote Desktop - Remote Desktop essentials, Configuring Remote Desktop
  •  Managing Windows Server 2012 (part 11) - Optimizing toolbars
  •  Managing Windows Server 2012 (part 10) - Customizing the desktop and the taskbar - Using Auto Hide and locking, Controlling programs in the notification area
  •  Managing Windows Server 2012 (part 9) - Customizing the desktop and the taskbar - Configuring desktop items, Configuring the taskbar
  •  Managing Windows Server 2012 (part 8) - Using the System console
  •  Managing Windows Server 2012 (part 7) - Using Control Panel
  •  Managing Windows Server 2012 (part 6) - Working with Computer Management
  •  Managing Windows Server 2012 (part 5) - Working with Server Manager - Adding servers for management, Creating server groups, Enabling remote management
  •  Managing Windows Server 2012 (part 4) - Working with Server Manager - Getting to know Server Manager
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us