Jump to content

Jeffery

Member
  • Posts

    15
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Luxembourg

Everything posted by Jeffery

  1. Ohh so they don't test this Updates anyone for Windows XP? So everyone who bought the premium support for Windows XP got scammed by Microsoft.
  2. For anyone that is interested in this i used this simply code a long time ago in a batch script. @ECHO OFFIF NOT "%Processor_Architecture%" == "x86" GOTO IncorrectOSver | find "5.1." 1>NUL && GOTO CorrectOS || GOTO IncorrectOS:CorrectOSECHO Executing Windows Calculator...START "" /WAIT "%WinDir%\system32\calc.exe"PAUSEEXIT:IncorrectOSECHO This dotNET AIO Pack can only be installed on Windows XP 32-bit.PAUSEEXIT
  3. IIRC POSReady has no .net 1.1 runtime installed But on my POSReady 2009 the .NET 1.1 SP1 was installed over the Windows Update Center but not the KB2931352 HotFix. You don't need the modified version and you can use DXUPAC or nLite to integrate this .NET Updates.
  4. Thanks for the info, harkaz has done this too. What confuses me is way Microsoft hasn't released the KB2931352 HotFix for Windows XP Embedded.
  5. Strange that Microsoft released this KB2931352 .NET 1.1 Update only on Windows Server 2003.
  6. Awesome this works, but is there also a Key for the Windows Server 2003? Because with this tweak i dont get the KB2931352 .NET 1.1 Update. And is the first reg key really needed? Because i can't find it on my POSReady 2009 installation.
  7. gunsmokingman, i test your script on Windows XP and it is working without any problems. Adding this 2 scripts together looks more complicated than i expected it to be.
  8. If i break the KeyChanger script out into a separate file then it works but as soon as i put them together in one file then they won't love each other anymore.
  9. To simulate this problem it is important to migrate the RunAs script and the Key Changer together and on Windows 7 UAC needs to be turned on or you have to be on a guest account without admin rights to simulate this problem.
  10. I tested the RunAs script also combined with another script and it works like it should there is only a conflict if i use it with the Key Changer script. The point of the RunAs script is to check if a user has admin rights and if not then it promotes the user for elevated (Windows 7) or it promotes the user to run the script with a account which has admin privileges..
  11. The problem occurs if you have UAC enabled or if you are on a guest account. You have UAC disabled that's why you don't get the same results as me.
  12. I did this too and i get the same results and i tried it on Windows 7 and Windows XP. It only works if i run then Key Changer script without the RunAs script. Are you sure the UAC option is on in your Windows 7 because if it is not then the RunAs Script will not run completely.
  13. Yes if you run only the Key Change Script but not if you migrate this 2 script i posted above into one.
  14. When double clicking on the script an input box should appear to enter a key and if the user has no admin rights then the Windows RunAs option should appear first. The RunAs script i found at stackoverflow.com and the Key Changer script i found at pastebin.
  15. HI, I'm trying to migrate 2 VBScripts that i found on the internet into one script. The first Scripts checks if the user has Admin Rights and the second script is a Key Changer. But if i migrate this 2 scripts into one script and when i then execute it then it wants to add "relaunch" as a Key. '-> Begin of the Admin Right Check ScriptSet reg = GetObject("winmgmts://./root/default:StdRegProv")rc = reg.GetStringValue(&h80000003, "S-1-5-19\Environment", "TEMP", val)If rc = 5 Then If WScript.Arguments.Count = 0 Then CreateObject("Shell.Application").ShellExecute "wscript.exe" _ , Chr(34) & WScript.ScriptFullName & Chr(34) & " relaunch", "", "runas", 1 WScript.Quit Else WScript.Echo "Cannot acquire admin privileges." WScript.Quit End IfElse'-> Begin of the Key Changer ScriptOn Error Resume NextIf WScript.Arguments.Count<1 Then VOL_PROD_KEY = InputBox ("This script will change the product key of:"&vbCr&"Windows XP SP1, SP2 and SP3."&vbCr&vbCr&"Enter a correct CD-Key in the blank field below:","Windows XP Key Changer") If VOL_PROD_KEY = "" Then WScript.Quit End IfElse VOL_PROD_KEY = WScript.Arguments.Item(0)End IfVOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","")for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation") result = Obj.SetProductKey (VOL_PROD_KEY) If Err.Number = 0 Then WScript.Echo "Windows XP Product Key was changed successfuly." End If If Err.Number <> 0 Then WScript.Echo "Error entering new product key: "&VOL_PROD_KEY&""&vbCr&vbCr&"Please verify that this Product Key was entered correctly and if it is a valid key." Err.Number.Clear End IfNextWScript.Quit
×
×
  • Create New...