@FaiKee - Good work with the OP. Wondered if you had abbodi1406's new Server Service scripts, yep you're on the ball. Good work.
I just did a test using abbodi1406's Server Service scripts from yesterday I think it was, and was very pleased with the results. I found that the scripts worked perfectly, repeatedly, both online and offline. If anyone is interested, this is what I did to set up and activate using abbodi1406's scripts using a scheduled task: 1 Ran 1-Tap-Adapter.cmd 2 Ran 2-KMS-Service+TunMirror.cmd 3 Ran Creat-Task.cmd 4 Changed task to 'at log on' manually. (Not necessary, but I wanted it to activate at every logon rather than the default weekly activation.) 5 slmgr -upk (to remove the Windows key) + cscript ospp.vbs /unpkey:<lastfivedigitsofinstalledkey> (in the Office 2013 folder). 6 Rebooted On reboot, a watermark was on the desktop and there was a command window open. After a while, the command window disappeared and, at the same time, the watermark went too. And I was activated - both 8.1 and 2013 for 180 days. I tried this several times both online and offline and it worked every time., Using other scripts - by I cannot remember who at the moment - I found that activation was unreliable on reboot or logon. Sometimes I had to reboot three times before it would activate. So it's congrats to abbodi1406 yet again for a beautifully produced piece of work - and one that works every time
I booted my PCs today. For 2 laptops, tunmirror was ok after 6s, on the 3rd it was ok after more than 2 minutes. This is very erratic. I will testing to morrow and keep you informed.
Thanks for all the testing and feedback KMS_VL_ALL installs the right GVLK for corresponding KMS Client each time it is run, so running slmgr -upk doesn't affect the activation. @abbodi1406, Are the GVLK's for 8.1/2012 R2 also integrated? Sorry if you answered it before, its been quite a long time
You have misunderstood my post, or I didn't word it correctly. I'm aware of the 'Smart' features of abbodi1406's great scripts, I wanted Win in a non-activated state (slmgr -upk) before rebooting to test the re-activation via the scheduled task is all (corresponds to your other question) below. I may be mis-understanding but there's a whacking great list of GVLK's towards the end of the KMS_VL_ALL.cmd script, including those for Win 8.1 and 2012R2. I'm guessing this is some type of routine to insert the appropriate GVLK for detected Win version? This is what I was testing in my original test results post - as mentioned above.
Of course they are how we could make use of the current win 8.1 activation without them Yes, as qewlpal said: KMS_VL_ALL installs the right GVLK for corresponding KMS Client ID
@abbodi1406 - Are we allowed to post feature requests or will you be annoyed!? I've no idea if there will be any more releases of your stuff, it seems pretty complete now with a one off activation solution and a scheduled task solution. Neither do I know if this could be implemented or if so how difficult it may be, but I'm gonna ask anyway... When the scheduled task executes (whenever the user has set it to run), the command prompt window that's on the desktop. Would it be possible for the window to be titled "Scheduled KMS Activation" and blue as you use in KMS_VL_ALL. Could the window show some output, similar to the output from KMS_VL_ALL_Offline.cmd "Attempting to activate...", and "Press any key to continue..." when activation completes? This would be in the %SystemRoot%\task.cmd file right? Can it be done, anyone else think that would be good or you prefer it as is? Edit: I used my coding skills (Window title and colour) but could some output in the window be implemented - if enough ppl wanted it?
you can simply copy and rename "3-Activate-Local.cmd" to task.cmd, open it with notepad and change "title KMS_VL_ALL" to "title Scheduled KMS Activation" then replace it in C:\Windows folder
Of Course Been using Xubuntu 13.10 and forgot some basics On A Side note, wouldn't it be nice to include your KMS Service script in the Original Post ?
Code: @echo off openfiles >nul 2>&1 if %errorlevel% NEQ 0 goto :UACPrompt goto :gotAdmin :UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" echo UAC.ShellExecute "%~fs0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" exit /b :gotAdmin pushd "%~dp0" echo netsh advfirewall firewall add rule name="KMS_VL_ALL" dir=in program="%~dp0KMS Server.exe" localport=%port% protocol=TCP action=allow remoteip=localsubnet >nul 2>&1 echo netsh advfirewall firewall add rule name="KMS_VL_ALL" dir=out program="%~dp0KMS Server.exe" localport=%port% protocol=TCP action=allow remoteip=localsubnet >nul 2>&1 The expression %~fs0 will affect the following expression start with %~,like %~dp0. If the folder %~dp0 has more than 8 characters ,it will use short name and there is a ploblem that the netsh command and firewall can't work properly with short name. Code: netsh advfirewall firewall add rule name="KMS_VL_ALL" dir=in program="C:\Users\ sh\Desktop\123456~1\KMS Server.exe" localport=1688 protocol=TCP action=allow rem oteip=localsubnet Although the netsh command returns success, because the path contains ~ (123456~1), this rule does not work properly. So we should avoid using %~s ,only using %~f0 or %0. But there is a bug on all windows if %~f0 or %0 contains () , the command echo UAC.ShellExecute "%~f0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" don't work,even if you use right button run the bat with administrator privileges. I have a solution searching from google and fixed it. echo UAC.ShellExecute "cmd", "/c " ^& """"%0"""","", "runas", 1 >> "%temp%\getadmin.vbs" I think that the command will work well, even if the path has spaces or special characters such as brackets().
You think or you are sure? thanks anyway, UACPrompt is just a "supplementary" add, and the user is always directed to run the script as administrator
All the other files are now in sub-folder "Data" as i said, this is just for organizing so the scripts that user needs are clear to him without much files around. No, the scripts now use different path for the Data files, so it will not work with previous release.
I must be going blind!! I saw the 'x64' and 'x86' folders in the 'Data' folder but for some unknown reason didn't see any of the other files Later today, I will test everything and report back. Love the way you are never satisfied and always look to improve your work - and you succeed in doing that very well
Excellent news! Thanks abbodi1406 With the latest scripts from abbodi1406, I have just finished testing a scheduled task both while connected to the Internet and then while disconnected from the Internet. This is how I did it, using the scripts written by abbodi1406: First run (connected) 1: Run 1-Tap-Adapter.cmd 2: Run 2-KMS-Service+TunMirror.cmd 3: Run Create-Verbose-Task.cmd 4: Change task to 'at log on' manually. (Not necessary; a personal preference.) ====================================== slmgr -upk (in admin prompt, to remove the Windows key) cscript ospp.vbs /unpkey:<lastfivedigitsofinstalledkey> (in the Office 2013 folder; to remove Office key) ====================================== View attachment 25486 The cmd window above came up, installed the product keys and then activated both 8.1 and 2013, and then the watermark disappeared. ====================================== To remove: A: Run Delete-Task.cmd Run 2: and 1: (above) in that order. ====================================== I then disconnected from the Internet and repeated the First run above while offline. The result was the same as above (i.e. activation was successful) but the watermark still remained on the desktop. I reconnected to the Internet, rebooted and the watermark disappeared!! Conclusion: abbodi1406 has done it again. His scripts are even better than before and - most importantly - they work perfectly, repeatedly. Thank you, my friend.
Thanks for the update. Delete-Task.cmd is a small but welcome addition. Task Verbose is most welcome, it's my preferred option so thanks a mil for implementing it and your continued development on this great bundle. Tested thoroughly, connected/disconnected - Gravy all the way 100% success every time. Well done again.