Wednesday, July 25, 2012

SharePoint 2013 has a built-in capability to protect PDF

Microsoft announced a new feature for SharePoint 2013. You can upload unprotected PDF files and on the download of those PDFs SharePoint will add RMS protection. For now you can read these PDFs with Foxit PDF reader but this is an open format and other software vendors can adopt their readers.

http://officepreview.microsoft.com/en-us/sharepoint-help/sharepoint-compatible-pdf-readers-that-support-microsoft-information-rights-management-services-HA102925502.aspx


Monday, July 16, 2012

In-place migration Windows 2008 R2 to Windows 2012 Certification Authority



I migrated a couple of machine from Windows 2008 R2 to Windows 2012. Greatly it was working well also for remote machines and even a remote access server came back after a while and I could dial in again (Note: I had a SSH connection to the host for backup to get in - I am not that brave.)

Last migration I did was a CA and after migrating I could request certificates and I saw new CRLs. So all is good. Almost, I could not see the MMC for certificate templates and the certification authority.
I had to manually install them first.



or take the shortcut:

c:\>dism /online /enable-feature /featurename:CertificateServicesManagementTools

Small thing but good to know.

Saturday, July 14, 2012

DHCP server migration - Error 32: Feature DHCP Server could not be exported.

During a DHCP Server 2008 R2 to Windows 2012, moving from one virtual machine to a new virtual machine I ran into error 32 during exporting the DHCP configuration from the source server.

btw: I like SMIG because it also moves all the active leases to the new server. A regular backup/restore don't.



PS C:\system\smig> Export-SmigServerSetting -FeatureID dhcp -path c:\system\dhcp
3 -verbose


cmdlet Export-SmigServerSetting at command pipeline position 1
Supply values for the following parameters:
Password: **********
Export-SmigServerSetting : Error 32: Feature DHCP Server could not be exported.
At line:1 char:25
+ Export-SmigServerSetting <<<<  -FeatureID dhcp -path c:\system\dhcp3 -verbose
    + CategoryInfo          : InvalidOperation: (:) [Export-SmigServerSetting]
   , Exception
    + FullyQualifiedErrorId : 32,Microsoft.Windows.ServerManager.Migration.Com
   mands.ExportSvrMigSettingCommand




           ItemType ID                              Success DetailsList
           -------- --                              ------- -----------
     WindowsFeature DHCP                              False {DHCP}
VERBOSE: Details:
VERBOSE:
VERBOSE: ID: DHCP.
VERBOSE: Title: DHCP Server
VERBOSE: Result: Failed
VERBOSE: Error 32: Feature DHCP Server could not be exported.
VERBOSE:
Export-SmigServerSetting : Gathering the specified migration data failed.
The migration operation encountered an error that could not be skipped.
At line:1 char:25
+ Export-SmigServerSetting <<<<  -FeatureID dhcp -path c:\system\dhcp3 -verbose
    + CategoryInfo          : InvalidOperation: (:) [Export-SmigServerSetting]
   , MigrationException
    + FullyQualifiedErrorId : Microsoft.Windows.ServerManager.Migration.Comman
   ds.ExportSvrMigSettingCommand
PS C:\system\smig> 


I did that many times before to migration from 2003 to 2008 R2. This time I just forgot to stop the DHCP service on the source server before running Export-SmigServerSetting.

Good luck!