• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. x23piracy
    3. Posts
    • Profile
    • Following 1
    • Followers 6
    • Topics 118
    • Posts 1,166
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: Windows 10 key after deployment

      @sunks

      <?xml version="1.0" encoding="utf-8"?>
      <unattend xmlns="urn:schemas-microsoft-com:unattend">
      <settings pass="windowsPE">
      <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SetupUILanguage>
      <UILanguage>de-DE</UILanguage>
      </SetupUILanguage>
      <InputLocale>0407:00000407</InputLocale>
      <SystemLocale>de-DE</SystemLocale>
      <UILanguage>de-DE</UILanguage>
      <UILanguageFallback>de-DE</UILanguageFallback>
      <UserLocale>de-DE</UserLocale>
      </component>
      <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <DiskConfiguration>
      <Disk wcm:action="add">
      <CreatePartitions>
      <CreatePartition wcm:action="add">
      <Order>1</Order>
      <Type>Primary</Type>
      <Size>100</Size>
      </CreatePartition>
      <CreatePartition wcm:action="add">
      <Extend>true</Extend>
      <Order>2</Order>
      <Type>Primary</Type>
      </CreatePartition>
      </CreatePartitions>
      <ModifyPartitions>
      <ModifyPartition wcm:action="add">
      <Active>true</Active>
      <Format>NTFS</Format>
      <Label>System Reserved</Label>
      <Order>1</Order>
      <PartitionID>1</PartitionID>
      <TypeID>0x27</TypeID>
      </ModifyPartition>
      <ModifyPartition wcm:action="add">
      <Active>true</Active>
      <Format>NTFS</Format>
      <Label>OS</Label>
      <Letter>C</Letter>
      <Order>2</Order>
      <PartitionID>2</PartitionID>
      </ModifyPartition>
      </ModifyPartitions>
      <DiskID>0</DiskID>
      <WillWipeDisk>true</WillWipeDisk>
      </Disk>
      </DiskConfiguration>
      <ImageInstall>
      <OSImage>
      <InstallTo>
      <DiskID>0</DiskID>
      <PartitionID>2</PartitionID>
      </InstallTo>
      <InstallToAvailablePartition>false</InstallToAvailablePartition>
      </OSImage>
      </ImageInstall>
      <UserData>
      <AcceptEula>true</AcceptEula>
      <FullName>admin</FullName>
      <Organization>company</Organization>
      </UserData>
      <EnableFirewall>true</EnableFirewall>
      </component>
      </settings>
      <settings pass="offlineServicing">
      <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <EnableLUA>false</EnableLUA>
      </component>
      </settings>
      <settings pass="generalize">
      <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SkipRearm>1</SkipRearm>
      </component>
      </settings>
      <settings pass="specialize">
      <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <InputLocale>0407:00000407</InputLocale>
      <SystemLocale>de-DE</SystemLocale>
      <UILanguage>de-DE</UILanguage>
      <UILanguageFallback>de-DE</UILanguageFallback>
      <UserLocale>de-DE</UserLocale>
      </component>
      <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SkipAutoActivation>true</SkipAutoActivation>
      </component>
      <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <CEIPEnabled>0</CEIPEnabled>
      </component>
      <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <WindowsFeatures>
      <ShowMediaCenter>false</ShowMediaCenter>
      <ShowWindowsMail>false</ShowWindowsMail>
      </WindowsFeatures>
      <ShowWindowsLive>false</ShowWindowsLive>
      <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
      <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
      <ComputerName>company-pc</ComputerName>
      <CopyProfile>true</CopyProfile>
      </component>
      <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <BlockPopups>yes</BlockPopups>
      <CompanyName>company</CompanyName>
      <Home_Page>http://www.google.de</Home_Page>
      <DisableFirstRunWizard>true</DisableFirstRunWizard>
      </component>
      </settings>
      <settings pass="oobeSystem">
      <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <AutoLogon>
      <Password>
      <Value>password</Value>
      <PlainText>true</PlainText>
      </Password>
      <Enabled>true</Enabled>
      <LogonCount>1</LogonCount>
      <Username>username</Username>
      </AutoLogon>
      <OOBE>
      <HideEULAPage>true</HideEULAPage>
      <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
      <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
      <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      <NetworkLocation>Work</NetworkLocation>
      <SkipUserOOBE>true</SkipUserOOBE>
      <SkipMachineOOBE>true</SkipMachineOOBE>
      <ProtectYourPC>3</ProtectYourPC>
      </OOBE>
      <UserAccounts>
      <LocalAccounts>
      <LocalAccount wcm:action="add">
      <Password>
      <Value>password</Value>
      <PlainText>true</PlainText>
      </Password>
      <Description></Description>
      <DisplayName>username</DisplayName>
      <Group>Administrators</Group>
      <Name>username</Name>
      </LocalAccount>
      </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization>company</RegisteredOrganization>
      <RegisteredOwner>admin</RegisteredOwner>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <FirstLogonCommands>
      <SynchronousCommand wcm:action="add">
      <Description>SetupComplete</Description>
      <Order>1</Order>
      <CommandLine>C:\Windows\Setup\Scripts\SetupComplete.cmd</CommandLine>
      <RequiresUserInput>false</RequiresUserInput>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
      <Description>Control Panel View</Description>
      <Order>2</Order>
      <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
      <RequiresUserInput>false</RequiresUserInput>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
      <Description>Control Panel Icon Size</Description>
      <Order>3</Order>
      <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 1 /f</CommandLine>
      <RequiresUserInput>false</RequiresUserInput>
      </SynchronousCommand>
      </FirstLogonCommands>
      <TimeZone>W. Europe Standard Time</TimeZone>
      </component>
      </settings>
      </unattend>
      
      posted in Windows Problems
      x23piracyX
      x23piracy
    • RE: Delete Host Problem, Host deleted but left overs still in DB

      @tom-elliott i am on wokring branch but not updated, around 1 week old after you released, should i update an reinstall?

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: Delete Host Problem, Host deleted but left overs still in DB

      @tom-elliott ok this worked i can name a new host it4434 again but do you see the bug?
      I will now try to remove that host again (regulary)…

      Ok when i try to remove the same happens again (not wondering):

      Bild Text

      Can find the host in the host list after that even when its telling me wrong credentials, something has been deleted but only partly. When i now boot into fog menu, its not telling me that the host is still registered, crazy before it told me host is registered.

      Bug?

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: Delete Host Problem, Host deleted but left overs still in DB

      Hi,

      i could help myself with:

      mysql> DELETE FROM hostMAC WHERE hmMAC LIKE '%hostmac%';
      

      But something must be broken with the host deletion?

      Maybe this is also related: https://forums.fogproject.org/topic/10696/can-t-delete-host-with-empty-host-name-1-5-0-rc-7

      EDIT:

      omg whats happening here, after manual deletion of the host i ran another quick registration via the pxe menu, after that i try to give this host his old name but:

      Bild Text

      The name was it4434 (there must be still something in the db related with this name)

      When i search for it4434 there is nothing:

      Bild Text

      I have the feeling when i now delete the host again while his name is it’s mac that i cannot add it again.
      How can i delete that hostname left overs?

      Help! please

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: Cannot add pushbullet account (nothing happens when i click on add)

      Cross post another wrong crendentials (while they are right) message in a different problem:
      https://forums.fogproject.org/topic/10816/delete-host-problem-host-deleted-but-left-overs-still-in-db

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: Delete Host Problem, Host deleted but left overs still in DB

      Hi,

      i crosslink another bug report where i also see wrong credentials while they are right:
      https://forums.fogproject.org/topic/10812/cannot-add-pushbullet-account-nothing-happens-when-i-click-on-add

      i’ve also tried to remove the host by menu (after i allready half deleted it via the web gui) then i get a chainload failed (reboot).

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: Cannot add pushbullet account (nothing happens when i click on add)

      @ch3i no yet will do…

      posted in Bug Reports
      x23piracyX
      x23piracy
    • Delete Host Problem, Host deleted but left overs still in DB
      Server
      • FOG Version: RC9
      • OS:

      Hi,

      today i tried to delete a host, marked it, clicked on delete button, entered credentials.
      System is telling me the credentials are wrong, but the host is gone after that but still in the db.

      When i try to inventory that host again the menu is telling me it4434 is registered but it’s not in the host list anymore,
      there must be left overs in the db:

      Bild Text

      How can i fix this?

      Regards X23

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: Windows 10 key after deployment

      @thequicken i setup two virtual windows 10 machines in virtual box. one will be installed with gpt and one with mbr (legacy, efi image). (The ISO for install is created by the windows media creation tool, windows 10 pro).

      I start the install and then i go into admin-mode (when the first settings appear in the setup strg + shift +f3). Then i activate both machines with oem licenses (win 7 dvd box with a sticker), if windows 10 is not activated you cannot set every option until it’s activated.

      Then i install software and play with the settings.
      Finally i sysprep the machines and capture them.

      When i now deploy such image, i use setkey.exe as a snapin to read the bios key and activate the machine with it.
      don’t forget i use an answer file (unattend.xml) so the windows setup (oobe) will run automatically.

      If you need i can show you the scripts i use.

      FYI virtual box doesnt offer a EFI network boot, to capture or deploy a virtual box EFI system i disable EFI and boot via network boot in legacy mode, after deployment or capturing i enable EFI again for that vm host (else it won’t boot).

      What’s your installation base if you say you cannot activate with bios key? Do you use something else then OEM Media? Maybe a Install Base for VL?

      Regards X23

      posted in Windows Problems
      x23piracyX
      x23piracy
    • Cannot add pushbullet account (nothing happens when i click on add)
      Server
      • FOG Version: RC9

      Hi,

      i try to reactivate my pushbullet account for the fog pushbullet plugin, i stopped using it since it stopped working some releases ago, afai remember i also had this problem in the past with cannot add api token.

      I simply paste my token and click on add and nothing happens, no load in the browser, just quite.

      Bild Text

      If i wait some time and reclick add i just got the message:

      Bild Text

      when i now click: list all pushbullet accounts, the list is empty:

      Bild Text

      There is an empty entry, when i mark it and try to delete it asks for credentials, i enter them and then the system is telling me that the crendetials are wrong:

      Bild Text

      (they are not wrong!) after that the empty entry is gone and i can start all over:

      Bild Text

      What’s wrong here? Any clues? Am i the only one using that plugin? 🙂

      posted in Bug Reports
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @Sebastian-Roth @george1421 please have a look in here: http://www.aidanfinn.com/?p=14534
      Legally Deploying Images Windows To OEM Licensed PCs, what i am doing here is legal if the appropriate vl has been purchased.

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      Hi,

      can i have some clues where is the right point to try to embed the command while doing an inventory? which file in the filesystem is doing all the commands while doing inventorisation?

      If the team isn’t willing to integrate, i will do it on my own.

      Regards X23

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      😞 for me it’s hard to follow that position. But i have to respect it.

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      Yes it works,

      i just created a FOS USB Stick, thank you @george1421 and booted it with a notebook that has a product key in it’s bios into kernel debug mode (i need shell).

      Then i entered the following command:

      tail -c+57 /sys/firmware/acpi/tables/MSDM
      

      What i got was, surprise a product key:

      Bild Text

      To be sure that this is really our product key i also used the command i found and a key tool to crosscheck the key.

      And yes it’s correct:

      Bild Text

      What we need now is the following @Sebastian-Roth:

      • FOS ability to read and report bios product key to the host product key field in db (expand the inventory script with the command above to read the key and report it like any other inventory item)
      • FOG Clients ability to also report product key (if not already done) for the case if the fog client has been mass deployed in existing environment where maybe not all host will be booted and inventoried by the FOG Boot Menu.

      Afaik this should be all we need because if i fill the product key field of a host today with a product key and deploy a windows system, fog client will set this key into the system. So everything is prepared except the feature that we can read key from the bios and report them to the db.

      Who is responsible from the dev team for the FOS?

      Regarding to @george1421 post before, another solution could be a second product key field, one is for the manual known input, and another for determined bios product keys, now for each host there could be a switch in the options where we can decide which product key field to use?

      Am i wrong?

      Regards X23

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @george1421 said in FOG Client report Windows key to FOG WebIf (Host definition) Activate through BIOS key (Deployment):

      Well we have to remember or be sure to create an isolation between FOS and the target OS. For windows activation that needs to be done inside windows. Either through the unattend.xml file or slmgr or fog client.

      FOG Client should trigger slmgr with the apropriate key from the database.

      What would be interesting is if / when FOS takes an inventory of the target computer it could also read the bios key and store it in a field.

      Yes, i think thats the way to go but what if someone uses FOG in an already deployed but growing environment. Typically FOG Client would be mass installed, is the FOG Client reporting the same inventory stuff like the inventory been done by the boot menu? If not FOG Client also should have the ability to read the key from bios and report it.

      Maybe not the activation key field but a bios key field. Then at some time that bios key may be copied to the activation key field and let the fog client do its thing. OR within the FOS post install scripts to be able to have access to that information (via the gethost.php script) so the post install script can use it to update the unattend.xml or patch a setupcomplete.cmd line that runs the slmgr command. But the idea is that if we collect this during inventory then I don’t see any other bits of fog needing to be changed other than adding a field to the inventory table, making that new field visible in the webgui and changing the inventory script to collect the key.

      Why not keeping it simple? Would it not be enough if the fog client checks if the client has it’s key and if not just trigger slmgr with the information we have in the db?

      I can’t say for sure that the stuff that I found works. My Linux Mint laptop is built for Win7 so there is no key to be found when I inspect the MSDM table.

      I tried this with my work pc over the ubuntu bash windows 10 offers, there are the acpi tables missing but i think that have to be done in a native running linux not in an emulated one.

      @george1421 can i try your usb FOS Image, maybe boot from the stick and try if i can get the serial from bios?
      Lets say that works can’t we start with sending that key to fogs database for the current product key field? If this has been done we are good to go because currently fog client can activate a deployed system by an entered key in that host definition field.

      Bild Text

      I have a notebook with windows 10 key in bios beside me where i can try it this evening.

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @sebastian-roth @george1421 if you are able to inject the key like slmgr is doing that with (/ipk and /ato) on a running windows system why not doing it in the moment of deployment under FOS. 🙂 I like the idea, but how can you inject it?

      If we have this feature in the client we have to think howto implement without polling this information again and again, we need it only once so i think the FOS method would be the best if you can do it.

      Here is the slmgr.vbs: https://pastebin.com/a2yP1MfD
      I’ve taken it from a Windows 10 Pro 1703 System.

      Install Product Key:

      Private Sub InstallProductKey(strProductKey)
          Dim objService, objProduct
          Dim lRet, strDescription, strOutput, strVersion
          Dim iIsPrimaryWindowsSku, bIsKMS
       
          bIsKMS = False
       
          On Error Resume Next
       
          set objService = GetServiceObject("Version")
          strVersion = objService.Version
          objService.InstallProductKey(strProductKey)
          QuitIfError()
       
          ' Installing a product key could change Windows licensing state.
          ' Since the service determines if it can shut down and when is the next start time
          ' based on the licensing state we should reconsume the licenses here.
          objService.RefreshLicenseStatus()
       
          For Each objProduct in GetProductCollection(ProductIsPrimarySkuSelectClause, PartialProductKeyNonNullWhereClause)
              strDescription = objProduct.Description
       
              iIsPrimaryWindowsSku = GetIsPrimaryWindowsSKU(objProduct)
              If (iIsPrimaryWindowsSku = 2) Then
                  OutputIndeterminateOperationWarning(objProduct)
              End If
       
              If IsKmsServer(strDescription) Then
                  bIsKMS = True
                  Exit For
              End If
          Next
       
          If (bIsKMS = True) Then
              ' Set the KMS version in the registry (64 and 32 bit versions)
              lRet = SetRegistryStr(HKEY_LOCAL_MACHINE, SLKeyPath, "KeyManagementServiceVersion", strVersion)
              If (lRet <> 0) Then
                  QuitWithError lRet
              End If
       
              If ExistsRegistryKey(HKEY_LOCAL_MACHINE, SLKeyPath32) Then
                  lRet = SetRegistryStr(HKEY_LOCAL_MACHINE, SLKeyPath32, "KeyManagementServiceVersion", strVersion)
                  If (lRet <> 0) Then
                      QuitWithError lRet
                  End If
              End If
          Else
              ' Clear the KMS version in the registry (64 and 32 bit versions)
              lRet = DeleteRegistryValue(HKEY_LOCAL_MACHINE, SLKeyPath, "KeyManagementServiceVersion")
              If (lRet <> 0 And lRet <> 2 And lRet <> 5) Then
                  QuitWithError lRet
              End If
       
              lRet = DeleteRegistryValue(HKEY_LOCAL_MACHINE, SLKeyPath32, "KeyManagementServiceVersion")
              If (lRet <> 0 And lRet <> 2 And lRet <> 5) Then
                  QuitWithError lRet
              End If
          End If
       
          strOutput = Replace(GetResource("L_MsgInstalledPKey"), "%PKEY%", strProductKey)
          LineOut strOutput
      End Sub
      

      Activate:

      Private Sub ActivateProduct(strActivationID)
          Dim objService, objProduct
          Dim iIsPrimaryWindowsSku, bFoundAtLeastOneKey
          Dim strOutput
          Dim bCheckProductForCommand
       
          strActivationID = LCase(strActivationID)
       
          bFoundAtLeastOneKey = False
       
          set objService = GetServiceObject("Version")
       
          For Each objProduct in GetProductCollection(ProductIsPrimarySkuSelectClause & ", LicenseStatus, VLActivationTypeEnabled", PartialProductKeyNonNullWhereClause)
       
              bCheckProductForCommand = CheckProductForCommand(objProduct, strActivationID)
       
              If (bCheckProductForCommand) Then
                  iIsPrimaryWindowsSku = GetIsPrimaryWindowsSKU(objProduct)
                  If (strActivationID = "") And (iIsPrimaryWindowsSku = 2) Then
                          OutputIndeterminateOperationWarning(objProduct)
                  End If
       
                  '
                  ' This routine does not perform token-based activation.
                  ' If configured for TA, then show message to user.
                  '
                  If (objProduct.VLActivationTypeEnabled = 3) Then
                      LineOut GetResource("L_MsgTokenBasedActivationMustBeDone")
                      Exit Sub
                  End If
       
                  strOutput = Replace(GetResource("L_MsgActivating"), "%PRODUCTNAME%", objProduct.Name)
                  strOutput = Replace(strOutput, "%PRODUCTID%", objProduct.ID)
                  LineOut strOutput
                  On Error Resume Next
                  '
                  ' Avoid using a MAK activation count up unless needed
                  '
                  If (Not(IsMAK(objProduct.Description)) Or (objProduct.LicenseStatus <> 1)) Then
                      objProduct.Activate()
                      QuitIfError()
                      objService.RefreshLicenseStatus()
                      objProduct.refresh_
                  End If
                  DisplayActivatedStatus objProduct
       
                  bFoundAtLeastOneKey = True
                  If (strActivationID <> "") Or (iIsPrimaryWindowsSku = 1) Then
                      Exit Sub
                  End If
              End If
          Next
       
          If (bFoundAtLeastOneKey = True) Then
              Exit Sub
          End If
       
          LineOut GetResource("L_MsgErrorProductNotFound")
      End Sub
      

      But remember we should not force to use a bios key if available maybe we have cases where people use Volume License (KMS Server) while they having computers with BIOS key inside (ok would be stupid) but i am sure this case is existing. So we need a switch or something in the host definition to turn on/off activation with bios key.

      But what if we have a allready installed system that wasn’t deployed by FOG, i really like to gain such keys after the installation of the fog client. Maybe we need both FOS’s ability to inject and detect a key and the same with the fog client for existing computers that naver had contact with FOG but going to have FOG Client installed on it.

      Challenge accepted? 😄

      EDIT:

      I have the feeling we need to write to the windows registry under FOS if we would like to inject the Windows Product Key:
      http://www.dagondesign.com/articles/windows-xp-product-key-recovery/
      http://geekswithblogs.net/willemf/archive/2006/05/31/80203.aspx

      I am not sure but maybe we don’t need (slmgr /ato), windows should activate automatically by itself.

      The more i think about i came to conclusion that the mechanism of reading and injecting the key should done by the fog client, while the system is running.

      What do you think guys?

      Regards X23

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      Hi,

      i’ve got a ps cmd line that offers the bios key in one single line.

      Powershell

      (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
      

      Bild Text

      Commandline

      powershell -Command (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
      

      Activation in one line with powershell:

      slmgr /ipk (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey ; slmgr /ato
      

      returning messages should be send to nirvana 🙂

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @sebastian-roth said in FOG Client report Windows key to FOG WebIf (Host definition):

      @x23piracy I am still not sure if I get this right. Should we also extract the key from the registry if we don’t find it in the firrmware table? What if we find both, what if they don’t match (is this possible)??

      • If we find both, we take the one from bios, if only registry found we take this.
      • They will never match a windows 10 pro bios activated computer always has the following generic key in it’s registry:
        VK7JG-NPHTM-C97JM-9MPGT-3V66T

      since i know that u are german: https://www.deskmodder.de/wiki/index.php/Seriennummern_Key_generischer_Schlüssel_Windows_10

      Additional to the feature request itself, it would be a really cool if we could embed the activation with what i am doing with my setkey.exe snapin into fog, so under host definition could be a checkbox near the windows key labeled “activate with bios key”. That could be checked by default, so if i deploy a new computer fog will automatically activate with the bios key and the fog client will report the specific bios key back to fogs host definition and if there would be a report the pakage would be complete.

      For the client interval how often to check the key i would recommend to only do it on first client checkin, we just need to check this once, the key will never be changed. so if we once collected a key from a specific host we can stop crawling the key for it. Maybe it could be useful to have a function to say he try to recrawl the key for that client without resetting this for all.

      Bild Text

      Maybe we also need a global option for the fog client: “Report Client Windows Key” @tom-elliott

      Bild Text

      As i can see we still have a product key report 🙂

      Bild Text

      Regards X23

      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @sebastian-roth yes me, because that python code is part of the binary i use for my snapin, it works great.
      i am using the exe binary: https://github.com/christian-korneck/get_win8key

      from a system without key in the bios
      Bild Text

      from a system with key in the bios
      Bild Text

      i just bypass the output of that binary to slmgr /ipk key and then trigger slmgr /ato, thats it.

      @echo off
      for /f “tokens=*” %%i in (’%cd%\oemkey’) do set oemkey=%%i
      cscript %systemroot%\system32\slmgr.vbs /ipk %oemkey% >nul
      cscript %systemroot%\system32\slmgr.vbs /ato >nul
      exit
      
      posted in Feature Request
      x23piracyX
      x23piracy
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @sebastian-roth i am finding a lot of tools but non where the source is available and if so it’s not in net c#

      posted in Feature Request
      x23piracyX
      x23piracy
    • 1
    • 2
    • 11
    • 12
    • 13
    • 14
    • 15
    • 58
    • 59
    • 13 / 59