Showing posts with label Windows Server 2008. Show all posts
Showing posts with label Windows Server 2008. Show all posts

Sunday, October 18, 2015

How to allow Windows 7 to save RDP password and also remote to Windows Server 2008 or above server?

1. On your Windows 7 client, click Start, input gpedit.msc in search bar, press Enter.

2. Navigate to Computer Configuration\Administrative Templates\System\Credentials Delegation.

3. On the right pane, double click “Allow Saved Credentials with NTLM-only Server Authentication”.

4. Click Enable. In the Show contents dialog box, click Add, type the name of remote computer(server) in this format: TERMSRV/*, then click OK.
image 

5. On Server, go to Computer Configuration\Policies\Administrative Templates\Windows Components\Terminal Services\Remote Desktop Connection Client

  • Prompt for credentials on the client computer – Disabled
  • Do not allow passwords to be saved – Disabled

image

6. Run “gpupdate /force” on both side (Server and client)

 

Reference:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Q_26363489.html

http://www.remkoweijnen.nl/blog/2007/10/18/how-rdp-passwords-are-encrypted/

http://www.nirsoft.net/utils/remote_desktop_password.html

http://www.oxid.it/ca_um/topics/remote_desktop_password_decoder.htm

http://superuser.com/questions/307776/are-saved-remote-desktop-credentials-secure-on-the-local-machine

https://naveensnayak.wordpress.com/2011/08/17/windows-7-remote-desktop-connection-save-credentials-not-working/

https://social.technet.microsoft.com/Forums/windows/en-US/475ec46d-aafe-4040-a345-3dbcffeb9345/remote-desktop-wont-remember-credentials-on-windows-7

http://answers.microsoft.com/en-us/windows/forum/windows_7-security/remote-desktop-connection-not-using-saved/13a17d84-b008-4767-95fb-b891e9e6bc66?auth=1

http://superuser.com/questions/604483/windows-7-remote-desktop-connection-save-credentials-not-working

Print Friendly and PDF
Share/Bookmark

Sunday, June 1, 2014

How to install a certificate to a Windows Server 2008 R2 SP1 from a Windows Server 2003 R2 SP1 Standalone CA which is the certificate enrollment Web pages is not patch

How to install a certificate to a Windows Server 2008 R2 SP1 from a Windows Server 2003 R2 SP1 Standalone CA which is the certificate enrollment Web pages is not patch (http://support.microsoft.com/kb/922706/en-us)

Since the Windows Server 2008 R2 cannot download and install the Root CA certificates and also request a client certificates from a Windows Server 2003 R2 SP1 Standalone CA which is the certificate enrollment Web pages is not patched.

We will need a Windows XP (Or Windows Server 2003) machine to complete the task.

Download the Root CA certificates

1: On a Windows XPstart the Internet Explorer
2. Go to the certificate server website (in our case http://abc....../certsrv)
3. Click on Download CA certificate, certificate chain, or CRL
4. Click Download CA Certificate chain and save it on the machine.
5. Once the certificate is downloaded, copy it to the unmanaged Windows Server 2008 R2 (Our target monitored server)

6. Login the unmanaged Windows Server 2008 R2

7. Open an MMC connect to Local Computer and load the certificates snap-in (Local Computer)
8. Go to Trusted Root Certification Authorities right click, all tasks, import and import the Root CA.

Request the unmanaged Windows Server client certificates and installation

1. start the Internet Explorer
2. Go to the certificate server website (in our case http://demo-dc01/certsrv)
3. Click on Request a certificate, choose Advanced certificate request next click

Create and submit a request to this CA

On the Advanced Certificate Request page, do the following:

  1. Under Identifying Information, in the Name field, enter a unique name, for example, the fully qualified domain name (FQDN) of the computer you are requesting the certificate for. For the remaining fields, enter the appropriate information.

clip_image001Note

Event ID 20052 of type Error is generated if the FQDN entered into the Name field does not match the computer name.

 

  1. Under Type of Certificate Needed:
    Click the list, and then select Other.
    In the OID field, enter 1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2
  2. Under Key Options, make the following selections:
    Click Create a new key set
    In the CSP field, select Microsoft Enhanced Cryptographic Provider v1.0
    Under Key Usage, select Both
    Under Key Size, select 1024
    Select Automatic key container name
    Select Mark keys as exportable
    Clear Export keys to file (not required for Windows Server 2008 AD CS)
    Clear Enable strong private key protection
    Click Store certificate in the local computer certificate store.
  3. Under Additional Options:
    Under Request Format, select CMC
    In the Hash Algorithm list, select SHA-1
    Clear Save request to a file
    In the Friendly Name field, enter the FQDN of the computer that you are requesting the certificate for.
  4. Click Submit.
  5. If a Potential Security Violation dialog box is displayed, click Yes.
  6. When a Certificate Pending page displays, close the browser.

To approve the pending certificate request

  1. Log on to the computer hosting Certificate Services as a certification authority administrator.
  2. On the Windows desktop, click Start, point to Programs, point to Administrative Tools, and then click Certification Authority.
  3. In Certification Authority, expand the node for your certification authority name, and then click Pending Requests.
  4. In the results pane, right-click the pending request from the previous procedure, point to All Tasks, and then click Issue.
  5. Click Issued Certificates, and confirm the certificate you just issued is listed.
  6. Close Certification Authority.

To retrieve the certificate

  1. Log on to the computer where you want to install a certificate (for example, the gateway server or management server).
  2. Start Internet Explorer, and connect to the computer hosting Certificate Services (for example, http://<servername>/certsrv).
  3. On the Microsoft Certificate Services Welcome page, click View the status of a pending certificate request.
  4. On the View the Status of a Pending Certificate Request page, click the certificate you requested.
  5. On the Certificate Issued page, click Install this certificate.
  6. In the Potential Scripting Violation dialog box, click Yes.
  7. On the Certificate Installed page, after you see the message that Your new certificate has been successfully installed, close the browser.

On Windows XP

Step 4: Open an MMC connect to Local Computer and load the certificates snap-in (Local Computer)

Step 5: Go to Personal, select the client certificate which is you just installed right click, all tasks, export -> “Personal Information Exchange - PKCS #12 (.PFX)

  1. In the new wizard kill “Next”
  2. Select “Yes , Export the private key”
  3. Click “Next”
  4. Select “Personal Information Exchange – PKCS #12 Certificates (PFX)”
  5. Select “Enable Strong protection (requires IE5.0, NT4 SP4 or above)”
  6. Click “Next”
  7. Type a password for the certificate twice and kill “Next”
  8. Select “Browse” c:\serverFQDN.pfx”
  9. Click “Next”
  10. Check the export information and if correct kill “Finish”
  11. Click “OK” to finish the export

Save the .pfx on desktop and copy it to the unmanaged Windows Server 2008 R2

Install the Client certificates on unmanaged Windows Server 2008 R2

  1. Login the Windows Server 2008 R2
  2. On the start menu kill “Start” and “Run”

  3. Type “cmd”

  4. Navigate to > cd “program files\System Center Operations Manager 2007\Supportools\i386”

  5. Type >MOMcertimport.exe “c\:servername.domain.com.pfx” or “c:\servername.pfx”

  6. Type the asked password for the certificate import and press “Enter”.

  7. The certificate is now imported in OpsMgr 2007.

  8. Restart the “OpsMgr Health Service” on the server.

Reference:

How to Obtain a Certificate Using Windows Server 2003 Stand-Alone CA in Operations Manager 2007

http://technet.microsoft.com/en-us/library/bb735417.aspx

How to use Certificate Services Web enrollment pages together with Windows Vista or Windows Server 2008

http://support.microsoft.com/kb/922706/en-us

Update for Windows Server 2003 (KB922706)

http://www.microsoft.com/en-us/download/details.aspx?id=4758

http://www.toolzz.com/?p=279

http://blogs.technet.com/b/operationsmgr/archive/2009/09/10/step-by-step-for-using-certificates-to-communicate-between-agents-and-the-opsmgr-2007-server.aspx Print Friendly and PDF
Share/Bookmark

Thursday, August 22, 2013

Remote Desktop Services Uses the wrong Certificate - You receive various certificate related error messages when connecting to a Terminal server that is running Windows Server 2008 or Windows Server 2008 R2

When you try to connect to Windows Server 2008/2008 R2, you receive the following errors:

Name in the certificate from the remote computer:
 
<Not match>
 
The solution is login into this server and follow the following procedure:

1. go to Run and enter "mmc.exe"
2. add the add-in - certificates (for the computer account) (and select local computer)
3. navigate to the remote desktop folder -> certificates
4. delete the certificate for the name of the server and close the mmc instance
5. go to: administrative tools -> remote desktop services -> remote desktop session host configuration
6. select the instance in the main window - rdp -tcp -> right click and select properties
7. on the window that pops up, select default
8. restart the remote desktop service

Reference:

http://rivald.blogspot.com/2011/06/replacing-self-signed-remote-desktop.html

http://support.microsoft.com/kb/2000960

Print Friendly and PDF
Share/Bookmark

Tuesday, January 8, 2013

Windows Server 2008 R2 Rebuild Mirror (Windows build-in software RAID 1)

<You must backup all the data before to rebuild mirror>

There are mirror volume (RAID 1) have been created by two physical disk (Disk 1 and Disk 2)

The Disk 2 volume is become missing and it is become “Foreign Disk” like the following:

1

The solution is the following:

1. Full backup the disk 1 (The disk and volume is still healthy).

2. Select Disk 1, right click, “Remove Mirror ….”

2

3. Select the “Missing” disk and Remove mirror.

3

4. Click “Yes”

4

5. Select the “Foreign Disk” and right click, then “Import Foreign Disk……”

5

6. Press “OK”

6 

7. Press “OK”

7

8. You will got a new volume like the following disk 2:

8

9. Select disk 2 (which is you just import) and delete the volume.

9

10. Press “Yes” (Check the selected volume very carefully, do not select the wrong volume, otherwise all data will be deleted)

10

11. Select disk 2, right click and select “Convert to Dynamic Disk….”

11

12. Press “OK”

12

13. Select disk 1 and right click “Add Mirror….”

13

14. Click “Add Mirror”

14

15. The mirror have been start to rebuild now. (Remark: I also change the drive letter for identify only)

15

Print Friendly and PDF
Share/Bookmark

Thursday, November 8, 2012

Printing slow on old machine after Printer server have been migrate to Windows Server 2008 R2

The printing slow on old machine after Printer server have been migrate to Windows Server 2008 R2, it is because those machine is not fast enough to do the render print job. In previously, all the print job rendering will be handle by Print server. Start from Windows Server 2008, all the print job rendering will be handle by default for client. It is because it will helping to reduce the workload on the print service (printer spool) on the server. It is helping to prevent the service overload, and then this service down, all user cannot print.

The workaround solution is disable the print job rendering on the client side:

image

Print Friendly and PDF
Share/Bookmark

Sunday, July 3, 2011

How to enter command prompt windows when install Windows Server 2008

Boot the machine from Windows Server 2008 DVD

Enter the installation.

pressing Shift+F10

Once invoked, the command prompt window will appear

Print Friendly and PDF
Share/Bookmark

Wednesday, July 21, 2010

IE 8 multi homepages and GPO

IE 8 multi homepages configuration by GPO which is support by Windows Server 2008 or above.

For more information:

http://community.spiceworks.com/attachments/post/0002/3760/GPO_-_Force_IE_to_default_primary_and_multiple_home_page_tabs.pdf

Print Friendly and PDF
Share/Bookmark

Saturday, June 12, 2010

Back Up and Restore the DHCP Database (Windows Server 2008)

http://technet.microsoft.com/en-us/magazine/ff621490.aspx

Print Friendly and PDF
Share/Bookmark

Monday, May 3, 2010

Windows Storage Server 2008 and iSCSI Software Target 3.2 documentation on TechNet

http://technet.microsoft.com/en-us/library/dd573315%28WS.10%29.aspx

http://technet.microsoft.com/en-us/library/dd573326%28WS.10%29.aspx

Print Friendly and PDF
Share/Bookmark

Monday, March 15, 2010

How to make WebSense (Websense Web Security v7) work with Windows 7/2008

 

Question: I am using Windows 2008 Active Directory. I have DC Agent and Logon Agent set up, but Web filtering is still not working as I expected. Does version 7 support Active Directory 2008?

Answer: For Websense Web Security v7.0, DC Agent is not supported in a Windows 2008 Active Directory environment. To identify users successfully, you need to employ Logon Agent and modify NTLM Security permissions. Windows 2008 AD uses NTLM-2 (version two). Websense transparent agents were designed using NTLM (version one). DC Agent is scheduled to work with Windows 2008 Directory Service in a version of Websense Web Security expected later in 2009.

http://kb.websense.com/pf/12/webfiles/Webinars/Q&A/January_Webinar_Q&A.pdf

The workaround is modify NTLM Security permissions to NTLM v1

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]

"LmCompatibilityLevel"=dword:00000001

Print Friendly and PDF
Share/Bookmark

Tuesday, February 23, 2010

Achieving High Availability and Scalability - ARR and NLB (Windows 2008 IIS7.0)

Achieving High Availability and Scalability - ARR and NLB

http://learn.iis.net/page.aspx/511/achieving-high-availability-and-scalability---arr-and-nlb/

 

Download a powerful load balancer and caching solution free on Windows Server 2008 or later with Application Request Routing (ARR) 2.0

http://blogs.iis.net/mailant/archive/2009/11/09/download-a-powerful-load-balancer-and-caching-solution-free-on-windows-server-2008-or-later-with-the-application-request-routing-arr-2-0.aspx

Print Friendly and PDF
Share/Bookmark

Monday, February 22, 2010

Windows Server 2003 to Windows Server 2008 R2 Upgrade Paths

Upgrading your Active Directory to Windows Server 2008

http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2008/04/08/upgrading-your-active-directory-to-windows-server-2008.aspx 

Transitioning your Active Directory to Windows Server 2008

http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2008/03/02/transitioning-your-active-directory-to-windows-server-2008.aspx

Print Friendly and PDF
Share/Bookmark

Monday, December 28, 2009

HVRemote (Hyper-V Remote Management Configuration Utility)


 

  • HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands.

  • HVRemote can diagnose common configuration errors.

  • HVRemote is locale neutral, although output is in English only.

  • HVRemote can configure all combinations of workgroup and domain joined clients and servers.


 



http://code.msdn.microsoft.com/HVRemote

In the Client and Server both in workgroup, the following things need to aware:

1. The local account on server should be local administrator

2. The hostname and IP address of Hyper-V Server need to add to hosts file of the Client for Remote access (Eg. Windows 7 remote server administration tools (RSAT)). Print Friendly and PDF
Share/Bookmark

Tuesday, December 8, 2009

Enable and Disable Windows Firewall Quickly Using Command-Line (From http://www.winhelponline.com/blog/enable-and-disable-windows-firewall-quickly-using-command-line/)

Enabling Windows Firewall


Click Start, Run and type:


Netsh firewall set opmode enable


 


Disabling Windows Firewall


Click Start, Run and type:


Netsh firewall set opmode disable


http://www.winhelponline.com/blog/enable-and-disable-windows-firewall-quickly-using-command-line/

Print Friendly and PDF
Share/Bookmark

找回Vista及Server 2008的RunAs 功能

The command-line Runas utility is handy for launching programs under different accounts, but it’s not convenient if you’re a heavy Explorer user. ShellRunas provides functionality similar to that of Runas to launch programs as a different user via a convenient shell context-menu entry.

Screenshot

ShellRunas

 

Using ShellRunas


Usage: shellrunas [/reg | [/quietreg ] | /regnetonly [/quiet] | unreg | [/netonly] <program> <arguments>


























/reg                      Registers ShellRunas shell context-menu entry
/regnetonlyRegisters Shell /netonly context-menu entry
Note: a command prompt will flash when the program starts
/unregUnregisters ShellRunas shell context-menu  entry
/quietRegister or unregisters ShellRunas shell context-menu entry without result dialog
/netonlyUse if specified credentials are for remote access only
<program>Runs program with specified credentials and parameters

http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx Print Friendly and PDF
Share/Bookmark

Monday, November 23, 2009

Add RunAs to Explorer Context Menu in Vista and Server 2008

That’s where the RunAs command (XP and Server 2003) came in handy over the years.  You could login as a non-privileged user but if you needed to do something which required Admin rights, you could hold down Shift and Right Click on the application in Windows Explorer and start the application using your Admin credentials.

With the release of Windows Vista and Server 2008, this all changed.  True, you could still use the RunAs.exe from the command line however, if you wanted to do it with Windows Explorer.  Fortunately Mark Russinovich has written a new tool called which adds the RunAs feature to Windows Explorer.

Extracted from:

http://www.groovypost.com/howto/microsoft/vista/add-runas-to-explorer-context-menu-in-vista-and-server-2008/ Print Friendly and PDF
Share/Bookmark

Thursday, September 24, 2009

Remote Server Administration Tools for Windows 7

Remote Server Administration Tools for Windows® 7 enables IT administrators to manage roles and features that are installed on computers that are running Windows Server® 2008 R2, Windows Server® 2008, or Windows Server® 2003, from a remote computer that is running Windows 7.

http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en Print Friendly and PDF
Share/Bookmark

GUI for Windows Server 2008 Server Core (CoreConfigurator)

Introducing CoreConfigurator

Features:

  • Product Activation

  • Configuration of display resolution

  • Clock and time zone configuration

  • Remote Desktop configuration

  • Management of local user accounts (creation, deletion, group membership, passwords)

  • Firewall configuration

  • WinRM configuration

  • IP configuration

  • Computer name and domain/workgroup membership

  • Installation of Server Core features/roles


After installing CoreConfigurator (supplied as MSI package), navigate to the folder where it has been installed and execute CoreConfigurator.exe

Tip: you do not actually need to install the application. The 4 files in the program's folder can be copied and used on other Server Core computers without installing the application)

http://www.coreconfigurator.com/

Installation manual:

http://www.askasu.idv.tw/index.php/2009/02/22/313/ Print Friendly and PDF
Share/Bookmark

Tuesday, September 22, 2009

UltraUNC non official support Windows 2008 method

windows server 2008 is 32bit
you can try to replace your 2 files winvnc.exe and vncviewer.exe

http://forum.ultravnc.info/viewtopic.php?p=59972


changes 1056->106


http://forum.ultravnc.info/viewtopic.php?t=15581

Print Friendly and PDF
Share/Bookmark