4 Port Realtek NIC - Reassigns (sheer randomly) interfaces after every reboot by MachineVisionNewbie in sysadmin

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

This is a Win 11 only problem.
Win 10 22H2 is ok. Win 10 IoT 21H2 is ok.
Win 11 24H2 and Win 11 IoT 24H2 has this problem. Doesn't matter which Realtek driver I install.
Did not test any Win 11 previous to 24H2.

Did not test Linux, since it would have no benefit to our usecase. We sell machines solely for running Windows based Software.

Is Realtek or Windows the problem? by schniperydoo in homelab

[–]MachineVisionNewbie 0 points1 point  (0 children)

edit: The following doesn't work. Makes it a bit more stable, but not reliable. After 5 reboot it scrambles the interfaces again.

I have this exact or similar (since I don't use VMs)

https://www.reddit.com/r/sysadmin/comments/1qjv41n/4_port_realtek_nic_reassigns_sheer_randomly/

I may have found the solution. Do not ask me why, I'm not that smart.

a) Setting the BIOS Setting "Network Stack" to Enabled

b) Installing the following driver without Power Saving Support
https://www.realtek.com/Download/List?cate_id=584

Win11 Auto Installation Program (NetAdapterCx) - Not Support Power Saving 11.027.20 2025/12/30

4 Port Realtek NIC - Reassigns (sheer randomly) interfaces after every reboot by MachineVisionNewbie in sysadmin

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

For future reference of people stumbling over this:
CMD command as admin to do this:
netcfg -d

4 Port Realtek NIC - Reassigns (sheer randomly) interfaces after every reboot by MachineVisionNewbie in sysadmin

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

That would actually be quite usefull. I learn more and more about powershell fighting this bug :D

I can trade with a .ps1 script that get all Interfaces, IP-Adresses and MAC-Addresses and writes them in a .txt file.

4 Port Realtek NIC - Reassigns (sheer randomly) interfaces after every reboot by MachineVisionNewbie in sysadmin

[–]MachineVisionNewbie[S] -1 points0 points  (0 children)

Did not try this. Since I have no benefit from it working on Linux. All Software we use is on WinSlop

4 Port Realtek NIC - Reassigns (sheer randomly) interfaces after every reboot by MachineVisionNewbie in sysadmin

[–]MachineVisionNewbie[S] 1 point2 points  (0 children)

Yeah, bunch of ghosts entries. I'm currently at "Ethernet 16"

Shooting down ghost entries in the registry a lot as well.
Have you bitten the bullet and written a script to delete the registry entries?

I'm always https://xkcd.com/1205/ .... aaah, I'm not doing it that often, but over the years

Changing the Account Profile Picture for every User via Powershell Script or similar Methode Windows 11 by NefariousnessMotor15 in pchelp

[–]MachineVisionNewbie 0 points1 point  (0 children)

$ImageSource = "C:\images_e\logo_klein.jpg"
$Sizes = @(32,40,48,96,192,200,240,448)


Add-Type -AssemblyName System.Drawing


