Reduce data consumption windows laptop when abroad


When being abroad, your windows laptop might consume consideral amounts of data, making you poor.

Especially when travelling around using a 3G or 4G hotspot , you might burn your data quickly since windows can’t tell where you are. It just spots a wireless lan and starts updating. Especially with windows 10 coming up, that might eat your data pretty quickly. Worst case, you’re getting poor….

The script below checks if your at home or at work. It then turns on windows update services.
If somewhere else, the windows update services are stopped and also disabled.

Run as administrator and/or schedule at logon or windows startup.
Change the ip addresses to your own network gateway
If no valid address found, windows update services are disabled!!
Add your own services to the appropriate lines.
Build in as many checks that you like by repeating the line starting with “for /f “delims=:”
Do check from a command line if the reply is mentioned.
Script is tested with english and dutch versions of windows 7 and windows 10 and works.

Have fun!

Harold Snippert


create file:


rem script created by Harold Snippert november 1st 2015
rem turns off data eating services like windows update, when not at home and when abroad
rem saves money
rem schedule on windows machine at logon or run with admin privileges
rem first ping to gateway, if reply from gateway all is fine, turn on services
rem no ping? turn off data eating services like windows update
rem mind you, windows update services are turned off by default by this script
rem no warranties…..
rem is IP for google.com, replace local ip addresses by google ip to test

@echo off

echo send ping to ip that is listed in the line

rem this line is for english computers
for /f “delims=:” %%I in (‘ping -n 1’) do if “%%I”==”Reply from” (goto pingisgood)

rem this line is for dutch computers
for /f “delims=:” %%I in (‘ping -n 1’) do if “%%I”==”Antwoord van” (goto pingisgood)

rem add extra lines for multiple subnets
rem for /f “delims=:” %%I in (‘ping -n 1’) do if “%%I”==”Reply from” (goto pingisgood)

echo no reply from local network, we’re not at home, turn off services that eat your data.
sc config “wuauserv” start= disabled
net stop wuauserv

rem add your own services here

goto endpingscript

echo yes, a reply from local network, we’re at home, turn on services
sc config “wuauserv” start= delayed-auto
net start wuauserv

rem add your own services here

goto endpingscript


rem to debug output, remove remark below
rem pause

Access multiple Owncloud instances on 1 pc

This blog post is now obsolete since version 2 of the owncloud client now supports multiple accounts.
Thanks for all positive responses!!!!


As for accessing multiple owncloud instances on one pc.

I am running 2 Owncloud clients next to each other succesfully on a Windows 7 system.
There are several ways to do that, the essence is running the software with different users.
Those user accounts allready have to exist, in this example i’m using User-A (my main user) and User-B (a separate owncloud user)

First method is by using the task scheduler

Create a task that runs owncloud.exe when you logon.
Select: “run whether the user is logged on or not” and select the user that has to run that task (in this case User-B).
As a trigger select “at log on” and select a specific user: “yourpc\User-A” (your main account)
As action, point to owncloud.exe (probably “C:\Program Files (x86)\ownCloud\owncloud.exe”)
When hitting OK, you’ll be asked to type the password for User-B
Now run the task. You’ll be asked to set serveradress, uername password and folder for owncloud data.
Do not use the same folder as your first owncloud instance.
That will seriously screw up your data.
After rebooting you’ll see 2 processes. Only 1 interacts with your desktop.
Data will now be exchanged with 2 different owncloud systems.

Second method is by using psexec


Place the psexec.exe somewhere in a folder. Create a batchfile in the same folder “start-second-owncloud.cmd”
Put the line into the script that starts owncloud using psexec:
psexec -u -p -d -i “
in my example:
psexec -u User-B -p p@ssw0rd -d -i “C:\Program Files (x86)\ownCloud\owncloud.exe”
if you don’t wanna place a password in a script, which i can imagine, just leave out the password entry.
psexec -u -d -i “
you’ll be asked the password for User-B everytime you’ll be starting the script when you log on.

Start the script using task scheduler or just place a shortcut in your startmenu-startup folder.

Now when logging on you’ll see 2 owncloud icons in your tray.
Both can be managed seperately and interactively.
Do not point multiple instances to the same folder.
That’ll screw up your data.
You can copy data from 1 owncloud folder to another, no problem.

The first method mentioned above i use to run owncloud on servers regardless of people that are logged on, to synchronise local scripts.

I’m using the second option without the password option on my pc’s to connect to multiple owncloud servers.
Works like a charm.

Good luck!

Nextgen Shortcodes

Whenever we build a website using WordPress.org and the client request a gallery – we always use NextGEN.

I can’t fault them for the features it offers, its a fantastic bit of kit – but when it actually comes to the shortcodes to get it to display stuff – NextGEN fail big time.

So i google it every time, sometimes finding what i want – but most of the time having to piece it together from examples people have p=ut on forums.

Today, i found a blog that lists many of the Shortcodes – so i thought i’d repeat them so they are easier for people to find! – Thanks InfoPint!

List of Short Codes for NextGEN Gallery

Short codes are the piece of text which you add along with you text on your blog post or sidebars. Short codes can also be added inside the theme templates.

{ } replace by [ ]
For a slideshow : {slideshow id=x w=width h=height }
For an album : {album id=x template=extend} or { album id=x template=compact }
For a gallery : {nggallery id=x}
For a single picture : {singlepic id=x w=width h=height mode=web20|watermark float=left|right }
For an image browser : {imagebrowse r id=x }}
To show image sorted by tags : {nggtags gallery=mytag,wordpress,… }
To show tag albums : {nggtags album=mytag,wordpress,… }

Create Special Effects using Short Codes in the template files

Short codes can be called from any theme template files, using do_shortcode template tag from the template files. Here are some examples

<?php echo do_shortcode(’{ slideshow id=2 }); ?>

You can use this technique to create special flash headers with rotating images or create a showcase effect like here www.StyleHaute.com

Display Gallery view


[ nggallery id=1 template=galleryview images=0 ]

Useful Links for NextGEN Gallery








article originally from:


Uitbreiding serverpark A&RT

Afgelopen Maart heeft A&RT flinke uitbreiding gehad van het serverpark. Er is nu ruim 8TB redundant storage online voor remote backup. Ook zijn er 6 zware vmware hosts bijgeplaatst waarvan 3 stuks volledig 64bit waar we onder andere hosted Exhange 2007 op gaan aanbieden. A&RT beschikt nu over zowel linux als windows produktie platformen met mailservers van Hmailserver, Zimbra en MS Exchange 2007. Websites draaien op IIS en Apache, CMS systemen zijn op dit moment in ontwikkelingen en draaien met Etomite.
Alle servers zijn ondergebracht bij Xynta in hun datacenter bij Nedzone in Steenbergen.
Wilt u geen omkijken hebben naar uw backup door deze buiten uw pand te brengen en op die manier uw kostbare data beveiligd hebben tegen computercrashes, brand of diefstal? Neem dan contact met ons op voor een passende offerte.