windows date change messed up OS?

i made a winform application vs2010 vb.net, and it has this function where if a certain date comes it should fire an event, the problem:
in order for me to test it, since i cant wait for a future date to come just to see if a msgBox will pop, so i changed the date on the machine from control panel, to be like 3 or 5 or max 6 months ahead, it was 1st dec 2014, i made it june 2015, after i tested it it worked, but when i set the date back to normal i start to get this annoying windows genuine authentication thing, and my copy is not original! it asks me to go online to verify, and i did, but it keeps telling me to buy a copy of windows!!!!!!!!!!!!!! and still pops the messages!!!!!!!!!!
 i bought the dell desktop xps ($1300) windows 7, like a year ago, everything is original, nothing on this PC is illegal, so any ideas ????
WINDOWS-AUTH.jpg
ahashashAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
Get in touch with Microsoft by phone and explain what has happened.  They might be able to help.
0
☠ MASQ ☠Commented:
Just push it though the validation page at Microsoft - if you're running the legitimate Dell OEM OS it will reset the status.
http://go.microsoft.com/fwlink/?LinkId=203870

And make sure your system time in the BIOS didn't get changed too - if Windows time and system time don't match and aren't current you'll fail validation.
0
mysticaldanCommented:
Hi,
1. Are you still running Windows 7 (original version) or have upgraded it to a different version? If yes which one?.
2. Have you tried a System Restore (Start >Search> System Restore) and then see if that works?
3. Open an Admin Command Prompt (Start >Type CMD, right click and Run as Admin) and then type the command SFC /Scannow, wait for a while for it to finish and reboot. If it doesnt work then open same CMD prompt as admin and type  slmgr /rearm and restart the system and repeat process with slmgr /ato and see if that works.
0
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Ali HNDCommented:
If you do find yourself with a non-genuine version of Windows after performing a hardware upgrade, replacing a failing component, or — in an extreme worst case scenario — upgrading a hardware driver or firmware that causes Windows to think you’re using a new component, you’ll need to activate Windows again with Microsoft.

To re-activate a Windows 7 PC, you’ll need to open the Windows Activation tool. To do so, click the Start button, type “Activate” into the Start menu, and click the Windows Activation shortcut. Select the “Show me other ways to activate” option and go through the wizard, selecting the “Use the automated phone system” option. You’ll then be given a toll-free number you can dial. If everything goes properly, you’ll be given a confirmation ID you can enter into the Windows Activation tool to make Windows genuine again. If the automated system fails, you’ll be put on the line with a Microsoft customer service representative. Explain your situation and they’ll hopefully allow you to re-active your installed copy of Windows, making it genuine again.

windows-7-activation-wizard-other-ways
windows-7-activation-wizard-other-ways.pMicrosoft will likely be happy to make it genuine again if you go through the activation process and give them a phone call.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ali HNDCommented:
@ahashash
@MASQ
Check complete comment writer here:
http://www.makeuseof.com/tag/how-to-make-your-windows-7-pc-genuine-again-after-a-hardware-upgrade/
Thank you MASQ.
0
arnoldCommented:
In the future when testing, configuring your time frame to 20 minutes from now, and then waiting for the event would have achieved the same result:
1) confirm that your logic works
2) and see the event you planned for since it makes little difference when testing.
0
AndyAinscowFreelance programmer / ConsultantCommented:
>>In the future when testing, configuring your time frame to 20 minutes from now, and then waiting for the event would have achieved the same result:

Where do you see that in the question (eg.  If the date the event should fire on is the first of april) ?
0
arnoldCommented:
Andy,

You and others experts addressed how to remedy the situation the asker has wound up.

My comment deals with avoiding situations where one has to set their system to a date in the future in order to test an application's behavior when the set time is arrived or passed.
i.e. if I write an application that needs to trigger an event when 182 days lapse from a specific event. A test to see that the mechanics work as designed would be enough to use a 30 seconds, a 2 minutes, even an hour to validate as long  (I, as the programmer would account for the condition adjustment).
0
AndyAinscowFreelance programmer / ConsultantCommented:
I agree there would be 'better' ways to test this than doing what was done - but for a beginner just adding minutes instead of months might still leave them uncertain if it really was correct.  

Running inside a virtual machine could be another that would test the real code.

Unfortunately this method to test was used and I hope the asker of the question has learnt something from it.
0
ahashashAuthor Commented:
Worked like a charm..........many many many thanx to all
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.