How to install a personal certificate (for email signing) on Windows Mobile 6.1

I wanted to be able to sign/encrypt email on my BlackJack II which is running Windows Mobile 6.1.  I already have the certficates installed in Outlook for the coming year and now I wanted it on my device.

  • Export from Outlook
  • Import certs on WM6.1
    • Restart your phone first
    • Start > All Programs > Applications > File Explorer > Browse to your saved certificates
    • Select your certificate
    • Enter password that was used to export > Done
    • Hopefully, you'll get: "One ore more certificates were installed successfully"
  • View certificates

 

Categories: email, Windows Mobile, Windows Mobile 6.1

Dreamweaver CS3 freezes with code view

My CS3 version of Dreamweaver started freezing on files that were not small when I switched to code view.  Well, the problem is known by Adobe and it relates to time changes (Daylight Savings Time) documented in Adobe KB402776. The article mentions ASP and PHP but my setup is for CFML.

The solution is to remove a file:

path: C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver 9\Configuration

filename: WinFileCache-AD76BB20.dat

After closing DW, I just renamed the extension to .dat_old and reopen DW.  Give DW time to recreate it and all should be well again.

Categories: CS3, Dreamweaver

Regular expressions in Visual Studio

Here is a list of regular expressions that work for me in Visual Studio when locating/replacing text in SQL.

  • generate scripts tasks for data will turn dates in to HEX. For example, it will turn a row_created_data column into  CAST(0x000063DF01035C97 AS DateTime). I want to change those dates to GETDATE(): search for ‘CAST\(0x:h AS DateTime\)’ (:h searches for hex values)
Categories: RegEX, Visual Studio

Installing CS4 fails with “Critical errors were found in setup. Please see the Setup log file for details.”

I have CS3 installed already. CS4 refused to install.  Where were these mysterious log files? C:\Program Files\Common Files\Adobe\Installers

Well, the log files are sure thorough!  In fact nothing could jump out as to why it was failing since the logging was so verbose.

The top of the log file has the address for a log analyzer.  That page will install an Adobe Air application which can actually read the logs and link to documents for common failures. Unfortunately, "The module found no solutions to report for the selected log file." 

Categories: Uncategorized

Using RDP (Remote Desktop) is creating Grid Artifacts

Using RDP client on XP SP2 with windows servers (2008, all varieties) was causing a strange grid like pattern.  Installing update KB952155 to the RDP client fixed it.  You can tell if your client is the proper version as the RDP client connection GUI will change to not have a password field on the connection tab after this update is applied.

Evidently, this effect is a side affect after installing KB958470 (MS09-044)

Categories: RDP, Windows Server 2008, Windows XP

Setup new disk on Server 2008 Core

Adding a disk is easy enough when it is a virutal machine.  Making use of the disk with diskpart still has a bit of a learning curve for me.

diskpart

DISKPART> list disk

DISKPART> select disk 1

DISKPART> create partition primary

DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.

DISKPART> attributes disk
Read-only  : Yes
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No

DISKPART> list disk

  Disk ###  Status      Size     Free     Dyn  Gpt
  ——–  ———-  ——-  ——-  —  —
  Disk 0    Online        36 GB      0 B
* Disk 1    Offline      127 GB   127 GB

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.

DISKPART> online disk

DiskPart successfully onlined the selected disk.

DISKPART> convert dynamic

DiskPart successfully converted the selected disk to dynamic format.

DISKPART> create volume simple

DiskPart successfully created the volume.

DISKPART> list disk

  Disk ###  Status      Size     Free     Dyn  Gpt
  ——–  ———-  ——-  ——-  —  —
  Disk 0    Online        36 GB      0 B
* Disk 1    Online       127 GB      0 B   *

DISKPART> list part

  Partition ###  Type              Size     Offset
  ————-  —————-  ——-  ——-
  Partition 1    Dynamic Data       127 GB    32 KB

DISKPART> list vol

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ———-  —  ———–  —–  ———-  ——-  ———  ——–
  Volume 0     E   20081030_12  CDFS   DVD-ROM      342 KB  Healthy
  Volume 1     C                NTFS   Partition     36 GB  Healthy    System
* Volume 2                      RAW    Simple       127 GB  Healthy

DISKPART> format fs=NTFS label="FTP data"

  100 percent completed

DiskPart successfully formatted the volume.

DISKPART> assign letter=d

DiskPart successfully assigned the drive letter or mount point.

DISKPART> list vol

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ———-  —  ———–  —–  ———-  ——-  ———  ——–
  Volume 0     E   20081030_12  CDFS   DVD-ROM      342 KB  Healthy
  Volume 1     C                NTFS   Partition     36 GB  Healthy    System
* Volume 2     D   FTP data     NTFS   Simple       127 GB  Healthy

 

Categories: Windows Server 2008 server core

Enable remote management to 2008 Server Core

It seems Microsoft's guys think that when a server is added to a domain (DOMAIN JOINED), no configuration is necessary but it was in my case:

  • netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
Categories: Windows Server 2008 server core

Add FTP service (IIS7) to server core

You'll need the following roles added in this order

  • start /w ocsetup IIS-WebServerRole 
  • start /w ocsetup IIS-IIS6ManagementCompatibility
  • start /w ocsetup IIS-Metabase
  • start /w ocsetup IIS-FTPPublishingService 
  • start /w ocsetup IIS-FTPServer 

Then, to make the service start on boot, use the following (it does require a space after the = sign)

  • sc config MSFTPSVC start= auto 
  • net start MSFTPSVC
Categories: Windows Server 2008 server core

Server core commands

Windows 2008 Server Core requires setup via the command line.  Here are some items for common tasks:

Server core configurator; get the ISO and attach to your VM; browse the DVD drive and run Setup-Core.wsf

Add domain user to Administrators group

  • net localgroup Administrators /delete <domain\username>

Reboot the server

  • shutdown /r /t 0 

Rename the server

  • netdom renamecomputer <ComputerName> /NewName:<NewComputerName>

List installed patches

  • wmic qfe list 

Services (list/start/stop)

  • sc query; sc start; sc stop

Enable RDP for XP/2003

  • cscript C:\Windows\System32\Scregedit.wsf /ar 0
    • /ar will enable 2009/vista access
  • cscript C:\Windows\System32\Scregedit.wsf /cs 0
    • /cs enable 2003/xp
  • netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
    • adds rule to firewall for access
Categories: Windows Server 2008 server core

SQL server date formats

How many different ways are there to format a date/time? Too many.  Here is a list of formats and the specific command to get them: http://www.sql-server-helper.com/tips/date-formats.aspx

Categories: SQL Server 2005, SQL Server 2008

Proudly powered by WordPress Theme: Adventure Journal by Contexture International.