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

?????

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

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

????

???????? ??? ?? ?? ???? ??????? ??????? ???, ?? ?? ??????? ????????? ?? ???? MAC ??? ?? ?? ?? ?????? ?? ???? ??? ?????? ?? ??? ?? ?????? ??? ?? ???? ??????? ???? ?? ??? ?? ??????? ??????? ???, ?? ?? ?? ??????? ????????? ?? ???? MAC ??? ???? ?? ??? ????????? ?? ???? ???

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

NetworkName="contoso.com" Id = "e3f3f83c-f050 - 4 d 81-9117-xx" >
<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 ?? ???? ???? ????????? ?? ??? ????? ???? ???
  • ?? ??? ??????, ?????? ?? ???????? ?? ?? ???? ???, ?? ?????? ???? ?????? ?????? ?? CD ???? ?? ??? ?? ??? ??? ????? ???????? ?? ?????? ???

???? ???, ?? ???? "$$$$ ???? ???? ?????? ??? ????"????



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

?? ?????? ?? ?? ???? ?? ???, ???????? ??? ?? ????????? ???????????? ??????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. ?? KB ???? ?? ????? ??????? ??? ?? ?????????? ??? ????????? ?????
  3. ??????? ????, ??? ?????????, ????? ?????, Windows Powershell, "Windows powershell ise" ????? ????
  4. Windows PowerShell ????? ???? Untitled1.ps1 ????? ???
  5. ?? ???? ?? ????????? ?? ??????? ??? ???????
  6. ????? ???? ?????, ?? ??? ??? ??????, c:\script\ScrubCil.ps1
  7. ??????? ????, ??? ?????????, ????? ?????, Windows Powershell ????? ????, ???? "Windows powershell" ????? ????, ?? "?????????? ?? ??? ??? ?????" ?????
  8. Powershell ????????? ?? ????? ???? ???? ????
    cd \script
    ???-executionpolicy ???????????
    .\ScrubCil.ps1 saved.cil


$$$$ ???? ???? ?????? ??? ????

  • ???? ???? ?? ???? ?????? ??? ???? ??? ??? ??? ?????? ??? ?? ?? ??, ?? ?? ?? ?????? ?? ??? ???? ?? ???? ???? ??? ?????? ??? ???? ???? ??? ??, ?? ?? ?? ???? ??? ?????? ?? ?????? ????.
  • ?? ???? ??????????? ?? ?????? ??????? ??????????? ?????? ???? ?? ??? ?? ?? ?????? ?? ??? ??????? ???????? ?? ??????? ???? ?? ???, ????? ?? ??????? ?? ???? "??? ???? ??? ??? ????"????? ?? ???? ????? ?? ?-???.

???

???? ID: 2383895 - ????? ???????: 22 ??? 2014 - ??????: 3.0
???? ???? ???? ??:
  • Windows 7 Enterprise
??????: 
kbfixme kbmsifixme kbmt KB2383895 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??: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