STY1001 / Unowhy-Tools

The all-in-one tool for your Unowhy !
MIT License
33 stars 7 forks source link

UT crash à "Software Info (Admins) 54%" quand le hostname dépasse 15 caractères #11

Closed rastiqdev closed 3 months ago

rastiqdev commented 5 months ago

Salut, Voici donc le problème dont je t'ai parlé tout à l'heure. UT se met à crash à "Software Info (Admins) 54%" quand le hostname dépasse les 15 caractères. J'aurais dis que c'est en rapport avec ça et le domaine pour les utilisateurs qui ont un mismatch, parce que le hostname dépasse bien les 15 caractères alors que Windows coupe le domaine au 15ème caractère. Les logs sont ci-dessous :

07/02/2024 22:24:43 : ============
07/02/2024 22:24:43 : Unowhy Tools
07/02/2024 22:24:43 :  by STY1001 
07/02/2024 22:24:43 : ============
07/02/2024 22:24:43 : 
07/02/2024 22:24:43 : Start of logs, logs are saved locally and can help to fix issues
07/02/2024 22:24:43 : If you have an issue, please, open an issue on Github and give me logs to help you
07/02/2024 22:24:43 : You can cleanup logs on UT's settings
07/02/2024 22:24:43 : Last logs are on bottom

07/02/2024 22:24:43 : Getting PC Infos
07/02/2024 22:24:43 : RunReturn hostname 
07/02/2024 22:24:43 : Done RunReturn hostname  => rastiqdev-unowhy

07/02/2024 22:24:43 : RunReturn wmic computersystem get manufacturer
07/02/2024 22:24:43 : Done RunReturn wmic computersystem get manufacturer => Manufacturer  
UNOWHY        

07/02/2024 22:24:43 : RunReturn wmic computersystem get model
07/02/2024 22:24:44 : Done RunReturn wmic computersystem get model => Model        
Y13G113S4EI  

07/02/2024 22:24:44 : RunReturn wmic computersystem get systemskunumber
07/02/2024 22:24:44 : Done RunReturn wmic computersystem get systemskunumber => SystemSKUNumber  
Y13G113S4EI      

07/02/2024 22:24:44 : RunReturn wmic baseboard get manufacturer
07/02/2024 22:24:44 : Done RunReturn wmic baseboard get manufacturer => Manufacturer    
Default string  

07/02/2024 22:24:44 : RunReturn wmic baseboard get product
07/02/2024 22:24:44 : Done RunReturn wmic baseboard get product => Product                 
EM_JS116_200B_ENE_V1.0  

07/02/2024 22:24:44 : RunReturn wmic baseboard get version
07/02/2024 22:24:44 : Done RunReturn wmic baseboard get version => Version         
Default string  

07/02/2024 22:24:44 : RunReturn wmic os get caption
07/02/2024 22:24:44 : Done RunReturn wmic os get caption => Caption                   
Microsoft Windows 11 Pro  

07/02/2024 22:24:44 : RunReturn wmic bios get manufacturer
07/02/2024 22:24:44 : Done RunReturn wmic bios get manufacturer => Manufacturer                             
American Megatrends International, LLC.  

07/02/2024 22:24:44 : RunReturn wmic bios get smbiosbiosversion
07/02/2024 22:24:45 : Done RunReturn wmic bios get smbiosbiosversion => SMBIOSBIOSVersion         
JS116_V0.20.15_RASTIQDEV  

07/02/2024 22:24:45 : RunReturn wmic bios get smbiosbiosversion
07/02/2024 22:24:45 : Done RunReturn wmic bios get smbiosbiosversion => SMBIOSBIOSVersion         
JS116_V0.20.15_RASTIQDEV  

07/02/2024 22:24:45 : RunReturn wmic bios get releasedate
07/02/2024 22:24:45 : Done RunReturn wmic bios get releasedate => ReleaseDate                
20230507000000.000000+000  

07/02/2024 22:24:45 : RunReturn wmic bios get serialnumber
07/02/2024 22:24:45 : Done RunReturn wmic bios get serialnumber => SerialNumber    
IFP3_RASTIQDEV  

07/02/2024 22:24:45 : RunReturn wmic cpu get name
07/02/2024 22:24:45 : Done RunReturn wmic cpu get name => Name                                 
Intel(R) Celeron(R) N5100 @ 1.10GHz  

07/02/2024 22:24:45 : RunReturn wmic computersystem get totalphysicalmemory
07/02/2024 22:24:45 : Done RunReturn wmic computersystem get totalphysicalmemory => TotalPhysicalMemory  
8324866048           

07/02/2024 22:24:45 : rastiqdev-unowhy
07/02/2024 22:24:45 : 
07/02/2024 22:24:45 : rastiqdev-unowh\rastiq
07/02/2024 22:24:45 : UNOWHY
07/02/2024 22:24:45 : Y13G113S4EI
07/02/2024 22:24:45 : Y13G113S4EI
07/02/2024 22:24:45 : Default string
07/02/2024 22:24:45 : EM_JS116_200B_ENE_V1.0
07/02/2024 22:24:45 : Default string
07/02/2024 22:24:45 : Microsoft Windows 11 Pro
07/02/2024 22:24:45 : American Megatrends International, LLC.
07/02/2024 22:24:45 : JS116_V0.20.15_RASTIQDEV
07/02/2024 22:24:45 : JS116_V0.20.15_RASTIQDEV
07/02/2024 22:24:45 : 05/07/2023
07/02/2024 22:24:45 : IFP3_RASTIQDEV
07/02/2024 22:24:45 : Intel(R) Celeron(R) N5100 @ 1.10GHz
07/02/2024 22:24:45 : 8324866048
07/02/2024 22:24:45 : Done
07/02/2024 22:24:45 : Checking if is Administrator or Adminitrateur
07/02/2024 22:24:45 : RunReturn net user
07/02/2024 22:24:45 : Done RunReturn net user => 
User accounts for \\RASTIQDEV-UNOWH

