Tuesday 2 May 2023

Configuration Manager: The source directory for package does not exist

 


Error: The source directory \\networkshare\contents for the package "PS10001" does not exist.

Solution: make sure you have specified a valid package source directory on the Data Source tab in the package properties dialog box in the configuration manager console. If you specify a local path, it must be a local path on the site server. If you specify a path on a network drive, verify that the path exists and that the path is typed correctly.

I received this error, when I was creating a new network share for application package contents and distributed to DPs. In my case, I haven't given SYSTEM account NTFS security permissions.

There could be many other reasons why this error can be received when distributing contents to DPs. Below are some of the checklists, you can check to resolve this error.

1. Check if you have done any typo in the content location path.
2. Check if you have added SYSTEM account permissions to the sources share folder.
3. Check if you have added Site Server computer account permissions to the sources share folder.
4. In software updates case, check if the actual content are in place. The content might have deleted because of superseded/expired updates.

If you have faced this error in different scenario, please comment it - I will try to provide resolution for the same. Thank you


Monday 28 November 2022

How to disable Windows PowerShell 2.0

There are multiple ways to disable the Windows PowerShell 2.0, I guess most of us know how to disable it using Windows feature turn on/off method so in this blog, I am going to demonstrate using command.

To check if PowerShell 2.0 Enabled:

1. DISM Command: DISM /online /get-features /format:table (or below command)
2. Get-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root

Please using following command to Disable the Windows PowerShell 2.0

1. Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root (or below command)
2. DISM /online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root"

Make sure you run the command as Administrator.

This command should turn off both "MicrosoftWindowsPowerShellV2Root" and "MicrosoftWindowsPowerShellV2," which correspond to "Windows PowerShell 2.0" and "Windows PowerShell 2.0 Engine" in the "Turn Windows features on or off" dialogue.



Friday 25 November 2022

Solved Driver Package Error: The specified folder does not exist or sms provider computer has no read, write or delete subfolders and files permissions to it

Error When Creating Driver Package:

New-CMDriverPackage : ConfigMgr Error Object:
instance of SMS_ExtendedStatus
{
Description = "SMS provider doesn't have read, write or delete permission to the package source path";
ErrorCode = 2;
File = "X:\\bt\\1216594\\repo\\src\\SiteServer\\SDK_Provider\\SMSProv\\sspdriverpackage.cpp";
Line = 131;
ObjectInfo = "\\\\CCNMEM01\\Drivers$\\Printers\\KONICA MINOLTA";
Operation = "PutInstance";
ParameterInfo = "";
ProviderName = "ExtnProv";
StatusCode = 2147749889;
};
At line:1 char:1
+ New-CMDriverPackage -Name "PrinterPkg - KONICA MINOLTA" -Description ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Confi...ewDriverPackage:NewDriverPackage) [New-CMDriverPackage], WqlQueryException
+ FullyQualifiedErrorId : UnhandledException,Microsoft.ConfigurationManagement.PowerShell.Cmdlets.Osd.NewDriverPackage


Solution:

Please add SMS Provider computer account (in my case I installed SMS provider in my primary server - ConfigMgrPS1) and SYSTEM account with full control permission to the driver UNC shared network folder.

Monday 21 November 2022

Solved: Configuration Manager Client Installation Fails with error 0x87d0027e

Error:

[CCMHTTP] ERROR: URL=http://configmgrmp01.pj360i.com/ccm_system/request, Port=80, Options=1248, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE
Failed (0x87d0027e) to send location request to 'configmgrmp01.pj360i.com'. StatusCode 403, StatusText 'Forbidden'
GetDPLocations failed with error 0x87d0027e
Failed to get DP locations as the expected version from MP 'configmgrmp01.pj360i.com'. Error 0x87d0027e

This problem happens when Management Point is configured with HTTPS but the Configuration Manager client is installed using http installation properties. To resolve this, use https with a fully-qualified domain name (FQDN) in the /mp switch. In my situation, the server FQDN is configmgrmp01.pj360i.com, hence my client installation command is as follows:

C:\Windows\ccmsetup\ccmsetup.exe SMSSITECODE=PS1 /mp:https://configmgrmp01.pj360i.com

