Just today a nice person posted a comment on my blog explaining an issue some customers were running into which was most likely caused by the fact that these customers were using PSCONFIG.EXE rather than PSCONFIGUI.EXE after installing a CU.
PSCONFIGUI.EXE is the UI based configuration wizard which performs several tasks one after the other after installing fixes.
PSCONFIG.EXE is the command line tool which gives users granular control over all tasks that are executed and which is therefor often quicker than PSCONFIGUI.EXE.
On the other hand that means that it is up to the user which operations are performed by PSCONFIG.EXE
Most customers just ran the following command
PSCONFIG -cmd upgrade -inplace b2b -wait
But that command only performs a subset of operations performed by PSCONFIGUI.EXE. E.g. it will not update the files in the _app_bin directory of the web applications!
Looking into the list of operations that can be done using PSCONFIG.EXE gives you an idea about which operations are possible. The yellow marked operations are those that are automatically performed by PSCONFIGUI.EXE after installing a fix.
psconfig.exe -cmd <Command> [Parameters]
psconfig.exe -help [Command]
The following issues which were reported in the last couple of weeks could have been avoided by using PSCONFIGUI.EXE rather than PSCONFIG.EXE:
– MethodNotFoundException in Microsoft.Office.Server.UserProfiles.ServerStub.dll
– Search not working due to incorrect version of the Microsoft.Office.Server.Search.ServerProxy.dll
In case you need to use PSCONFIG.EXE to automate some tasks you should use the following command:
PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install
Some customers have a requirement to separate the installation of the fix and the PSCONFIG run. In this case you should at least run the following powershell command after installing the fix to ensure that all application content files are updated:
More details about this command can be found here.