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, December 23, 2015
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
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
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)
J = Junction
(for files use /H instead of /J)
Sunday, August 16, 2015
adduser to sudo group
adduser <name> sudo
user <name> has to login again for using the sudo command!
Subscribe to:
Comments (Atom)