Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 301565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:01:02+00:00 2026-05-12T07:01:02+00:00

DISCLAIMER: While I’m trying to do this to fool a license enforcement scheme, the

  • 0

DISCLAIMER: While I’m trying to do this to fool a license enforcement scheme, the company is out of business and I’m only setting up a test server. I don’t consider this stealing (as a developer that sells software myself, I wouldn’t do that) since I can’t pay for another license if I wanted to. However, if the community disagrees, please vote to close this question. Just want to be upfront about this.

We use a server app that, as part of its license enforcement, confirms that “SELECT @@SERVERNAME” matches the license installed on the server. I’m setting up a test instance of this application, but since the license I have is locked to a particular servername, I’m stuck.

Is there a way that I can fool @@SERVERNAME into returning something else? Change the internal name of the server to something different than the DNS name? I know there are SQL Server problems if you rename a server, and maybe I can exploit this to accomplish what I need to (rename the server to the licensed name, install SQL, then rename the server so it doesn’t conflict with our production server).

If there is another, non-hacky way to accomplish this (set up an isolated domain, use a virtual server with no network connection, etc), I’d entertain those options as well. What does the community think is the easiest way to get this done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:01:03+00:00Added an answer on May 12, 2026 at 7:01 am

    It actually looks possible to set the server name property.

    SQL 2000: http://msdn.microsoft.com/en-us/library/aa933172(SQL.80).aspx
    SQL 2005: http://msdn.microsoft.com/en-us/library/ms174411(SQL.90).aspx
    SQL 2008: http://msdn.microsoft.com/en-us/library/ms187944.aspx
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Disclaimer This question is a repost. I originally asked it here . While there
Disclaimer: This is not actually a programming question, but I feel the audience on
Disclaimer: the following is a sin against XML. That's why I'm trying to change
Disclaimer: This is for a homework assignment, but the question is not regarding the
Disclaimer This is not strictly a programming question, but most programmers soon or later
Full disclaimer: I'm a CS student, and this question is related to a recently
Disclaimer: I realize I can generate this at runtime in Java, this was needed
Disclaimer: I tried to search for similar question, however this returned about every C++
Disclaimer: I did check other questions that seemed related, but this one is much
Background / Disclaimer First of all, please feel free to skip this entirely if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.