Configuration
π Posts | π Enterprise, Linux, Microsoft, Operating Systems, Software, Windows | π Configuration, Cross-Platform, Enterprise Systems, Group Policy, Microsoft, Microsoft InTune, Microsoft Windows administrators, Mobile Device Management, Operations, software delivery, System Center Configuration Manager, Windows desktops
DSC vs. GPO vs. SCCM vs. MDM (Intune)
Microsoft Windows administrators now have a number of ways for managing their estates. Group Policy (GPO) Allows very fine-grained control over every aspect of Windows. Primarily aimed at Windows desktops. Requires Active Directory (AD) and very careful configuration. Requires well trained specialist staff to get it right. System Center Configuration Manager (SCCM) Allows central control over software delivery. Also requires AD. Configuration of delivery packages can be complex and very careful change control is required.
How-to show a Message of the Day (MOTD) at the Windows Command Prompt
One of the features available under UNIX is the Message of the Day (MOTD). This is run every time you start a command prompt and displays the content of a file. In addition, the UNIX shells allow all sorts of stuff to be run and configured every time you start a new prompt using the .profile and .bashrc command files. Windows users donβt generally expect that kind of flexibility from their command prompts.
Site updated β Faster and better!
The upgrade of this blog from WordPress 3.3 to 3.4 on Dreamhost didnβt go as smoothly as planned. In fact it failed fairly spectacularly β unable to complete the required database upgrade. However, many clouds have silver linings. In this case it meant that I brought forward my plans to ditch the horribly slow hosting provided by Dreamhost in the USA and switch over to the new VPS provided by BHost in the UK.
Speeding up Cygwin
Yesterday I mentioned my success with Cygwin. One issue I did have though was with the speed of startup. It was taking 15-20 seconds to start a BASH shell. It turns out that this was a PATH issue. I went through my Windows PATH and cleared out the clutter. Now it takes just around 3-4 seconds for a full BASH login and less still for just running a script. I now find myself using the BASH shell for all sorts of things and Iβve set up a number of aliasβs to switch to folders Iβm using a lot and to open common documents.
Keeping Control: File and Folder Links for Windows Users
A good backup strategy for any computer involves keeping control of where stuff is stored. The fewer locations that contain files that change, the fewer locations have to be maintained. UNIX users have always had the ability to keep things wherever they wanted and then to LINK that information into the required location. Basically, links create a link or tunnel between one file or folder and another. Most of the time, you will not notice that youβve entered a tunnel and you are not interested really.
π Posts | π Development, Microsoft | π AutoHotKey, Configuration, Office, OneNote, Scripting
Copy and Paste to OneNote (AutoHotKey script)
After yesterdays OneNote tool post, I thought Iβd do another while I think about it. Another annoyance of OneNote is itβs lack of control over pasting information from the clipboard. Iβve raised a suggestion with MS to improve this; you can see my comment in the newsgroup. To ease things a little if you need to copy and paste lots of stuff to OneNote, here is an AutoHotKey script to help.
π Posts | π Development, Microsoft, Windows | π AutoHotKey, Configuration, Office, OneNote, Scripting
Setting list item gaps in Microsoft OneNote (AutoHotKey script)
Although I like Microsoft OneNote and use it continuously, it does have a few failings. One of these is the inability to set the default styles and layout for text. In particular, when you create a new paragraph or list entry in OneNote, the default β non-changeable β setting is to have no white space between the paragraphs. This is very poor design and makes more than a small amount of text quite unreadable.
Changing system environment variables from the Windows command line
There are several ways to change global or user environment variables manually in Windows. Most are well known so I wont repeat them here (e.g. in Vista or Windows 7, Control Panel/User Accounts, Change my environment variables). However, sometimes you want to do this from a command (aka script or batch) file. This is not as straightforwards as it might seem. Thatβs because if you simply set the variable β e.
proxy.pac files, Mozilla (Firefox & Thunderbird) and Vista or Windows 7
Iβve found a problem with Mozilla based products and proxy settings. To automatically configure a proxy for use by Internet browsers, you can use a file called βproxy.pacβ. This is a JavaScript function that is loaded into the browser when it starts and redirects requests via a proxy where required. All of the descriptions for this file you will find on the Internet will provide the following example of checking your current IP address.
Font sizes and DPI
This seems to be a problem that wonβt go away. It seems inordinately hard to get a good looking set of fonts of the correct size. It is not that there arenβt some nice fonts available; there are, at last, some fonts under Linux that often look superior to the Microsoft ones. Itβs just that it is difficult to get the whole look and feel correct. This is especially true when mixing Gnome based applications (Firefox and Thunderbird for example) and KDE.
Flashing the BIOS from Linux (Phoenix BIOS)
I havenβt looked at the BIOS on my ageing ASUS A8N-SLI motherboard for ages β in fact not since I switched it fully to Linux β so how do you update the Phoenix BIOS without DOS or Windows? I donβt bother with a floppy disk any more and creating a DOS boot CD just for this once every x years job is a faff! Well there is an [article here][1] that might help.
Changing backspace to go back through history (FireFox for Linux)
Us old-time Windows bods get used to our keyboard shortcuts Iβm afraid. One of the most useful is using the backspace key in the browser to go back through the browsers history. Unfortunately, this is not the default under Linux (alt-left arrow is the default). FireFox has an easy way to fix this. Put βabout:configβ in the address bar and βbackspaceβ in the search entry. You should see the entry βbrowser.
What did I install? (For OpenSUSE)
One thing that I didnβt get around to doing since I moved from Ubuntu was to work out how to make a note of what has been installed. This is slightly complicated by the fact that you can install stuff straight from an RPM file as well as through YAST (from the repositories or 1-click links). Well, I finally got round to working it out and here is a summary. To see what you have done with the YAST installers, just look at the log!
What Linux system files might need editing?
Whilst great strides have been made by the Linux community to provide GUIβs for many tasks, it is still a command line driven OS at itβs heart. This, of course, is one of its strengths as everything can be scripted too. However, for none IT techies, it is very daunting. Here Iβm listing some of the system files Iβve had (or at least wanted) to change by hand. Itβs a very quick reference, largely for my own benefit should I need to rebuild my system.
Fast storage using tmpfs
Here is a link to an article on using tmpfs (and the commonly pre-defined /dev/shm mount for tmpfs) as a high-speed, in-memory filing system. This is very handy for small-ish amounts of data in files that get a lot of access. Just remember that you will loose it if the host crashes! You can use this for SqlLite database files too. [Create turbocharged storage using tmpfs][1] [1]: http://kevin.vanzonneveld.net/techblog/article/create_turbocharged_storage_using_tmpfs/