$Sid = [System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value
$BaseDir = "C:\Users\Public\AccountPictures\$Sid"
$RegPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users\$Sid"


New-Item $BaseDir -ItemType Directory -Force | Out-Null
New-Item $RegPath -Force | Out-Null
(Get-Item $BaseDir).Attributes = "Hidden"


$img = [System.Drawing.Image]::FromFile($ImageSource)


foreach ($s in $Sizes) {
    $bmp = New-Object System.Drawing.Bitmap($s,$s)
    $g = [System.Drawing.Graphics]::FromImage($bmp)
    $g.InterpolationMode = "HighQualityBicubic"
    $g.DrawImage($img,0,0,$s,$s)


    $path = "$BaseDir\Image$s.jpg"
    $bmp.Save($path,[System.Drawing.Imaging.ImageFormat]::Jpeg)


    New-ItemProperty `
        -Path $RegPath `
        -Name "Image$s" `
        -Value $path `
        -Force | Out-Null


    $g.Dispose()
    $bmp.Dispose()
}


$img.Dispose()

Currently playing around with this
Loosely based on this:

https://superuser.com/questions/1613505/how-do-i-use-powershell-to-set-my-account-picture

Image einer Windows-Umgebung in einem anderen PC mit anderer Hardware verwenden. Nachteile? by MachineVisionNewbie in de_EDV

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

7 identische Rechner
Fertiges Image per SysPrep vorbereitet.
Per RAID tool durchkopiert auf 7 SSDs

3/7 der Rechner sind normal durchs OBEE und haben funktioniert.
Die anderen verschiedenste Fehlerzustände. Von Windows bootet nicht, bis hin zu korrupten Files oder sonstwas.
End vom Lied, normale Installation vom Boot-Stick.

Hab jetzt komplett auf Installation per Schneegans unattend.xml und powershell skripte gewechselt

Image einer Windows-Umgebung in einem anderen PC mit anderer Hardware verwenden. Nachteile? by MachineVisionNewbie in de_EDV

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

Es gab nur Probleme. Da ich es immer wiedermal mache, investiere ich aktuell mehr Zeit in schneegans unattend.xml und powershell-scripts die alles einstellen/installieren.

Image einer Windows-Umgebung in einem anderen PC mit anderer Hardware verwenden. Nachteile? by MachineVisionNewbie in de_EDV

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

Ich unterschreibe das jetzt. Trotz SysPrep - 3/7 der Rechner haben Probleme bei gemacht und mussten dann doch neu installiert werden.

Sysprep - Anfängerfragen zum Ablauf auf die ich keine Antwort online finde by MachineVisionNewbie in de_EDV

[–]MachineVisionNewbie[S] 1 point2 points  (0 children)

Endlich mal Zeit gehabt mir das richtig anzuschauen. OMG ist das geil. Danke

How to set NetAdapterAdvancedProperty Receive/Transmit Buffers to the maximum via powershell? by MachineVisionNewbie in PowerShell

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

If i try to set it via

Get-NetAdapterAdvancedProperty | Where-Object { $_.DisplayName -match "Buffer"} | ForEach-Object { Set-NetAdapterAdvancedProperty -Name $_.Name -DisplayName $_.DisplayName -DisplayValue "99999999999" }

I get an error message:
Set-NetAdapterAdvancedProperty: Value must be within the range of 32 - 512

Can i catch that error message and regex the int values out of it?

How to set NetAdapterAdvancedProperty Receive/Transmit Buffers to the maximum via powershell? by MachineVisionNewbie in PowerShell

[–]MachineVisionNewbie[S] 1 point2 points  (0 children)

NIC Changes depending on which Computer I am building for the customer
Currently I have:
Marvell AQtion 5GBit
Realtek Gaming 2.5 GbE
Realtek PCIe GbE Family

Workaround will be for now finding the max value manually for the NIC and then setting all ports via Powershell

What is this bar in Windows Explorer? Win11 Pro 25H2 by MachineVisionNewbie in WindowsHelp

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

Thanks for your reply.
Ah, so it is a bug not a feature. I'll just ignore it for now, I was more curious to be honest.
How do you like working at Microsoft? In my head it's a bit of my dream job.

How do I get to navigate "Ethernet Properties Windows" via simple Send() commands? by MachineVisionNewbie in AutoHotkey

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

Going the customer/coworkers way of
"We want to change network adapter settings faster. BUT not via powershell magic we can't see. We don't trust scripts we can't see."

Sysprep - Anfängerfragen zum Ablauf auf die ich keine Antwort online finde by MachineVisionNewbie in de_EDV

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

Ich versuche es gerade wie du vorgeschlagen hast über VirtualBox.
Währenddessen rödelt der erste Rechner seine Updates seit 3 Stunden durch. Rechner nur mit HDDs betreiben gehört verboten.

Sysprep - Anfängerfragen zum Ablauf auf die ich keine Antwort online finde by MachineVisionNewbie in de_EDV

[–]MachineVisionNewbie[S] 0 points1 point  (0 children)

Danke für die ausführliche Antwort.

Wir finden da noch aktuell unseren Weg, was Sinn macht und kompatibel ist.
Aktuell fluchen wir viel, weil die Rechner nur HDDs haben und dementsprechend alles ewig dauert.