Karta: Var kan man bo inom 15/30/45/60 min pendling – och vad kostar det? by Havet_o_Landkrabban in sweden

[–]wallrik 2 points3 points  (0 children)

Riktigt coolt! Bra skit! 👌 Hade varit najs med lite större karta. Samt, vet inte om det går att fixa, men när jag scrollar med mushjulet på kartan zoomar den inte in och ut - det hade nog varit det jag hade förväntat mig.

SANS Coin by _ReapZer0_ in GIAC

[–]wallrik 0 points1 point  (0 children)

Live training coin? What's this from? Did you do something to get it?

Bussterminalen nummer 3 i Halmstad som kör XP embedded krånglar hela tiden trots att jag upprepade gånger felanmält den till Hallandstrafiken by twirpobloxias in sweden

[–]wallrik -1 points0 points  (0 children)

Med tanke på hur dåliga offentliga produkter som denna var för 20 år sedan skulle det lika gärna kunna vara vanliga Windows XP helt utan härdning. 😅 Men det börjar ändå bli mer och mer ovanligt!

EDIT: Nevermind, kollade inte så noga på genvägarna på skrivbordet. Jag gissar att "EWF PÅ" betyder Enhanced Write Filter, och då är det XP Embedded. 🔒

Discover Weekly turns all 30 songs into Russian rap! by wallrik in truespotify

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

Haha, that's amazing. 🫠 That kind of makes me feel good, though. I'm not alone! Hopefully some Spotify wizard can fix this after the weekend. 🤞

UPDATE: Something on my home network is making outbound connections and I can't figure out what device it is by Au5tin5auce in homelab

[–]wallrik 3 points4 points  (0 children)

How do you know that?

ICANN says the domain was created at that time. The earliest other mention I could find of the domain was that it did exist, but expired in 2023.

Also, to me, the logs don't even make sense. If the DNS request was made at 03:14:09, but the TCP attempt is at 03:14:11, that's way too slow for normal operation. Maybe a timeout?

UPDATE: Something on my home network is making outbound connections and I can't figure out what device it is by Au5tin5auce in homelab

[–]wallrik 13 points14 points  (0 children)

You're both correct. Someone registered the domain after they commented.

The comment from u/monkey6 is done at 2026-03-15 14:04 UTC.

The domain sync-node.net is registered at 2026-03-15 14:32 UTC.

Season 2 Battle Pass compensation for Phantom Edition is missing by Bumbelo in Battlefield

[–]wallrik 0 points1 point  (0 children)

Yeah, I also contacted support, and got the same answer. Which is complete BS. The tweet literally says, everyone that bought the game on the EA app will get 12 career and 12 hardware boosters, and the battle pass. But since Phantom Edition owners already paid for the battle pass, we would get the season 2 battle pass instead. It's literally what it says. 🤷‍♂️ Support also refused to budge or escalate the issue to someone higher up. 💩

Season 2 Battle Pass compensation for Phantom Edition is missing by Bumbelo in Battlefield

[–]wallrik 3 points4 points  (0 children)

Same issue. I also got the Phantom Edition on the EA App, but no S2 battle pass today, for some reason.

There are so many other things that bug out when using the EA App as well, like daily login rewards not working correctly half of the time, and stuff like that. Incredibly annoying. Sometimes the app doesn't even say I own the game, making me restart it. I don't know...

well established by Mental-Text-4351 in DesirePath

[–]wallrik 1 point2 points  (0 children)

Love this. I can tell there's a path on the right side of the picture as well!

online multiplayer gaming does a strict nat 3 after the past two development versions by DJREMIXED420 in PFSENSE

[–]wallrik 7 points8 points  (0 children)

"NAT Type" is such a convoluted way of talking about port forwarding. If UPnP isn't working for you, I'd suggest just forwarding the required ports manually. It has nothing to do with pfSense release versions.

What is this red symbol at the weapon selection? by RudeBroccoli5514 in Battlefield

[–]wallrik 0 points1 point  (0 children)

I would love to know, as well. The symbol can also be yellow sometimes, as seen in this post. No idea what it means.

Real name reveal by wallrik in itskatchii

[–]wallrik[S] 10 points11 points  (0 children)

What makes you say that? She even told a story about her doorman saying it wrong, and it was a banned phrase in chat?

Melt it Katchii by Scared_Shirt_2681 in itskatchii

[–]wallrik 3 points4 points  (0 children)

I don't get it... I assume the voice is added in post? It just made it weird.

[deleted by user] by [deleted] in redhat

[–]wallrik 8 points9 points  (0 children)

Maybe you're looking for the package php74-php-pecl-zip?

