Jump to content

Windows7ge

Member
  • Posts

    12,134
  • Joined

  • Last visited

Everything posted by Windows7ge

  1. Hot take, but Styrofoam in general should be a war crime.

     

    20231226_133016.thumb.jpg.02928ad6bc21ae171ae7690c1c274e27.jpg

     

    It's fucking everywhere.

     

    20231226_133023.thumb.jpg.d7e983349bbda5c74038627291741b0e.jpg

     

    I wish I could meet the unpaid intern who decided to ship these laptops using this. Its even stuck inside USB ports, SC slots, docking ports, Ethernet, and the static electricity is making them stick to litterally everything.

     

    154 laptops, I wanna say I managed to remove 95% of the mess but the rest is going to be all over my workbench tomarrow. 🤬

    1.   Show previous replies  2 more
    2. Poinkachu

      Poinkachu

      Fight fire with fire!!

       

      Time to contact Electroboom and ask if you can borrow his tools.

    3. Windows7ge

      Windows7ge

      I spent today walking around looking like a human snowglobe because I'm still not done working with these...

    4. TopHatProductions115

      TopHatProductions115

      @Moonzy Corruption of the youth, for teaching them to use it in the first place >:3

  2. Windows7ge

    man what the hell

    SODIMM on a Mini-ITX is pretty cool though. I wanna get a server motherboard like that.
  3. Windows7ge

    man what the hell

    Looks like a GPU mining board. The USB cables were connected to PCI-e lanes and USB3.0 had enough conductors to offer a 1x slot. These connected to little riser cards that hooked to GPUs.
  4. Windows7ge

    Impossible !

    My experience: *opens fridge - fridge is full of fruits, vegetables, uncooked beef, chicken soup, and similar healthly ingredients to create something* Me: *who just wants to grab'n'go* Ugh, theres nothing to eat...
  5. Windows7ge

    This pc is running Mewbuntu, the cutest Linux f…

    He's just checking your VRMs. Making sure you didn't smoke them overclocking that beauty.
  6. Windows7ge

    Status Update

    Watch the output of that query be empty...
  7. Windows7ge

    Corgliano's Circus Maximus has an unusual instr…

    Grandpa walked into band practice, said I'm sick of your shit, and gave em a warning shot.
  8. Windows7ge

    PCIe bifurcation is very annoying

    It's a very cool tech if you mix it with virtualization though. You can have multiple PCIe devices, go to multiple virtual machines, but all from one PCIe slot.
  9. Windows7ge

    Why is it every time I go to set up some new pi…

    If it can be helped sometimes shorter cables are just better. Otherwise yeah, cable ties.
  10. Windows7ge

    I found this silly little guy today, its tiny P…

    Those platforms can be fun. I have one of these little guys. https://www.asrockrack.com/general/productdetail.asp?Model=C2750D4I#Specifications So much expandability in an Mini-ITX form factor.
  11. Windows7ge

    https://twitter.com/SwiftOnSecurity/status/1732…

    A while ago someone posted asking what this weird port was on the back of their computer. It was DVI. Feel old yet?
  12. Windows7ge

    do people still use this site?

    Not as much as I used to but I still keep tabs on it.
  13. Does this mark the end of folding month? I just got my electric bill and it shot up $110...
  14. So I just COMPLETELY forgot I was participate in this the last two weeks. Good to know the servers didn't die while I was neglecting them...
  15. Windows7ge

    Huh, no shot it worked first freaking try. o_O…

    C# ...the option is right there...
  16. Huh, no shot it worked first freaking try. o_O

     

    Over Thanks Giving I wrote some code...

    using System;
    using System.IO;
    using System.Management;
    using Microsoft.Win32;
    using System.Text;
    using System.Collections.Generic;
    
    namespace HardwareDatabaseLogger
    {
        internal class Program
        {
            static void Main(string[] args)
            {
                Console.Title = "Hardware Database Logger";
    
                Int64 memory = 0;
                bool serialExists = false;
                string[] system = new string[8];
                string temp;
    
                RegistryKey pRegKey = Registry.LocalMachine;
                pRegKey = pRegKey.OpenSubKey(@"HARDWARE\DESCRIPTION\System\BIOS");
                Object spn = pRegKey.GetValue("SystemProductName");
                Object bios_vendor = pRegKey.GetValue("BIOSVendor");
                Object system_sku = pRegKey.GetValue("SystemSKU");
    
                ManagementObjectSearcher mySerialObject = new ManagementObjectSearcher("select SerialNumber from Win32_BIOS");
                foreach (ManagementObject obj in mySerialObject.Get()) { system[0] = obj["SerialNumber"].ToString(); }
    
                switch (spn.ToString())
                {
                    case "HP EliteBook 840 G5":
                        system[1] = "ELITEBOOK 840 G5";
                        break;
    
                    case "HP EliteBook 840 G6":
                        system[1] = "ELITEBOOK 840 G6";
                        break;
                    
                    default:
                        system[1] = spn.ToString();
                        break;
                }
    
                switch (bios_vendor.ToString())
                {
                    case "HP":
                        system[2] = system_sku.ToString();
                        break;
    
                    default:
                        system[2] = "Could not locate vendor: " + bios_vendor.ToString();
                        break;
                }
    
                ManagementObjectSearcher myProcessorObject = new ManagementObjectSearcher("select Name from Win32_Processor");
                foreach (ManagementObject obj in myProcessorObject.Get()) { system[3] = obj["Name"].ToString(); }
    
                switch (system[3])
                {
                    case "Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz":
                        system[3] = "CORE i5 7300U 2.60";
                        break;
    
                    case "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz":
                        system[3] = "CORE i5 8250U 1.60";
                        break;
    
                    case "Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz":
                        system[3] = "CORE i5 8350U 1.70";
                        break;
    
                    case "Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz":
                        system[3] = "CORE i5 8365U 1.60";
                        break;
    
                    case "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz":
                        system[3] = "CORE i7 8650U 1.90";
                        break;
    
                    case "Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz":
                        system[3] = "CORE i7 8665U 1.90";
                        break;
    
                    default:
                        //Leaves raw CPU name in system array.
                        break;
                }
    
                ManagementObjectSearcher myMemoryObject = new ManagementObjectSearcher("select Capacity from Win32_PhysicalMemory");
                foreach (ManagementObject obj in myMemoryObject.Get()) { memory += Convert.ToInt64(obj["Capacity"]); }
    
                system[4] = (memory / 1048576).ToString();
    
                DriveInfo[] allDrives = DriveInfo.GetDrives();
                foreach (DriveInfo d in allDrives)
                {
                    if (d.DriveType == DriveType.Fixed)
                    {
                        temp = (Convert.ToInt64(d.TotalSize) / 1073741824).ToString();
    
                        switch (temp)
                        {
                            case "111":
                                system[5] += "128 SSD ";
                                break;
    
                            case "119":
                                system[5] += "128 SSD ";
                                break;
    
                            case "237":
                                system[5] += "256 SSD ";
                                break;
    
                            case "238":
                                system[5] += "256 SSD ";
                                break;
    
                            case "476":
                                system[5] += "512 SSD ";
                                break;
    
                            case "952":
                                system[5] += "1024 SSD ";
                                break;
    
                            default:
                                system[5] += temp + " ";
                                break;
                        }
                    }
                }
    
                ManagementObjectSearcher myVideoObject = new ManagementObjectSearcher("select Name from Win32_VideoController");
                foreach (ManagementObject obj in myVideoObject.Get())
                {
                    if (obj["Name"].ToString() != "Microsoft Basic Display Adapter")
                    {
                        switch (obj["Name"].ToString())
                        {
                            case "Intel(R) HD Graphics 620":
                                system[6] += "INTEL HD GRAPHICS 620-128MB ";
                                break;
    
                            case "Intel(R) UHD Graphics 620":
                                system[6] += "INTEL UHD GRAPHICS 620-128MB ";
                                break;
    
                            default:
                                system[6] += obj["Name"].ToString();
                                break;
                        }
                    }
                }
    
                ManagementObjectSearcher myNetworkObject = new ManagementObjectSearcher("select Name from Win32_NetworkAdapter");
                foreach (ManagementObject obj in myNetworkObject.Get())
                {
                    switch (obj["Name"].ToString())
                    {
                        case "Intel(R) Dual Band Wireless-AC 8265":
                            system[7] = "B/G/N/AC";
                            break;
    
                        case "Intel(R) Wi-Fi 6 AX200 160MHz":
                            system[7] = "B/G/N/AC/AX";
                            break;
                    }
                }
    
                StringBuilder log = new StringBuilder();
                List<string> current = null;
    
                foreach (var line in File.ReadAllLines("n:/database.txt"))
                {
                    if (line.Contains(system[0]) && current == null)
                        serialExists = true;
                }
    
                if (serialExists == false)
                {
                    log.Append(system[0] + "," + system[1] + "," + system[2] + "," + system[3] + "," + system[4] + "," + system[5] + "," + system[6] + "," + system[7] + "\n");
                    File.AppendAllText("n:/database.txt", log.ToString());
                    log.Clear();
                }
            }
        }
    }

     

    So what this CLI application does is it pulls all of a computers hardware information and uploads it to a network database file.

     

    With the assistance of some batch scripts and having access to C:\ during WinPE deployment I can inject my program into up to 36 simultaneous clients before they boot Windows for the first time.

     

    When they do boot for the first time they connect to the company Wi-Fi and this program is executed. After execution the script deletes everything that ran including itself. Nothing shows up in the Recycle Bin though data recovery tools might be able to do something technically.

     

    The end result is instead of meticulously one by one pairing Serial Numbers with computer hardware information which is an all day long process I can now pair 36 computer S/N's with their respective hardware and install Windows in about 30 minutes.

     

    The output file looks like this:

    2TK9490H4H,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    2TK9490J10,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0132V3F,ELITEBOOK 840 G6,9UF58UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0132WVC,ELITEBOOK 840 G6,9UF58UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0132XT1,ELITEBOOK 840 G6,9UF58UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0132XVH,ELITEBOOK 840 G6,9UF58UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0132XW0,ELITEBOOK 840 G6,7QY37UPP#ABA,CORE i5 8365U 1.60,16384,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG021C2GM,ELITEBOOK 840 G6,7ZU52UP#ABA,CORE i7 8665U 1.90,16384,512 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG021C2GR,ELITEBOOK 840 G6,7ZU52UP#ABA,CORE i7 8665U 1.90,16384,512 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0239C10,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG03354MZ,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0362XTG,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0395X38,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0432G9Q,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG045696V,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG0462DSW,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG9394Y94,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG9394YR1,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    5CG93952B5,ELITEBOOK 840 G6,7QY37UP#ABA,CORE i5 8365U 1.60,8192,256 SSD ,INTEL UHD GRAPHICS 620-128MB ,B/G/N/AC/AX
    

    I had to do this manually before. Now the server can do this for me.

     

    This is only BETAv1. This program only just got born and it worked on the first try. That's fantastic. I look forward to refining it and building it out to be more capable.

    1.   Show previous replies  1 more
    2. TopHatProductions115

      TopHatProductions115

      Is this Java? Or C#? Just curious...

    3. Senzelian

      Senzelian

      Thanks. I feel stupid now. Why is there no option to report you for making me feel stupid? That should be an option!

    4. Windows7ge

      Windows7ge

      5 hours ago, TopHatProductions115 said:

      Is this Java? Or C#? Just curious...

      C#

       

      2 hours ago, Senzelian said:

      Thanks. I feel stupid now. Why is there no option to report you for making me feel stupid? That should be an option!

      ...the option is right there...

       

      Screenshotfrom2023-11-2917-36-58.png.93bc94f8fdaa244577b6e49cab0b8ef2.png

  17. Windows7ge

    Network upgrades complete. 50Gig uplink, up to…

    Ports 2-12,25,26 VLAN 10 Ports 13-24,27,28 VLAN 20 Both switches. On the server side the ports are bonded to behave like a switch so it's one logical network but multiple logical switches. By evenly dividing the load across each link this gives both switches 2.25GB/s connection to the server. I need to do performance testing but I have real world tested the server pushing 3.85GB/s over the network. With 50Gig now I should be able to go higher.
  18. Network upgrades complete. 50Gig uplink, up to 96 1Gig client connections.

     

    20231122_140841.thumb.jpg.1407584dd51850c3d334c56b02fe0525.jpg

     

    20231120_154716.thumb.jpg.331de81dce0216c99ea5122c805f3b47.jpg

     

    Unfortunately I did discover HPE did something stupid. Turns out slot #3 is only running at 4x Gen2 through the chipset for no particular reason.

     

    Screenshotfrom2023-11-1617-10-16.png.f333a1ec03a21dbde2d6fdf81439ff9b.png

     

    So at most it has a maximum of 2GB/s performance. I don't think I'm saturating the NIC even though it should be enough in theory. I don't know if going through Intel's QPI link to CPU2 would be faster though.

    1. da na

      da na

      That is utterly incredible.

      How are the 4 transcievers divided on the Cisco switches? They're 2.5G each, aren't they? So... the more you plug in, the more gigabit ports you can use at full speed simultaneously...? Or is it more for redundancy

    2. Windows7ge

      Windows7ge

      2 hours ago, da na said:

      That is utterly incredible.

      How are the 4 transcievers divided on the Cisco switches? They're 2.5G each, aren't they? So... the more you plug in, the more gigabit ports you can use at full speed simultaneously...? Or is it more for redundancy

      Ports 2-12,25,26 VLAN 10

      Ports 13-24,27,28 VLAN 20

       

      Both switches.

       

      On the server side the ports are bonded to behave like a switch so it's one logical network but multiple logical switches.

       

      By evenly dividing the load across each link this gives both switches 2.25GB/s connection to the server. I need to do performance testing but I have real world tested the server pushing 3.85GB/s over the network. With 50Gig now I should be able to go higher.

  19. Windows7ge

    LTT Forum users in an electronics store:

    @YoungBlade @IkeaGnome And this is why I just go strait to the Internet to buy stuff. I'm in no-mans land. Or score some free s*** off my employer. xD SSD's, 50U server rack, I'm gonna try and get three Dell monitors I kinda like...
  20. Windows7ge

    LTT Forum users in an electronics store:

    Lucky people. Best I have nearby is Beat Buy. Don't get me started on their employees or Geek Squad.
  21. Windows7ge

    Whats the point of a datacenter if the stuff in…

    Little more context? Are you paying for a couple servers in a datacenter and they're losing power? Are you losing your connection to the datacenter because of stuff in your local rack? I'm confused. Ones on them ones on you.
  22. Windows7ge

    Does anyone know the issue with my download speed?

    When writing large amounts to an SSD I sometimes see this behavior. I've seen it explained as the SLC flash filling up then needing time to flush to TLC or QLC. I think it depends on the mode it's set to though. The alternative is SLC speed will drop to TLC or QLC (like maybe 300~400MB/s) and your performance is about the same either way. SLC needs time to flush to the slower TLC.
×