Wednesday, December 23, 2015

enable google sync in windows registry

make a "log in" script (bat or cmd) with the following line:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome /v SyncDisabled /d 0 /t REG_DWORD /f

place it here: C:\Windows\System32\GroupPolicy\User\Scripts\Logon

new task:
create a new task in task scheduler with the trigger starting with an event (id: 4801) or at computer start or user log on.
select the action tab and add the script above.

don't forget the "Run with highest privileges" check box in the general tab.

Wednesday, September 2, 2015

solve problems with internet conncetivity

e.g. false symbol in windows system tray (!) or red x in network overflow:
http://superuser.com/questions/661976/windows-7-shows-red-x-on-network-icon-but-im-connected

I used this batch file:
ipconfig /release
ipconfig /renew
ipconfig /flushdns
ipconfig /registerdns

Wednesday, August 19, 2015

hard linked folder (files) with windows

to link a folder to another one "the hard way" (e.g. to link "%AppData%\Local\Google\User Data" to another location) us the cmd and option "mklink /J [fromfolder] [tofolder]"
J = Junction

(for files use /H instead of /J)

Sunday, August 16, 2015