Windows Client

Unable to delete a folder with a trailing space

Problem:

Two folders on a file server I administer had been created with a space at the end of the folder name.

 

If I tried to delete these folders I got the message "Could not find the item"

 

If I tried to view the security I got the message "The requested security information is either unavailable or can't be displayed"

 

Continue Reading

Changing a Windows Product Key Using Command Prompt

From time to time the need arises to change a Windows product key, the below uses slmgr.vbs to change the Windows product key and activates Windows;

- Open an Administrative Command Prompt

- Enter the command slmgr.vbs /ipk <product key>

- Enter the command slmgr.vbs /ato

Continue Reading

Changing a Services "Path to executable" in the registry

If you ever need to change the executable a Windows service points to it can be done easily in the registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[Name of Service]

To change the location of the exe just change the ImagePath key.

service01.PNG

 

service02.PNG

 

Continue Reading

Change Windows File Associations via the Command Prompt

The blow shows how to reset file associations via the command prompt.

File associations are per user

Commands

asscoc .<filetype>     Gets the system name for the file type

Continue Reading

Windows 7: Do you trust this printer?

Problem:

On my Windows 7 devices my users have been receiving the below message when tring to attach to a new printer

do_you_trust_printer_error.png

Cause:

A security feature that was added in Vista and Windows 7 called “Point and Print Restrictions”

Continue Reading

Internet Explorer has modified this page to help prevent cross-site scripting

Problem:

Recently I upgraded Internet Explorer on our Citrix farm from IE7 to IE8, everything went fine except for a very important site used for entering customer orders! When users tried to use this site they received the below message with IE.

xss_filter_error.png

Casue:

Internet Explorer 8 has a new security feature call “XSS Filter”, more details on what the “XSS filter” does can be found here;

Continue Reading

Sysprep: Error with unattend answer file during setup

Problem:

Recently after running sysprep on a Windows 7 I was greeted with the message “Windows could not parse or process the unattend answer file for pass….”

sysprep_unattend_error_1.JPG

I was not tring to use an unattended answer file at the time so a bit of a strange messge.

Continue Reading

PowerShell script to show the state of your laptop battery

Windows holds so much great information in the WMI including information on the battery.

The below is a little PowerShell function that will show you what state your laptop battery is in full, charging etc.

Continue Reading

WSUS how to remove an update from computers

If you have every wondered how to remove a update from computers using WSUS then the below should help.

 

  1. Open the WSUS MMC console and connect to your server
  2. Expand Update Services => Server Name => Updates
  3. Right-click All Updates and select Search

    wsus_removal_1.png

Continue Reading

VBS Script: Migrate granularly users from one printer server to another

The below script is an example of how you can migrate users from one printer server to another based on the printer model or name.

Sometimes doing a big bang migratiion from an old print server to a new one is not the best idea so this script allows you to provide a list of printer models to migrate rather than doing them all at once. When I use this script I call it from a logn script and add a model or two a day until the migration is complete.

Continue Reading

Pages

Subscribe to RSS - Windows Client