How to start Word with a specific template

  1. Open Word the usual way.
  2. In the template selection view, select the template you want and click Create. For example, Blog Post.
  3. When Word opened your document, click Save As and select Word Template in the Save as type drop-down box.

    Path should change automatically to your Custom Office Templates directory.
    Give your template a name. For example Blog, to keep it simple. At this point, you can close this document.

  4. On your Desktop or wherever you want, right click and select NewShortcut.

  5. In the location field, add full path to winword.exe file; default location for 2016 version is “C:\Program Files\Microsoft Office\root\Office16”. Also, you need to specify the location and name of your template file. Mine is in “D:\_Main Documents\Documents\Custom Office Templates” so my full path will be (including quotes and template name): “C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE” /t”D:\_Main Documents\Documents\Custom Office Templates\Blog.dotx”

    Make sure there is a space before /t switch and there is no space between the /t switch and template path. Click Next.

  6. Give your new shortcut a name; Blog from Word for example. Click Finish.

  7. Your new shortcut is now ready for use. Double click it and Word will open using your new template without asking anything else.

Optionally, it’s more a nice to have actually, you can personalize your shortcut with a custom icon so that you can quickly differentiate it from other Word files and shortcuts.

  1. Right click your new shortcut and select Properties.
  2. Click Change Icon… and browse to the location where you have an .ico (ICO file format is an image file format for Windows icons) file you want to use.

    If you do not have an icon to use, click Browse and in File name box type: %SystemRoot%\System32\SHELL32.dll
    Here you have quite a few old but good icons that you can choose from. Select one icon and click OK twice.

  3. Your shortcut is now fully customized and ready for use.

How to use Word for Blog publishing

  1. Start your Office Word application. It works with any version starting with Word 2007.
  2. While you’re in the new template selection view, search for “blog” in the “Search for online templates” field.

  1. Blog post” template should be listed. Click it and then select Create button.

  2. On first run only, you’ll be asked to register your blog in Word. You can click Register Now and walk through this process or you can click Register Later and do it later by using Manage Accounts from Blog command group.

  3. If you clicked Register Now, you’ll be asked to select your blog provider. You see that this list does not include all possible blogging platforms, that’s kind of normal I’d say…, but you have the Other option and you then can add any blog details as long as you know the link to provider’s API.

    I selected WordPress because this is what I have.

  4. Next screen will ask for your blog’s URL. And, this is different from platform to platform but, for WordPress you need to provide the link to your xmlrpc.php file. It is usually in your root folder of your site but if it is in another folder, make sure to add the correct path.

    For default location, just paste your site’s address between the backslashes, thus replacing <Enter your blog URL here> with your blog’s URL.

    Add your username and password. Optionally, select Remember Password if you’re the only one who’s using your Windows account. If there are more people using same Windows account, to prevent others posting funny things to your blog, leave this option unchecked.

    Under Picture Options, you can select where your post’s pictures will be uploaded to. For simplicity, keep it as My blog provider.

  5. Once you have all fields completed, hit OK.

  6. If everything was done correctly and Word could connect to your blog, you’ll be presented with a nice confirmation message.
  7. Next, you’ll have your Word template changed to Blog. Notice Blog command group. It contains all your basic needs for creating and publishing blog posts. One thing is missing though, ability to add Tags.

    If you have a more complex blog, photography maybe or e-commerce, or if you use Featured Images or you need to add Location to your posts, probably Word is not that much suitable to you.

  8. From Insert tab, you have access to add a lot of items to your post, like images, shapes, tables etc.. As an example, below picture has Rounded Corners style added.

Below is a shape added from Word, it will be posted as a picture:

 

Just in case something went wrong and you have issues connecting to your blog or uploading images, please take a look at Microsoft’s article about this, scroll down to the bottom for troubleshoot problems.

Uninstall software on remote computers using WMIC

Recently, I wanted to install Nokia Ovi Suite to several computers in a company that started to have problems with their internet provider; it’s a third day when they do not have internet connection. So I thought it’s a good idea to show them how they can use their Nokia E72 phones to connect their laptops to internet.

Well, prior to installing Nokia Ovi Suite I had to uninstall old versions of Nokia PC Suite from 4 systems, remotely. I decided to do it using WMIC instead of ConfigMgr as the Nokia PC Suite was installed on small number of computers. After this, I can proceed with installing Ovi Suite using ConfigMgr. Till then, here is how I uninstalled PC Suite using WMIC.

  1. In a command prompt window, type Runas /user:YourUsername@UPNsuffix cmd.exe (or Runas /user:domain\username cmd.exe) where YourUsername is your domain admin username or any username with admin privileges on the remote computer and UPNsuffix is your UPN suffix. Let’s suppose I use [email protected]
  2. In the command prompt window type the password for user [email protected] and press Enter
  3. Type WMIC
  4. Now, list all Nokia software on a specific computer using the command /node:COMPUTERNAME product where vendor=”Nokia” get name, version
  5. Once we know the software name, we can uninstall specific product using the following command /node:COMPUTERNAME product where name=”Nokia PC Suite” call uninstall. You will see a message like Execute (\\COMPUTERNAME\ROOT\CIMV2:Win32_Product.IdentifyingNumber=”{225DB4AA-3CFF-47E8-B3C8-6DAD713E986E}”,Name=”Nokia PC Suite”,Version=”7.1.51.0″)->Uninstall() (Y/N/?)?
    Type Y and wait for the result.
  6. To make sure Ovi Suite will install successful, I’m going to uninstall all Nokia software (except the runtime) using the same command just replacing the software name.
  7. Now, I can proceed and install Nokia Ovi Suite 3.1.1.78 using ConfigMgr Software Distribution method. By the way, program’s command line for silent install is Nokia_Ovi_Suite_webinstaller_ALL.exe /SILENT=”1″

If vendor name contains spaces, use the following example: wmic product where vendor=”Microsoft Corporation” get name

Find computer name for a remote computer using PSExec

Let’s say you know the IP address of a computer but you don’t know the hostname. Seems to be an easy task with ping –a, if you have a working DNS Smile

If not, you can try the following approach:

  1. Create a cmd file on client’s computer. Say in \\IP\C$\Windows\Temp\FindHostname.cmd
  2. Edit FindHostname.cmd. Type in: echo %computername% >> C:\Windows\Temp\Hostname.log
  3. Run PSExec: C:\PSTools\PsExec.exe \\IP C:\Windows\Temp\FindHostname.cmd
  4. Look into \\IP\C$\Windows\Temp\Hostname.log, you will have the computer’s name.

Find computer model and manufacturer using remote WMI

In case you need to find the computer model and manufacturer of a remote computer, just use the following command in a command prompt window:

%windir%\System32\wbem\WMIC.exe /node:"ComputerNameORIpAddress" ComputerSystem Get Model, Manufacturer

If you need to specify user credentials, use the following command:

%windir%\System32\wbem\WMIC.exe /node:"ComputerNameORIpAddress" /user:"domain\username" /password:"password" ComputerSystem Get Model, Manufacturer