Hi,
I got this error while running "Generate Self-Signed Certificate" on VHD.
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Encrypting configuration section... Succeeded! Attempting stop... Internet services successfully stopped Attempting start... Internet services successfully restarted WARNING: Waiting for service 'Management Reporter 2012 Process Service (MR2012ProcessService)' to stop... %SERVICEDRIVE% is not defined, comment out this throw and set it manually in the script below At C:\DynamicsTools\CleanVHD\Write-MRConnections.ps1:15 char:5 throw '%SERVICEDRIVE% is not defined, comment out this throw and ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : OperationStopped: (%SERVICEDRIVE% ...he script below:String) [], RuntimeException FullyQualifiedErrorId : %SERVICEDRIVE% is not defined, comment out this throw and set it manually in the script below PS C:\DynamicsTools\CleanVHD>
Can this be resolved now?
Here's complete Script run:
Creating self-signed certificate with Subject: CN=usnconeboxax1aos.cloud.onebox.dynamics.com, O=Microsoft Corporation, L=Redmond, S=WA, C=US icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\5e9dcd9cb81bc439b7ad6434e05a3051_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\5e9dcd9cb81bc439b7ad6434e05a3051_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 Directory: C:\DynamicsTools\CleanVHD Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 4/18/2023 5:54 AM 2931 91A2AD30952496A2BBFB92D54B82FDC731B81E8F.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\91A2AD30952496A2BBFB92D54B82FDC 731B81E8F PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 91A2AD30952496A2BBFB92D54B82FDC731B81E8F PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:04:31 AM NotBefore : 4/18/2023 5:44:31 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 4, 23...} SerialNumber : 3351652A3414C591446CC2E2A430149D SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 91A2AD30952496A2BBFB92D54B82FDC731B81E8F Version : 3 Handle : 2900864017168 Issuer : CN=usnconeboxax1aos.cloud.onebox.dynamics.com, O=Microsoft Corporation, L=Redmond, S=WA, C=US Subject : CN=usnconeboxax1aos.cloud.onebox.dynamics.com, O=Microsoft Corporation, L=Redmond, S=WA, C=US EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {usnconeboxax1aos.cloud.onebox.dynamics.com} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=DeploymentsOnebox.LcsClientCertificate.pfx icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\f64406cafbb69f39eedc4c3d7e747ece_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\f64406cafbb69f39eedc4c3d7e747ece_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:54 AM 2715 E785A150D3B8CD581863E14132F14A9D6900152F.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\E785A150D3B8CD581863E14132F14A9 D6900152F PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : E785A150D3B8CD581863E14132F14A9D6900152F PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:04:40 AM NotBefore : 4/18/2023 5:44:40 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 68...} SerialNumber : 2B62F5BFCE68878D4EBB94CE015075B4 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : E785A150D3B8CD581863E14132F14A9D6900152F Version : 3 Handle : 2900862847840 Issuer : CN=DeploymentsOnebox.LcsClientCertificate.pfx Subject : CN=DeploymentsOnebox.LcsClientCertificate.pfx EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {DeploymentsOnebox.LcsClientCertificate.pfx} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=*.cloud.onebox.dynamics.com, O=Microsoft Corporation, L=Redmond, S=WA, C=US icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\0d16e402b2b70371ff08609eb3f45716_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\0d16e402b2b70371ff08609eb3f45716_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:54 AM 3019 0348DBB1CE8AFD0D92FE7EF860A9F22A880F2DB8.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\0348DBB1CE8AFD0D92FE7EF860A9F22 A880F2DB8 PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 0348DBB1CE8AFD0D92FE7EF860A9F22A880F2DB8 PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:04:44 AM NotBefore : 4/18/2023 5:44:44 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 4, 113...} SerialNumber : 1CAF6FE7E808779C4AE328FDD638B528 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 0348DBB1CE8AFD0D92FE7EF860A9F22A880F2DB8 Version : 3 Handle : 2900863839072 Issuer : CN=*.cloud.onebox.dynamics.com, O=Microsoft Corporation, L=Redmond, S=WA, C=US Subject : CN=*.cloud.onebox.dynamics.com, O=Microsoft Corporation, L=Redmond, S=WA, C=US EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {usnconeboxax1ret.cloud.onebox.dynamics.com, usnconeboxax1pos.cloud.onebox.dynamics.com, usnconeboxax1ecom.cloud.onebox.dynamics.com, *.cloud.onebox.dynamics.com} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : You cannot call a method on a null-valued expression. At C:\DynamicsTools\CleanVHD\Build-Vhd.ps1:774 char:13 $binding.AddSslCertificate($cert.GetCertHashString(), "my ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidOperation: (:) [], RuntimeException FullyQualifiedErrorId : InvokeMethodOnNull Creating self-signed certificate with Subject: CN=DeploymentsOnebox.SessionAuthenticationCertificate.pfx icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\21d80c04365d0e7c85667f31de41dd77_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\21d80c04365d0e7c85667f31de41dd77_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:54 AM 2771 672AB5B54BE4C1008418993B470DB2476F0C6F29.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\672AB5B54BE4C1008418993B470DB24 76F0C6F29 PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 672AB5B54BE4C1008418993B470DB2476F0C6F29 PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/16/2024 5:54:49 AM NotBefore : 4/17/2023 5:54:49 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 92...} SerialNumber : 170A047FB489B6B347D9E9CB05A9BE88 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 672AB5B54BE4C1008418993B470DB2476F0C6F29 Version : 3 Handle : 2900864714576 Issuer : CN=DeploymentsOnebox.SessionAuthenticationCertificate.pfx Subject : CN=DeploymentsOnebox.SessionAuthenticationCertificate.pfx EnhancedKeyUsageList : {Server Authentication (1.3.6.1.5.5.7.3.1), Client Authentication (1.3.6.1.5.5.7.3.2)} DnsNameList : {DeploymentsOnebox.SessionAuthenticationCertificate.pfx} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=DeploymentsOnebox.LocatorServiceClientCertificate.pfx icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\e86b5a583b0d46aada35c1ec3106f218_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\e86b5a583b0d46aada35c1ec3106f218_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:54 AM 2739 E2AFC2350671751FE9A82665C4DFCCB2124E2DE9.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\E2AFC2350671751FE9A82665C4DFCCB 2124E2DE9 PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : E2AFC2350671751FE9A82665C4DFCCB2124E2DE9 PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:04:56 AM NotBefore : 4/18/2023 5:44:56 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 90...} SerialNumber : 4C5D53EF9DAC099040D68AD76FCD0134 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : E2AFC2350671751FE9A82665C4DFCCB2124E2DE9 Version : 3 Handle : 2900878423104 Issuer : CN=DeploymentsOnebox.LocatorServiceClientCertificate.pfx Subject : CN=DeploymentsOnebox.LocatorServiceClientCertificate.pfx EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {DeploymentsOnebox.LocatorServiceClientCertificate.pfx} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=MicrosoftDynamicsAXDSCEncryptionCert icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\5d0f0c1ae727156c288ee661a3e411ff_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\5d0f0c1ae727156c288ee661a3e411ff_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:55 AM 2755 11673F124D707A30A692CA41152F5277EA772F0D.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\11673F124D707A30A692CA41152F527 7EA772F0D PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 11673F124D707A30A692CA41152F5277EA772F0D PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:05:01 AM NotBefore : 4/18/2023 5:45:01 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 106...} SerialNumber : 145D92FDACB69DBB46D56D714A2403D4 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 11673F124D707A30A692CA41152F5277EA772F0D Version : 3 Handle : 2900878364432 Issuer : CN=MicrosoftDynamicsAXDSCEncryptionCert Subject : CN=MicrosoftDynamicsAXDSCEncryptionCert EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {MicrosoftDynamicsAXDSCEncryptionCert} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=https://offline.fakeacs.accesscontrol.windows.net icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\9bd3335ef1a21ff44fcc21d2e8a5e328_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\9bd3335ef1a21ff44fcc21d2e8a5e328_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:55 AM 2731 E2525F133C3D2F39C7B452FBCB442182A8C2AEFA.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\E2525F133C3D2F39C7B452FBCB44218 2A8C2AEFA PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : E2525F133C3D2F39C7B452FBCB442182A8C2AEFA PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:05:04 AM NotBefore : 4/18/2023 5:45:04 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 82...} SerialNumber : 5670833602EC4F9943F4904ED2EAFC8B SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : E2525F133C3D2F39C7B452FBCB442182A8C2AEFA Version : 3 Handle : 2900864995360 Issuer : CN=https://offline.fakeacs.accesscontrol.windows.net Subject : CN=https://offline.fakeacs.accesscontrol.windows.net EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {https://offline.fakeacs.accesscontrol.windows.net} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=DeploymentsOnebox.MRClientCertificate.pfx icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\59a71b49726d5ff5c833b5fd5f757b0f_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\59a71b49726d5ff5c833b5fd5f757b0f_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:55 AM 2715 2201C925477F49022BCFC51DBEEE4D6D56579154.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\2201C925477F49022BCFC51DBEEE4D6 D56579154 PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 2201C925477F49022BCFC51DBEEE4D6D56579154 PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:05:06 AM NotBefore : 4/18/2023 5:45:06 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 66...} SerialNumber : 5D54BEEB8812EEB943A50CDADAA4E924 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 2201C925477F49022BCFC51DBEEE4D6D56579154 Version : 3 Handle : 2900857177840 Issuer : CN=DeploymentsOnebox.MRClientCertificate.pfx Subject : CN=DeploymentsOnebox.MRClientCertificate.pfx EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {DeploymentsOnebox.MRClientCertificate.pfx} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=DataEncryptionCertificate icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\e585f12afd4f04f2ed90cc068b636609_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\e585f12afd4f04f2ed90cc068b636609_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:55 AM 2681 94B3928596E3A7393F89B1B8F3A6122E6AED2860.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\94B3928596E3A7393F89B1B8F3A6122 E6AED2860 PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 94B3928596E3A7393F89B1B8F3A6122E6AED2860 PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2053 5:55:08 AM NotBefore : 4/18/2023 5:45:08 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 6...} SerialNumber : 2DF7C27EE8482C8642127D11061E8D4D SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 94B3928596E3A7393F89B1B8F3A6122E6AED2860 Version : 3 Handle : 2900864733792 Issuer : CN=DataEncryptionCertificate Subject : CN=DataEncryptionCertificate EnhancedKeyUsageList : {} DnsNameList : {DataEncryptionCertificate} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Creating self-signed certificate with Subject: CN=DeploymentsOnebox.DaxRunnerTokenUserCertificate.pfx icacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\90e4d6cec1a3d6ef243bfbb7e58b9d39_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e /grant NT AUTHORITY\NETWORK SERVICE:RX processed file: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\90e4d6cec1a3d6ef243bfbb7e58b9d39_2bd3f588-4f35-4b1c-8eca-5d2ad8ad5a6e Successfully processed 1 files; Failed processing 0 files LASTEXITCODE: 0 -a---- 4/18/2023 5:55 AM 2731 21159125F3ADB19BFB7D8C04C9832DEF0656D938.pfx PSPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\21159125F3ADB19BFB7D8C04C9832DE F0656D938 PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root PSChildName : 21159125F3ADB19BFB7D8C04C9832DEF0656D938 PSIsContainer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 4/18/2024 6:05:10 AM NotBefore : 4/18/2023 5:45:10 AM HasPrivateKey : True PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 3, 86...} SerialNumber : 19E9B94A81BAEC8742B952C7D74B5EA5 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 21159125F3ADB19BFB7D8C04C9832DEF0656D938 Version : 3 Handle : 2900864994976 Issuer : CN=DeploymentsOnebox.DaxRunnerTokenUserCertificate.pfx Subject : CN=DeploymentsOnebox.DaxRunnerTokenUserCertificate.pfx EnhancedKeyUsageList : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)} DnsNameList : {DeploymentsOnebox.DaxRunnerTokenUserCertificate.pfx} SendAsTrustedIssuer : False EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty PolicyId : Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Encrypting configuration section... Succeeded! Attempting stop... Internet services successfully stopped Attempting start... Internet services successfully restarted WARNING: Waiting for service 'Management Reporter 2012 Process Service (MR2012ProcessService)' to stop... %SERVICEDRIVE% is not defined, comment out this throw and set it manually in the script below At C:\DynamicsTools\CleanVHD\Write-MRConnections.ps1:15 char:5 throw '%SERVICEDRIVE% is not defined, comment out this throw and ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : OperationStopped: (%SERVICEDRIVE% ...he script below:String) [], RuntimeException FullyQualifiedErrorId : %SERVICEDRIVE% is not defined, comment out this throw and set it manually in the script below PS C:\DynamicsTools\CleanVHD>
Yeah
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156