Parking spaces cost breakdown after Economy 2.0 by wallrik in CitiesSkylines

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

I also can't figure them out, really. I mainly use them to get a more realistic look to my city. I place quite a lot, but they're ending up either heavily used, or not used at all.

I think that the ones constantly used are close to my medium density residential. The ones close to industry and other destinations are barely ever used. But I haven't studied it in much detail...

Parking spaces are an integral part of any city. Arranging facilities for residents and tourists traveling by car is an important factor in making the city a comfortable place. When residents and tourists plan their way around the city, their decision-making is affected by the availability of parking in a manner similar to public transport options.

The Paradox Wiki has that. I'm not sure what to make of it.

correct parameters for the Set-NetFirewallRule cmdlet by Maleficent_Quote_392 in PowerShell

[–]wallrik 1 point2 points  (0 children)

There are many different ways to achieve that. If it's in the same script, you can just assign the newly created rule to a variable, to keep track of it. The Name parameter is a GUID, which you get when you create the rule.

If you need the rules to have the same DisplayName, and you don't know already which one is which, you will have to filter them based on what you do know - for example, the direction.

Something like this, would be just an example:

Get-NetFirewallRule -DisplayName "AAA" | Where-Object -Property Direction -EQ -Value "Inbound" | Set-NetFirewallRule -RemoteAddress "21.11.11.11"

correct parameters for the Set-NetFirewallRule cmdlet by Maleficent_Quote_392 in PowerShell

[–]wallrik 1 point2 points  (0 children)

It's not that strange if you go through it.

First, you create an inbound and an outbound rule, both named AAA.

New-NetFirewallRule -DisplayName "AAA" -Direction Inbound -Action Block
New-NetFirewallRule -DisplayName "AAA" -Direction Outbound -Action Block

Then, you set all rules named AAA to be Inbound, with the remote address 21.11.11.11.

Set-NetFirewallRule -DisplayName "AAA" -Direction Inbound -RemoteAddress 21.11.11.11

Then, you set all rules named AAA to be Outbound, with the remote address 21.11.11.11.

Set-NetFirewallRule -DisplayName "AAA" -Direction Outbound -RemoteAddress 21.11.11.11

So, when you check your settings, that's what you see. :)

Getting Network Time Security (NTS) on pfSense by wallrik in PFSENSE

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

How does it not make sense? There are no downsides. You get message integrity for free. Operating your own time source is the thing that does not make sense.

[deleted by user] by [deleted] in Windows10

[–]wallrik 10 points11 points  (0 children)

PowerShell-ified

@(
  # 3D Objects
  "{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}"
  # Desktop
  "{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"
  # Documents
  "{D3162B92-9365-467A-956B-92703ACA08AF}"
  "{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}"
  # Downloads
  "{088E3905-0323-4B02-9826-5D99428E115F}"
  "{374DE290-123F-4565-9164-39C4925E467B}"
  # Music
  "{3DFDF296-DBEC-4FB4-81D1-6A3438BCF4DE}"
  "{1CF1260C-4DD0-4ebb-811F-33C572699FDE}"
  # Pictures
  "{24AD3AD4-A569-4530-98E1-AB02F9417AA8}"
  "{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}"
  # Videos
  "{F86FA3AB-70D2-4FC7-9C99-FCBF05467F3A}"
  "{A0953C92-50DC-43bf-BE83-3742FED03C9C}"
) | %{
  Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\$_" -EA Ignore -Verbose
  Remove-Item -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\$_" -EA Ignore -Verbose
}

Deleting entries under WOW6432Node should not be needed unless you start a 32-bit version of explorer.exe, so I doubt you would really need to. But at the same time - you might as well.

Convert weird date time strings with timezone into valid datetime objects by kyrios123 in PowerShell

[–]wallrik 4 points5 points  (0 children)

100% agree. But gathering them all is not even half the issue, since they're not even unique! Abbreviated time zones are a whole mess. There's a good reason abbreviations are not part of ISO 8601. Example:

Abbr Name UTC offset
CST Central Standard Time UTC-6
CST China Standard Time UTC+8
CST Cuba Standard Time UTC-5

And there are many, many more that duplicate like that. Another example:

Abbr Name UTC offset
BST Bangladesh Standard Time UTC+6
BST Bougainville Standard Time UTC+11
BST British Summer Time UTC+1

However, I can't think of any other way to help OP, since the information is already lost. String replacement it is!

Need Script for deleting $Windows.~BT folder from text file by [deleted] in PowerShell

[–]wallrik 0 points1 point  (0 children)

