There isn’t a lot of information about connecting endian firewall community to windows server 2022 and I kept getting the same “Failed to join domain” but it worked on my 2008R2 server with near identical settings after many, many, many hours I found that endian uses SMBv1 to authenticate and guess what is turned off by default on server 2022. Turned it on and it immediately authenticated.
Registry key for Disabling Avast’s Windows PE boottime scanner
Under the key
For Avast: HKEY_LOCAL_MACHINE\SOFTWARE\Avast Software\Avast\properties\settings\BootTimeScan
For AVG:
HKEY_LOCAL_MACHINE\SOFTWARE\AVG\Antivirus\properties\settings\BootTimeScan
Create string value and set name to AllowWinRE
with a value of 0
A Useful command to test an NTP server on windows
A quick way to test an NTP server on windows
w32tm /stripchart /computer:<DNS/IP address of NTP server> /dataonly /samples:5
/Samples:5 can be omitted to continuously query the server
Fix basestation on windows 10
On windows 10 basestation the plane tracking software needs a copy of ftd2xx.dll (32bit) in the same directory as basestation.exe and try running it as administrator ideally right clicking on basestation.exe and changing the properties to force it to run as administrator on each run
Force time resync on windows 10
To forece windows 10 to resync the local time to the default time servers try running w32tm /resync
from an admin powershell/CMD prompt
further details available here: https://serverfault.com/a/294791
Computercraft automatic enchantment sorter
local chest = peripheral.wrap("front") print("Radcom's Enchantment sorter V1.2") while true do sleep(1) for i = 1, chest.getInventorySize() do local item = chest.getStackInSlot(i) if item and item.ench then print("Found a ", item.name, " with an enchantment") print("Moving") chest.pushItem("south",i,1) else if item then print("moving: ",item.qty, " ",item.name) chest.pushItem("east",i,item.qty) end end end end
A useful robocopy command
Often at work I need to copy data around and I use a niffy program called robocopy its built in to windows from at least 7 and above (not sure about vista & XP)
this is how I use it robocopy <source> <dest> /E /ZB /XJ /R:1 /W:1 /XF hiberfil.sys pagefile.sys
Continue reading “A useful robocopy command”
Batch extract zip files
At work I needed to extract the contents from 600+ zip files to one place and select all, right click extract all did not work.
7-zip to the rescue, I used the command line version of 7-zip in a simple batch comand to loop through the files and extract each one
this code is written to be run from the same dir as the files to be extracted,
“C:\Program Files (x86)\7-Zip\7z” needs to be the location of the commandline version of 7-zip
“%CD%Backup files %x.zip” this the format of the files to be extracted in this case it was a series of sequentially numbered files all called “Backup files 1,2,3,etc”
It is run straight from the command prompt not as a batch script
“C:\extracted” is the destination of the extracted filesfor /l %x in (1, 1, 100) do "C:\Program Files (x86)\7-Zip\7z" x "%CD%Backup files %x.zip" -o C:\extracted
all in all about 20 mins work to write and test
My improved youtube2mp3 converter script
A while ago I found this article http://jeffreyv.hubpages.com/hub/Youtube-to-MP3-on-Ubuntu-Linux it did exactly what it wanted at the time but me been lazy like I am decided it was time to upgrade it a bit mainly so I just need to supply it with the location URL and it names the file itself. cue investigation into youtube-dl (which is awesome) after finding that it can return the video’s title I fairly quickly got the rest sorted so here it is: Continue reading “My improved youtube2mp3 converter script”
Cool open source Matrix Screen Saver
Found a cool looking matrix screen saver today need a bit of work and better messages but its a start
http://www.catch22.net/software/matrix-screensaver
I Will be hosing a copy on my git server as soon as I can