V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
oldbird
V2EX  ›  Windows

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

  •  
  •   oldbird · Mar 29, 2019 · 4527 views
    This topic created in 2586 days ago, the information mentioned may be changed or developed.

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

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

    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  
    PRO
       Mar 29, 2019
    还发现了一个有趣的玩法……

    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  
       Mar 29, 2019 via Android
    1.买 license

    2.联网
    总有一个能做到
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5063 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 05:38 · PVG 13:38 · LAX 22:38 · JFK 01:38
    ♥ Do have faith in what you're doing.