???? ???????: 2383895 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

???????

??? ??? ????? (.cil) ?? ???? ??????? ????? ????? ???? (VAMT) 2.0 ??? ???? ??????? ????? ??? ???? ??????? Windows 7? ?? ????? ????? ????? ???????:

??? ????? ???? ???? ???????.

?????

?? ???? ??? ??????? ??? ??? ???? ?????? ?????? ????? ??????? ?? ?????????? ??????? ????? ??????? ??? ??? ??? ????? MAC. ??? ???? ?????? ?? ???? ??? ??????? ??? ??? ???? ?????? ????? ??????? ????? ????? ?????? ?????? ???? ??????? ??? ?????? ??? ??? ????? MAC.

??? ??? ???? ?????.cil ?? ??? ??????? ????? ????? ?????? ??? ???:

???? NetworkName="contoso.com"="e3f3f83c-f050-4 ? 81-9117-? ?" >
<MacAddresses></MacAddresses>
<MacAddress>00:11:11:CF:FC:xx</MacAddress>
<MacAddress>00:11:11:CF:FC:xx</MacAddress>

????

????? ???? ??????? ????? ??.??? CIL? ????? ??? "??????? ???????? ?????? ". ??? ??? ???? ??? ??????? ????? ??.CIL ????? ????? ??? "?????? ??????? ???????? ".

??????? ???????? ???



?????? ??? ??????? ????????? ???? ??? ?????? ?? ?? ??????. ?? ???? ??? ????? ?? ???? ?????? ????? ????? ? ????? ??????? ???????? ?? ??????? ????? ??????? .


????? ??? ???????
Microsoft Fix it 50785


???????
  • ?????? ?????.CIL ????? ???? ???? ??? ??????? ?????.
  • ??????? ???? ?? ???? ???? ??? ?? ??? ????? VAMT(Volume Activation Management Tool) 2.0 ?? ?????? ?????????.
  • ?? ???? ??? ??????? ?????? ?????????? ???. ??? ???? ???? ??????? ???????? ???? ???????? ?????? ?????? ?? Windows.
  • ??? ?? ??? ??? ????????? ???? ????? ???????? ?? ???? Fix it ??? ???? ????? ????? ?? ??? ????? ?? ????? ?????? ??? ???? ????????? ???? ???? ?? ???????.

????? ??? ??? ??? "?? ??? ??? ??? ?? ??????????? ".



?????? ??????? ?????

?????? ??? ??? ???????? ???? ??????? ????? ??.CIL ?? ??????? ?????? ??? ???????? ???? ???????? ???????? ??????? ??????

Powershell ?????? ??? ??????.
param($inputFilePath, $vamtDirPath)

$cilFilePath = Resolve-Path $inputFilePath;
if (!$cilFilePath)
{
Write-Error "Expected input file name of target CIL";
exit 1;
}

if ($vamtDirPath)
{
$vamtDirPath = Resolve-Path $vamtDirPath;
}
else
{
$prograPath = [environment]::GetEnvironmentVariable("ProgramFiles(x86)");

if (!$prograPath -or $prograPath -eq "")
{
$prograPath = [environment]::GetEnvironmentVariable("ProgramFiles");
}

$vamtDirPath = $prograPath + "\VAMT 2.0"
}

try
{
$assembly = [System.Reflection.Assembly]::LoadFile($vamtDirPath + "\Vamtrt.dll");
}
catch
{
Write-Error "Error while attempting to load VAMT assembly. Provide the correct path to your VAMT installation if VAMT is not installed to the default directory.";
exit 1;
}

$fileSerializer = new-object Microsoft.SoftwareLicensing.Vamt.FileSerializer($cilFilePath);

$softwareLicensingData = $fileSerializer.Deserialize();

for ($i = 0; $i -lt $softwareLicensingData.Machines.Length; $i++)
{
$machine = $softwareLicensingData.Machines[$i];

if ($machine.MacAddresses.Count -gt 0)
{
$distinctMacAddrs = new-object System.Collections.ObjectModel.Collection[string];

foreach ($mac in $machine.MacAddresses)
{
if (!$distinctMacAddrs.Contains($mac))
{
$distinctMacAddrs.Add($mac);
}
}

$machine.MacAddresses.Clear();

foreach ($distinctMac in $distinctMacAddrs)
{
$machine.MacAddresses.Add($distinctMac);
}
}
}

$fileSerializer.Serialize($softwareLicensingData);




???? ???? ???? ??? ??????? ??? ???? ??????? Windows 7:
  1. ??? ???????? ?????? ??.CIL ????? c:\script. ??? ???? ??????? c:\script\saved.cil
  2. ??? ???????? ???????? ?????? ??????? ?? ????? ????? ??????? ??? ?? ???????
  3. ???? ??? ????? ???? ???????? ??????? ??????? ? Windows Powershell? "Windows powershell ????? ???????"
  4. ?? Windows PowerShell ???? ?? ???? Untitled1.ps1
  5. ??? ?? ??????? ???????? ????? ?? ??? ???????.
  6. ???? ??? ???? ??? ????? c:\script\ScrubCil.ps1
  7. ???? ??? ????, ???? ??????? ???????, Windows Powershell? ?????? ???? "Windows powershell" ????? "????? ??????"
  8. ???? ??????? ??????? ?? ???? powershell
    \script ????? ???????
    ?????? executionpolicy ??? ????
    .\ScrubCil.ps1 saved.cil


?? ??? ??? ??? ?? ????????

  • ?????? ?? ??? ??? ??? ????? ???????. ??? ?? ????? ???????? ???? ?? ?????? ???? ?????. ??? ?? ??? ????? ??? ???????? ????? ??????? ??????.
  • ???? ???? ????????. ????? ??????? ?? ??????? ?? ??? ?????? ?? ??? ????? ?????? ????? ????? "??????? ???????? ???"?????? ?? ????? ?????? ??????????.

???????

???? ???????: 2383895 - ????? ??? ??????: 23/?????/1435 - ??????: 2.0
????? ???
  • Windows 7 Enterprise
????? ??????: 
kbfixme kbmsifixme kbmt KB2383895 KbMtar
????? ????
???: ??? ????? ??? ??????? ???????? ????? ?????????? ??????? ?????? ??? ??????? ?? ??? ??????? ?? ??????? ??? ??? ?? ???? ????????? ???? ??????? ???????(CTF) ?? ?? ???? ????? ????. ???? ?? ???? ?????????? ??? ???????? ???????? ???? ??? ?? ???????? ??????? ?? ??? ??????? ???????? ?? ??? ??????? ??????? ??? ?????? ?? ?????? ??? ???? ???????? ???????? ?? ????? ??????? ????? ????? ??????. ??? ?? ???????? ???????? ?? ????? ??? ????? ?? ???????? ?? ???? ????? ?? ?????. ?????? ??? ???? ?????????? ???? ?????? ?? ??? ????? ?? ??? ??? ?? ??????? ?? ??? ????? ?? ???? ????? ????? ?? ????? ??????? ???? ?? ???????? ?? ??? ???????.
???? ??? ????? ??????? ?????? ??????????2383895

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com