Tag: windows

  • Windows’ find command

    It would appear that, not-entirely-contrary to my common rant that Windows offers no text processing tools at all, Windows does offer a find command which is like a severely crippled grep. It has five options: U:\>find /? Searches for a text string in a file or files. FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] “string” [[drive:][path]filename[…

  • UI Fail: scanpst.exe’s incompatibility

    Sometimes, on trying to scan a PST with MS Office’s bundled scanpst.exe, you get the below error: And a log that ends: Fatal Error: 80040818 What MS meant to say was: You’re scanning an Office 2003 PST file with the scanpst tool that shipped with Office 2007. For some reason, we decided that while Outlook…

  • UI Fail: Windows XP ‘runas’ dialogue box

    On right-clicking an executable ((Though not every executable. If you want to run something in the control panel, probably the most common place to want to runas, you need to shift+right-click. Several MSI files don’t do it, and nor do any apparent CAB files. Let alone the inability to directly open a non-executable file as…

  • Moving WinXP’s My Documents

    The My Documents directory location is stored in the registry at HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders in a key called personal. The following script is what I use to remap this to u:/documents: ;; create some dirs: u: mkdir documents mkdir outlook ;; Move My Documents folder: ;; delete current setting reg.exe delete “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders” /v Personal /f…

  • Using Synergy to share a keyboard and mouse across PCs

    Synergy is a really neat way of using multiple computers at the same time, like a more convenient KVM switch (you do need to be physically close to all of them). It basically allows you to have a monitor for each PC on your desk, and one keyboard and mouse with which to monitor them.…

  • Cheating at LDAP in MS Active Directory

    adsiedit.exe allows you to click your way through the AD directory tree and view and edit attributes, in short. It’s pretty handy for quickly getting the dn of an object when you’re not entirely sure of the directory structure to begin with. It’s all rather self-explanatory and clicky friendly:

  • sudo for windows. Sort-of

    Windows (XP) has a pretty basic users system, and switching between users is pretty convoluted. Also, msi binaries don’t have the Run As… option in their right click menu by default. There’re two ways of doing it: First, the runas command, which is sort-of sudo for Win32. There’s no /etc/sudoers, it uses the AD/NTFS ACLs.…

  • mfehidk.sys BSoD with McAfee TotalProtection

    Is the fault of McAfee, whatever they tell you about Daemon Tools. Reinstall the McAfee client.