Tag Archives: Windows Server 2008 R2

Computer Certificate Enrollment and Renewal

Key-based renewal

certreq -machine -q -enroll -cert <thumbprint> renew

 

Enrollment

Locate enterprise CA

a) find out CA name and server

certutil -config - -ping

b) find out more info about CA and CA type

certutil – dump

In the output of the command above we can find out more information about the type of the CA (enterprise/standalone, root/subordinate…. see Types of Certification Authorities)

 certutil -cainfo -config <paste the config: line output from certutil -dump> type

Web based enrollment

URL of your Certificate Services server (eg https://ca-server/certsrv).

 

via Test Lab Guide: Demonstrating Certificate Key-Based Renewal, Renew a certificate, Requesting a certificate from a local certification authority, Test Lab Guide: Demonstrating Certificate Key-Based Renewal, Certification Authority Web Enrollment Guidance

Advertisements

PowerShell: OS Build Script for Windows Server 2008, 2008 R2 and Windows 7 | Tao Yang’s System Center Blog

Background: Around 2 years ago, I originally written a set of script to configure newly built Windows 2008 servers using PowerShell when my previous employer started to deploy their very first Wind…

Source: PowerShell: OS Build Script for Windows Server 2008, 2008 R2 and Windows 7 | Tao Yang’s System Center Blog

Windows 2008 Server hangs at “Configuring Updates – Stage 3 of 3 – 0 % Complete” | A SysAdmin’s Monologue

Windows 2008 Server hangs at "Configuring Updates – Stage 3 of 3 – 0 % Complete" | A SysAdmin's Monologue.

Server hangs at Preparing to configure Windows. Do not turn off your computer…. | Prashant Deshpande’s Views

[SOLVED] Preparing to configure Windows. Do not turn off your computer…. | Prashant Deshpande's Views.

Windows Server 2008R2 shows LUNs from SAN as offline

After adding disk to a WmWare VM in VSphere client I wanted to initialize and format it (as always) in Win 200R2 disk Management MMC snap-in… only to find out that disk id unknown and offline. A little info message says that “the disk is offline because of policy set by an administrator”. When right clicked the disk presented no context menu.

disk manager

no_context_menu

Resolution:

1.

run cmd as Administrator

2. run diskpart – use these commands

C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: S7022DB0101

DISKPART> san

SAN Policy  : Offline Shared

DISKPART> san policy=onlineall

DiskPart successfully changed the SAN policy for the current operating system.

DISKPART> san

SAN Policy  : Online All

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  ——–  ————-  ——-  ——-  —  —
  Disk 0    Online          100 GB  1024 KB
  Disk 1    Offline         250 GB   250 GB
  Disk 2    Offline         100 GB   100 GB

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> attributes disk
Current Read-only State : Yes
Read-only  : Yes
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.

DISKPART> attributes disk
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

3.

Go back to Disk management snapin > menu Action > Rescan Disks

4.

Right-click disk in offline state and select Online from the context menu

set_disk_online_in_disk_manager

Automatic creation of user folders for home, roaming profile and redirected folders. – Ask the Directory Services Team – Site Home – TechNet Blogs

Automatic creation of user folders for home, roaming profile and redirected folders. – Ask the Directory Services Team – Site Home – TechNet Blogs.

Robocopy and a Few Examples – TechNet Articles – United States English – TechNet Wiki

Robocopy and a Few Examples – TechNet Articles – United States English – TechNet Wiki.

smsagent

Scripts, tools and tips, mostly around Microsoft SCCM and EMS

To The Point

Anything about Technology and Business

Brian's Power Windows Blog

Microsoft in the Enterprise. Windows, Hyper-V, Exchange, SQL, and more!

PowerScripting Podcast

Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell

Learn Powershell | Achieve More

What is this Powershell of which you speak?