0

Tips & Tricks : Add Sublime Text to right-click menu in Windows

-

To make using Sublime Text 3 more convenient, you can add this to right-click context menu.

It will simplify ability to open any file and/or folder with Sublime Text right from Windows Explorer.

@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe

rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3"         /t REG_SZ /v "" /d "Open with Sublime Text 3"   /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3"         /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f

rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3"         /t REG_SZ /v "" /d "Open with Sublime Text 3"   /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3"         /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
pause
0

Tips & Tricks : Change location of Box Sync folder

-
Once you have installed Box Sync and before logging into Sync , set the folder location in the registry key:
  1. Open Registry Edit by going to the Start menu and searching for regedit.
  2. In the left pane, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > BOX > BoxSync
  3. In the right menu, right-click and select New > String Value. Name this new value SyncRootFolder.
  4. Right-click the newly created SyncRootFolder value, select Modify, and set the Value data to the required path. End the path with the name of the new Sync folder. 

Important is also to change shortcut, which appears in Windows Explorer tree. In order to point it to new folder:

  1. Open Registry Edit by going to the Start menu and searching for regedit.
  2. In the left pane, navigate to HKEY_CLASSES_ROOT > CLSID > {4A8FCD9F-623C-4283-96F0-10F41846A98A} > Instance > InitPropertyBag
  3. In the right menu, double-click on TargetFolderPath and enter new location for Box Sync files.

 

1

Tips&Tricks : How to skip Autologon in Windows XP

-

As I had to fight with WIndows XP Autologon (we have it on many computers which are used for example for CCTV), I think can write down one more quick tips how to skip Autologon feature and use different account to access computer (for example to install Windows Updates).

So, situation I was dealing with was computer with Windows XP, connected to Active Directory domain with Autologn feature enabled. After computer started I’ve seen welcome dialog and after pressed ctrl-alt-del autologn procedure kick in and login to computer with restricted account. How to skip autologon process and be able to enter different username and password?

(more…)

0

Windows Registry : Autologon in Windows XP

-

Again one of those things which I forget when is needed. Autologon in Windows XP. Funny enough is the fact that each time I’m looking for this information is when I want to prevent Windows XP from auto logon and trying to disable that in registry using remote access from Registry Editor.

Fortunately Microsoft prepared full detailed description, so now I can write down in my scratchpad for future reference instead of using Google each time I need that 😀

(more…)

0

Windows Registry : How to change background on Windows logon screen

-

Background image on logon screen os common issue with pre-installed servers, for example from Dell. That makes accessing those systems via Remote Desktop painful and slow (it happenes that serer is shipped to location, racked and stacked, and then whole configuration take place remotely). By default background bitmap from logon screen is sitting in C:\Windows\System32\oobe\info\backgrounds, so you can put your own logon screen background or if you don’t want to have any (just system default) you can follow instructions below and remove background from logon screen.

(more…)