WeetA

Quand normalement rime avec rarement !

Rappel : Paramètres de wuauclt.exe

Ci-après les paramètres de wuauclt.exe

/DetectNow
/ReportNow
/RunHandlerComServer
/RunStoreAsComServer
/ShowSettingsDialog
/ResetAuthorization
/ResetEulas
/ShowWU
/ShowWindowsUpdate
/SelfUpdateManaged
/SelfUpdateUnmanaged
/UpdateNow
/ShowWUAutoScan
/ShowFeaturedUpdates
/ShowOptions
/ShowFeaturedOptInDialog
/DemoUI

Remove-WindowsFeature : Cannot remove Failover Clustering. This server is an active node in a failover cluster

Symptômes

Le rôle Failover Clustering ne peut être supprimé bien que vous ne l'ayez jamais configuré et que le service ClusSvc n'est pas démarré.

PS C:\> Remove-WindowsFeature Failover-Clustering
Remove-WindowsFeature : Cannot remove Failover Clustering This server is an active node in a failover cluster. Uninstalling the Failover Clustering feature on this node may impact the availability of clustered services and applications. It is recommended that you first evict the server from cluster membership.  This can be done through the Failover Cluster Management snap-in by expanding the console tree under Nodes, selecting the node, clicking More Actions, and then clicking Evict.
At line:1 char:22
+ Remove-WindowsFeature <<<<  Failover-Clustering
    + CategoryInfo          : InvalidOperation: (:) [Remove-WindowsFeature], Exception
    + FullyQualifiedErrorId : ConfirmActionOrVetoFailed,Microsoft.Windows.ServerManager.Commands.RemoveWindowsFeatureCommand
Remove-WindowsFeature : Remove was cancelled.
At line:1 char:22
+ Remove-WindowsFeature <<<<  Failover-Clustering
    + CategoryInfo          : OperationStopped: (:) [Remove-WindowsFeature], Exception
    + FullyQualifiedErrorId : AbortRemove,Microsoft.Windows.ServerManager.Commands.RemoveWindowsFeatureCommand

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False   No             Failed    {}

Résolution

Il faut forcer la suppression de la configuration du noeud du cluster

PS C:\> Import-Module FailoverClusters
PS C:\> Get-Cluster
Get-Cluster : The cluster service is not running.  Make sure that the service is running on all nodes in the cluster.
    There are no more endpoints available from the endpoint mapper
At line:1 char:12
+ Get-Cluster <<<<
    + CategoryInfo          : NotSpecified: (:) [Get-Cluster], ClusterCmdletException
    + FullyQualifiedErrorId : Get-Cluster,Microsoft.FailoverClusters.PowerShell.GetClusterCommand
PS C:\> Clear-ClusterNode

Clear-ClusterNode
Are you sure you want to forcefully clean up cluster node LABSERVER?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
PS C:\> Remove-WindowsFeature Failover-Clustering
WARNING: [Removal] Succeeded: [Failover Clustering] Failover Clustering. You must restart this server to finish the removal process.

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True    Yes            Succes... {Failover Clustering}

Convertir Windows 2012 R2 évaluation en version complète

Voir l'état de l'activation

C:\>cscript.exe C:\Windows\System32\slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Software licensing service version: 6.3.9600.16497

Name: Windows(R), ServerStandardEval edition
Description: Windows(R) Operating System, TIMEBASED_EVAL channel
Activation ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Application ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Extended PID: XXXXX-XXXXX-XXX-XXXXXX-XX-XXXX-XXXX.XXXX-XXXXXXX
Product Key Channel: Retail:TB:Eval
Installation ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Use License URL: https://activation-v2.sls.microsoft.com/SLActivateProduct/SLActivateProduct.asmx?configextension=Retail

Validation URL: https://validation-v2.sls.microsoft.com/SLWGA/slwga.asmx
Partial Product Key: 3YGPC
License Status: Licensed
Timebased activation expiration: 259181 minute(s) (180 day(s))
Remaining Windows rearm count: 5
Remaining SKU rearm count: 6
Trusted time: 7/25/2015 6:37:55 AM

Voir l'édition actuelle

C:\>DISM.exe /Online /Get-CurrentEdition

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Current edition is:

Current Edition : ServerStandardEval

The operation completed successfully.

Lister les versions possibles pour la mise à niveau

C:\>DISM.exe /Online /Get-TargetEditions

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Editions that can be upgraded to:

Target Edition : ServerStandard
Target Edition : ServerDatacenter

The operation completed successfully.

Mettre à niveau en version complète

C:\>DISM.exe /Online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Starting to update components...
Starting to install product key...
Finished installing product key.

Removing package Microsoft-Windows-ServerStandardEvalEdition~31bf3856ad364e35~amd64~~6.3.9600.16384
[==========================100.0%==========================]
Finished updating components.

Starting to apply edition-specific settings...
Finished applying edition-specific settings.

The operation completed successfully.
Restart Windows to complete this operation.
Do you want to restart the computer now? (Y/N)

Après le reboot

C:\>cscript.exe C:\Windows\System32\slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Software licensing service version: 6.3.9600.16497

Name: Windows(R), ServerStandard edition
Description: Windows(R) Operating System, RETAIL channel
Activation ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Application ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Extended PID: XXXXX-XXXXX-XXX-XXXXXX-XX-XXXX-XXXX.XXXX-XXXXXXX
Product Key Channel: Retail
Installation ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Use License URL: https://activation-v2.sls.microsoft.com/SLActivateProduct/SLActivateProduct.asmx?configextension=Retail

Validation URL: https://validation-v2.sls.microsoft.com/SLWGA/slwga.asmx
Partial Product Key: XXXXX
License Status: Licensed
Remaining Windows rearm count: 1000
Remaining SKU rearm count: 1001
Trusted time: 7/25/2015 7:15:38 AM

Voir l'édition actuelle après mise à niveau

C:\>DISM.exe /Online /Get-CurrentEdition

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

Current edition is:

Current Edition : ServerStandard

The operation completed successfully.

Activer le TRIM pour des SSD tiers sur Mac OS X Yosemite 10.10.4

Mac OS X Yosemite 10.10.4 apporte le support du TRIM pour des SSD non Apple.

La commande suivante permet de l'activer. Comme indiqué dans le le Warning, Ni Apple (ni moi d'ailleurs :) ne pourra être tenu responsable en cas de problème.

$ sudo trimforce enable
Password:
IMPORTANT NOTICE:  This tool force-enables TRIM for all relevant attached
devices, even though such devices may not have been validated for data
integrity while using TRIM.  Use of this tool to enable TRIM may result in
unintended data loss or data corruption.  It should not be used in a commercial
operating environment or with important data. Before using this tool, you
should back up all of your data and regularly back up data while TRIM is
enabled.  This tool is provided on an “as is” basis. APPLE MAKES NO WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,
REGARDING THIS TOOL OR ITS USE ALONE OR IN COMBINATION WITH YOUR DEVICES,
SYSTEMS, OR SERVICES. BY USING THIS TOOL TO ENABLE TRIM, YOU AGREE THAT, TO THE
EXTENT PERMITTED BY APPLICABLE LAW, USE OF THE TOOL IS AT YOUR SOLE RISK AND
THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND
EFFORT IS WITH YOU.
Are you sure you wish to proceed (y/N)? y
Your system will immediately reboot when this is complete.
Is this OK (y/N)? y
Enabling TRIM...
.
.
Operation succeeded. Your system will reboot momentarily, please wait...

Exemple avec un Crucial BX100