V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
oldbird
V2EX  ›  Windows

vs2015.update5 社区版 30 天过期了怎么办?在内网

  •  
  •   oldbird · 2019-03-29 20:14:35 +08:00 · 3839 次点击
    这是一个创建于 2066 天前的主题,其中的信息可能已经有所发展或是发生改变。

    内网无法注册登录,目前的方法有: 1.修改或修复,相当于重装 2.修改电脑时间 请问有没有其它办法?

    7 条回复    2019-03-29 22:58:27 +08:00
    sun1991
        1
    sun1991  
       2019-03-29 20:52:18 +08:00
    插个 USB 无线网卡, 连手机热点.
    如果这都不允许的话, 我觉得应该找 IT 解决问题.
    nanaw
        2
    nanaw  
       2019-03-29 20:54:13 +08:00 via Android
    @sun1991 涉密电脑应该绝不允许接触到公网的。
    sun1991
        3
    sun1991  
       2019-03-29 20:57:56 +08:00
    @nanaw 那这个问题就应该由 IT 来解决.
    2229kkk
        4
    2229kkk  
       2019-03-29 21:51:36 +08:00 via Android
    类似情况
    SingeeKing
        5
    SingeeKing  
       2019-03-29 22:03:07 +08:00
    可以试试下面的解决方案

    To bypass "30days left must go online to sign-in", sign-in once to Microsoft account, you'll get %LocalAppData%\Microsoft\VSCommon\OnlineLicensing folder that you can copy to offline PCs.

    来源: https://stackoverflow.com/questions/43390466/visual-studio-community-is-a-30-day-trial
    SingeeKing
        6
    SingeeKing  
       2019-03-29 22:07:30 +08:00
    还发现了一个有趣的玩法……

    IMPORTANT DISCLAIMER: Information provided below is for educational purposes only! Extending a trial period of Visual Studio Community 2017 might be ILLEGAL!

    So let's get started.

    Registry key of interest: HKEY_CLASSES_ROOT\Licenses\5C505A59-E312-4B89-9508-E162F8150517\08878. I assume the 08878 subkey may differ from installation to installation (why not, isn't?). I have tested only on my own one. So check other subkeys if you can not match proper values described below. Binary value stored in that key is encrypted with CryptProtectData. So decrypt it first with CryptUnprotectData. Bytes of interest (little-endian):

    [-16] and [-15] is a year of expiration;
    [-14] and [-13] is a month of expiration;
    [-12] and [-11] is a day of expiration.
    Increasing these values (preferable the year :) ) WILL extend your trial period and get rid of a blocking screen! I know nothing of such a tool that allows to edit encrypted registry values, so my small program in C++ and Windows API looks like:

    RegGetValue
    CryptUnprotectData
    Data.pbData[Data.cbData-16]++;
    CryptProtectData
    RegSetValue
    Actual language doesn't matter if you have access to registry and crypto functions in your language. I'm just fluent in C++. Sorry, I do not publish a ready-to-use code for ethical reason.
    iceheart
        7
    iceheart  
       2019-03-29 22:58:27 +08:00 via Android
    1.买 license

    2.联网
    总有一个能做到
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   917 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 22:20 · PVG 06:20 · LAX 14:20 · JFK 17:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.