I’ve tried lots of tutorials but nothing seems to work with newer versions of Raspbian. So I’ve decided to write my own simple tutorial on this matter.
This article will provide instructions for anyone interested in using headless Debian (or any derivatives).
And once again use psexec…
psexec64 -s /user:domain\user -i \\REMOTE_COMPUTER "rundll32 printui.dll,PrintUIEntry /in /n\\SERVER\PRINTER"
When you’re experiencing problems with internet connection on VirtualBoxe’s guest hosts. double check your gateway settings. Here are commands that may help you:
ip route del default ip route add default via [gateway address] dev [device name]
And to list available interfaces:
Here you’ll find complete instruction how to deploy Chrome on one remote host at once in Windows environment.
In my previous posts you can find info how to install psexec. When you’re already done with this process, you can start updating clock settings on remote machines.
psexec64 -s /user:domain\user -i \\remote_ip net time \\domain_controller /set /y
Bieżąca godzina na \\domain_controller to 2018-08-28 09:55:00.
At least in polish Windows 😀
psexec64 -s /user:domain\user -i \\remote_ip cmd /c time /t
And remember good IT specialist is lazy specialist! Do not go anywhere! Eat ya buritos.
I needed a very simple SQL table with application log. After sometime I’ve realized that it already has 80 MB of data (sic!). What can you do with logs? Well, answer is simple! Use rotation. Below you can find quick SQL solution for removing old entries.
I’ve created simple script to test large file uploads using PHP powered servers. Fell free to check it at Gist.
If you’re an admin in a windows environment you can troll your friends a little bit 🙂
Install psexec and use bellow command to run Rick Astley’s famous “sweet troll of mine” on a remote computer (background, no window!).
psexec64 -s /user:domain\user -i \\xxx.xxx.xxx.xxx "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app="https://youtu.be/dQw4w9WgXcQ"
xxx.xxx.xxx.xxx – stands for an ip number of a trolled person.
PS. Make sure you’re using psexec64 not psexec because it may not work on modern systems (tested on Windows 10).
By default Windows setups task priority in scheduler to 7 (which is kinda low). The side effect of this is that for eg. backups are taking very long to take. In my case all databases were backed up in about 40-50 minutes…