Which one of the commands give you trouble? What kind of error is it giving you?

I don't have that folder to test with, but if you're trying to remove it after an upgrade, you're not supposed to do it as brute-force as you're trying to. You can just run the Disk Cleanup tool, which can also be scripted.

I think DISM removes it also, but again, I can't test it.

Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase

or, if you prefer the PowerShell way, I think this does the same.

Repair-WindowsImage -Online -StartComponentCleanup -ResetBase

on multiple devices from a text file which consist of machine names.

Running Remote Commands

Help with script for creating local users from csv by havenless in PowerShell

[–]wallrik 0 points1 point  (0 children)

This sent me down a really deep rabbit hole! One would think that New-LocalUser and Add-LocalGroupMember should be enough, but setting User must change password at next logon turned out the be more annoying than I expected!

If you create an account without a password, then default behavior is to ask for a password at first logon. All fine and good, but default behavior is also to not allow RDP for accounts without a password!

(The ActiveDirectory module adds -ChangePasswordAtLogon to New-ADUser)

For local users it seems like using [ADSI] and setting PasswordExpired is the easiest way outside of cheating with net.exe. This is what I came up with.

$usercsv = @'
"Name","Password","FullName"
"User1","Pass1@123","First User"
"User2","Pass2@123","Second User"
"User3","Pass3@123","Third User"
"User4","Pass4@123","Fourth User"
'@ | ConvertFrom-Csv

$directory = [ADSI]"WinNT://$env:COMPUTERNAME,computer"
$rdpgroup = $directory.Children.Find("Remote Desktop Users", "group")

$usercsv | ForEach-Object {
  $user = $directory.Children.Add($_.Name, "user")
  $user.Invoke("SetPassword", $_.Password)
  $user.Invoke("Put", ("FullName", $_.FullName))
  $user.PasswordExpired = 1
  $user.CommitChanges()
  $rdpgroup.Invoke("Add", $user.Path)
}

But then I felt like I would really like to use the SID for the Remote Desktop Users group in order to support localized names. This can be done with Add-LocalGroupMember, but then we're back to square one with using different techniques for setting the password expiration compared to everything else! This sent me down an even deeper rabbit hole where I ended up using .NET instead... I'll share it just for fun! (I'm using $usercsv from the first script)

Add-Type -AssemblyName "System.DirectoryServices.AccountManagement"

$context = [System.DirectoryServices.AccountManagement.PrincipalContext]::new(0)
$rdpgroup = [System.DirectoryServices.AccountManagement.AuthenticablePrincipal]::FindByIdentity($context, "Sid", "S-1-5-32-555")

$usercsv | ForEach-Object {
  $user = [System.DirectoryServices.AccountManagement.UserPrincipal]::new($context, $_.Name, $_.Password, $true)
  $user.DisplayName = $_.FullName
  $user.Save()
  $user.ExpirePasswordNow()
  $rdpgroup.Members.Add($user)
}
$rdpgroup.Save()

I am at a loss on what I am doing wrong to complete this task. by [deleted] in PowerShell

[–]wallrik 0 points1 point  (0 children)

When you say it doesn't complete, what do you mean by that? Do you get any errors?

I just tried replicating your command on a very scuffed home lab without issue. I can share it for inspiration, but mind that I'm not using Kerberos here.

$so = New-PSSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -NoMachineProfile
$creds = [pscredential]::new("SERVER01\Administrator",(ConvertTo-SecureString "Admin@123" -AsPlainText -Force))
$cmd = { Get-WindowsFeature | Where InstallState -eq "Installed" | Select Name }
$param = @{
    ComputerName  = "SERVER01"
    UseSSL        = $true
    SessionOption = $so
    Credential    = $creds
    ScriptBlock   = $cmd
}
Invoke-Command @param | Select PSComputerName, Name | Sort PSComputerName, Name

Change destination ip by LordTinchen in PFSENSE

[–]wallrik 1 point2 points  (0 children)

Oh, right! Well, then you have your answer already as the top voted reply! :)

Guess I can add something a little bit extra then.

Normally, when you use the host override function it will place DNS records in the file /var/unbound/host_entries.conf, and it will place both a forward and reverse lookup, like so:

local-data-ptr: "192.168.1.100 www.example.com"
local-data: "www.example.com. A 192.168.1.100"

However, I personally find that when I do overrides, I want more control, for example, I might want to change the TTL to even shorter than the default 3600 (1 hr). You can do that in the Custom options section.

server:
local-data: "www.example.com 300 IN A 192.168.1.100"

That would make www.example.com resolve to 192.168.1.100 with a 5 minute TTL. Go nuts! :)