-------------------------------------------------------------------------------
Administrator            DefaultAccount           Guest                    
RASTIQ                   WDAGUtilityAccount       
The command completed successfully.

07/02/2024 22:24:45 : => Administrator
07/02/2024 22:24:45 : Checking if is Administrators or Adminitrateurs
07/02/2024 22:24:45 : RunReturn net localgroup
07/02/2024 22:24:45 : Done RunReturn net localgroup => 
Aliases for \\RASTIQDEV-UNOWH

-------------------------------------------------------------------------------
*Access Control Assistance Operators
*Administrators
*Backup Operators
*Cryptographic Operators
*Device Owners
*Distributed COM Users
*Event Log Readers
*Guests
*Hyper-V Administrators
*IIS_IUSRS
*Network Configuration Operators
*Performance Log Users
*Performance Monitor Users
*Power Users
*Remote Desktop Users
*Remote Management Users
*Replicator
*System Managed Accounts Group
*Users
The command completed successfully.

07/02/2024 22:24:45 : => Administrators
07/02/2024 22:24:45 : ====== Dynamic Buttons ======
07/02/2024 22:24:45 : === HSM service ===
07/02/2024 22:24:45 : Check HiSqoolManager
07/02/2024 22:24:45 : RunReturn sc query "HiSqoolManager"
07/02/2024 22:24:45 : Done RunReturn sc query "HiSqoolManager" => [SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.

07/02/2024 22:24:45 : HSM services is not present
07/02/2024 22:24:45 : === End ===

07/02/2024 22:24:45 : RunReturn powershell start-process -FilePath "dsregcmd" -ArgumentList "/status" -nonewwindow
07/02/2024 22:24:46 : Done RunReturn powershell start-process -FilePath "dsregcmd" -ArgumentList "/status" -nonewwindow => 
+----------------------------------------------------------------------+
| Device State                                                         |
+----------------------------------------------------------------------+

             AzureAdJoined : NO
          EnterpriseJoined : NO
              DomainJoined : NO
           Virtual Desktop : NOT SET
               Device Name : rastiqdev-unowhy

+----------------------------------------------------------------------+
| User State                                                           |
+----------------------------------------------------------------------+

                    NgcSet : NO
           WorkplaceJoined : NO
             WamDefaultSet : NO

+----------------------------------------------------------------------+
| SSO State                                                            |
+----------------------------------------------------------------------+

                AzureAdPrt : NO
       AzureAdPrtAuthority : NO
             EnterprisePrt : NO
    EnterprisePrtAuthority : NO

+----------------------------------------------------------------------+
| IE Proxy Config for Current User                                     |
+----------------------------------------------------------------------+

      Auto Detect Settings : YES
    Auto-Configuration URL : 
         Proxy Server List : 
         Proxy Bypass List : 

+----------------------------------------------------------------------+
| WinHttp Default Proxy Config                                         |
+----------------------------------------------------------------------+

               Access Type : DIRECT

+----------------------------------------------------------------------+
| Ngc Prerequisite Check                                               |
+----------------------------------------------------------------------+

            IsDeviceJoined : NO
             IsUserAzureAD : NO
             PolicyEnabled : NO
          PostLogonEnabled : YES
            DeviceEligible : YES
        SessionIsNotRemote : YES
            CertEnrollment : none
              PreReqResult : WillNotProvision

For more information, please visit https://www.microsoft.com/aadjerrors
07/02/2024 22:24:46 : === Azure AD ===
07/02/2024 22:24:46 : Azure AD joined: NO
07/02/2024 22:24:46 : === End ===

07/02/2024 22:24:46 : RunReturn net localgroup Administrators
07/02/2024 22:24:46 : Done RunReturn net localgroup Administrators => Alias name     Administrators
Comment        Administrators have complete and unrestricted access to the computer/domain

Members

-------------------------------------------------------------------------------
Administrator
RASTIQ
The command completed successfully.

07/02/2024 22:24:46 : === Admins ===
STY1001 commented 5 months ago

T'es bien sur la dernière version ?

rastiqdev commented 5 months ago

Oui, je suis bien sur la 27.01.

STY1001 commented 5 months ago

Essaye de remplacer ton hostname par RASTIQ-Y13 pour voir si avec moins de caractère ça marche

rastiqdev commented 5 months ago

J'avais déjà réussi à régler le problème en mettant moins de 15 caractères dans mon hostname (j'avais mis rastiqdev-uno), j'ai juste créé l'issue car je me suis rendu compte que le problème existe toujours...

STY1001 commented 5 months ago

Pour l'instant, c'est une solution temporaire, je vais essayer de fix ca pour la prochaine version Merci d'avoir report

STY1001 commented 4 months ago

Ok, bah nice, j'ai trouvé d'où ça vient La 28.00 n'aura plus ce bug