Verify both ccmsetup.log and clientmsi.log present in "C:\Windows\ccmsetup\Logs"

Thursday 17 November 2022

Windows Update Common Corruption Error Code and its Description

Code Error Description
0x80070002 ERROR_FILE_NOT_FOUND The system cannot find the file specified.
0x8007000D ERROR_INVALID_DATA The data is invalid.
0x800F081F CBS_E_SOURCE_MISSING The source for the package or file not found.
0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT The component store is in an inconsistent state.
0x800736CC ERROR_SXS_FILE_HASH_MISMATCH A component's file does not match the verification information present in the component manifest.
0x800705B9 ERROR_XML_PARSE_ERROR Unable to parse the requested XML data.
0x80070246 ERROR_ILLEGAL_CHARACTER An invalid character was encountered.
0x8007370D ERROR_SXS_IDENTITY_PARSE_ERROR An identity string is malformed.
0x8007370B ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME The name of an attribute in an identity is not within the valid range.
0x8007370A ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE The value of an attribute in an identity is not within the valid range.
0x80070057 ERROR_INVALID_PARAMETER The parameter is incorrect.
0x800B0100 TRUST_E_NOSIGNATURE No signature was present in the subject.
0x80092003 CRYPT_E_FILE_ERROR An error occurred while Windows Update reads or writes to a file.
0x800B0101 CERT_E_EXPIRED A required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file.
0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE One or more required members of the transaction are not present.
0x80070490 ERROR_NOT_FOUND Windows could not search for new updates.
0x800f0984 PSFX_E_MATCHING_BINARY_MISSING Matching component directory exist but binary missing
0x800f0986 PSFX_E_APPLY_FORWARD_DELTA_FAILED Applying forward delta failed
0x800f0982 PSFX_E_MATCHING_COMPONENT_NOT_FOUND Can't identify matching component for hydration

Monday 14 November 2022

R for Everyone (II Edition) | Advanced Analytics and Graphics | Jared P. Lander

R is a prominent data science programming language that is utilised in a variety of companies and universities. R has become the preferred computing environment for many data scientists today since it is open-source, simple to use, and capable of handling complicated data and statistical computations.

Click the image to download the eBook:


With the rising prevalence of data in our everyday lives, new and improved methods to evaluate the flood are required. Traditionally, there have been two extremes: lightweight, individual analysis using programmes such as Excel or SPSS, and heavy-duty, high-performance analysis developed with C++ and the like. As personal computers became more powerful, a middle ground that was both interactive and sturdy emerged. An exploratory analysis performed by a person on his or her own computer may swiftly be turned into something meant for a server, backing complex business operations. R, Python, and other programmed languages are experts in this field.
R was developed in 1993 by Robert Gentleman and Ross Ihaka of the University of Auckland from S, which was developed by John Chambers at Bell Labs. It is a high-level language that was designed to be executed interactively, with the user issuing a command, receiving a result, and then issuing another command. Since then, it has grown into a language that can be embedded in systems and used to solve complicated issues. R can easily create stunning visuals and reports in addition to processing and analysing data. It is currently utilised as a whole stack for data analysis, including data extraction and transformation, model fitting, inference and prediction, and displaying and presenting findings.
Since the late 2000s, R's popularity has surged as it has moved beyond academics and into finance, marketing, drugs, politics, genomics, and many other sectors. Its new customers frequently migrate from low-level, compiled languages like C++, other statistical tools like SAS or SPSS, and Excel, the 800-pound monster. During this time, the number of add-on package libraries containing prewritten code that increase R's capability skyrocketed. While R might be scary to novices, particularly those without programming expertise, I have found that programming analysis, rather than pointing and clicking, quickly becomes lot easier, more convenient, and more dependable. My objective is to make the learning process easier and faster.
R for Everyone organises material in a way that I wish I had learned when learning R in graduate school. Finally, the material of this book was created in collaboration with the data science course that the author teaches at Columbia University. It is not intended to cover every last element of R, but rather to cover the 20% of capability required to do 80% of the task.

FREE Cybersecurity Certifications

Here's 15 FREE courses provided by the Qualys. The cybersecurity firm Qualys focuses on providing cloud-based security and compliance so...