1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > iis服务器文件上传速度慢 windows R2 上传速度慢

iis服务器文件上传速度慢 windows R2 上传速度慢

时间:2021-06-27 11:16:22

相关推荐

iis服务器文件上传速度慢 windows  R2 上传速度慢

也许可能是这个玩意的问题,方便的话把这里面涉及的文件打个包 ,datacenter x64 r2的

@ECHO OFF

title Install Win7/Srv 08 R2 Activation Info Backup Tools

color fc

cls

echo.

echo.

echo (c) Developer@Live.IT

echo.

echo.

ECHO A.Backup

ECHO B.Restore

echo.

SET Choice=

SET /P Choice= Please Select Option[Enter 'A' Or 'B']:

ECHO.

IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%

IF /I '%Choice%'=='A' Goto Backup

IF /I '%Choice%'=='B' Goto Restore

:Backup

Copy %SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat .\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\ /-Y

Copy %SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms .\Windows\SysWOW64\spp\tokens\pkeyconfig\ /-Y

Copy %SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms .\Windows\System32\spp\tokens\pkeyconfig\ /-Y

Set SN=

SET /P SN= Please Enter Currently Install Serial Nnumber:

echo %SN%>SN.DAT

echo.

echo Activation Info Backup completed.

Goto End

:Restore

net stop sppsvc

takeown /f "%SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms"

icacls "%SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms" /grant administrators:F

takeown /f "%SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms"

icacls "%SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms" /grant administrators:F

takeown /f "%SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat"

icacls "%SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat" /grant administrators:F

takeown /f "%SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat" >nul 2>&1

icacls "%SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat" /grant administrators:F >nul 2>&1

Copy .\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat %SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\ /y

Copy .\Windows\SysWOW64\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms %SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\ /y

Copy .\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms %SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\ /y

for /f "tokens=1,2 delims==" %%a in (SN.DAT) do (set SN=%%a )

slmgr.vbs /ipk %SN%

echo.

echo Activation Info Restore completed.

:End

Pause>nul

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。