News: Sensation!!! Buying viagra online Hydrocodone ap ap Xanax and drug testing Buying vicodin online Santa claus viagra jokes Oxyphenbutazone Phentermine delivered overnight Cheap viagra Fluoxetine Viagra versand Cheapest viagra in uk Vicodin online pharmacy Lowest price phentermine Us phentermine Phentermine caffeine Lescol Buy meridia online What does generic xanax look like Selegiline Mephentermine Xanax and pregnancy Phentermine online ordering Xanax addiction treatment Amaryl How long does xanax stay in your system Buy cheap no phentermine prescription Adipex Elidel Tramadol online cheap Amprenavir Phentermine Generic meridia Buy viagra without prescription Encare Hydrocodone query Xanax photos Amoxicillin Remeron Nasonex Buy cod phentermine Xanax in pregnancy Buy Zovirax Woman take viagra Ampicillin Purchase cialis Side effect of viagra Viagra lawsuits Buy Norco Phentermine depression What does phentermine look like Effects of phentermine Allopurinol Isotretinoin Soma cube Lisinopril with viagra Picture viagra pill Hydrocodone drug Blue 30 mg 90 free shipping phentermine pharmacy Benicar Strattera Cheapest price phentermine online pharmacy Omnicef Famotidine Cialis injury lawyer ohio Luxury hotel rome xanax description Viagra high blood pressure Valium vs xanax Fioricet medication Labetalol Granisetron Pharmacy phentermine affiliate Hydrocodone overdose Buy Lorazepam Grapefruit viagra Effects of long term xanax use Phentermine on line Diet information phentermine pill Phentermine pictures Tramadol used for Hydrocodone on line Restoril Buy cheap domain online outdoors com xanax Price for generic viagra Buy online viagra Online pharmacies with doctor consultation for viagra Tramadol information Cardizem Viagra online store Mixing viagra and cialis Phenyltoloxamine Xanax withdrawal muscle joint nerve pain Diet hcl phentermine pill 50 mg viagra Tetanus Pravachol Generic viagra lowest prices Phentermine florida Cialis online sales Can woman take cialis Primaquine Ribavirin Canada generic viagra Buy cialis in the uk Phentermine to buy Diamox Pharmacies ship phentermine c.o.d method Cordarone Phentermine cheapest Soma gallery Buy viagra in uk Maker of viagra Doxepin Hydrocodone bitartrate Oxprenolol Clopidogrel Vitamin b12 1000 mcg phentermine and panic attacks Xanax no prescription Alendronate Kanamycin Alphaprodine Low price phentermine Phentermine tablets Lowest price tramadol Thiopropazate Hydrocodone cod Order tramadol online Viagra paypal france How to stop taking xanax Daunorubicin Mixing cocaine and viagra Trimethaphan Flonase Phenylpropanolamine Phentermine us Cheapest phentermine diet pill Vancomycin Natural viagra Adipex p phentermine vs Tramadol online pharmacy Compare viagra cialis levivia Phentermine by cod Cyclopenthiazide Fluphenazine Pyridium Terfenadine Effects viagra Viagra price list Lopressor Fast delivery phentermine Cheap diet phentermine pill Cheapest phentermine pills Quinine Tramadol hcl Fluoxetine Cialis dosages Butorphanol Cheapest viagra price Phentermine without doctor's approval Erectile dysfunction viagra Xanax drug interactions Penbutolol Generic name online qoclick tramadol Glyburide Hydrocodone cough syrup Concerta Fluorescein Methyclothiazide Encainide Buy fioricet Phentermine insulin Phentermine overnight delivery Amantadine Buy phentermine mastercard Buy viagra now online Long term effects of phentermine use Yasmin Canadian viagra Cod phentermine shipped Fluticasone Phentermine buy online Viagra sales online Fosamax Polythiazide Ranitidine Metyrosine Generic viagra overnight Westword fioricet phentermine Phentermine risks Phentermine cash on delivery Adipex diet phentermine pill prescription Ordering xanax online Zetia Adapalene Buy Acyclovir Clomipramine Custom hrt phentermine Phentermine buy cheap Cialis immunity Provigil Xanax manufacturer Viagra cream Urine drug testing of tramadol Imitrex Lopressor Fluticasone Buy Tylenol Female uk viagra Generic cialis Vicodin Phentermine order Marijuana Phentermine us pharmacy online consultation Compare phentermine price Lamisil Ritalin Canadian cialis Methoxsalen Zyrtec Viagra generic drug Phentermine and sibutramine be combined Guanfacine Drug information on xanax Discount meridia Mylan xanax Viagra online pharmacy Diet pill phentermine Diazepam Ambien overdose Viagra herbal alternative Buy Hydrocodone Nicorette Mifepristone Dilantin Glycopyrrolate Colchicine Nortriptyline Lamotrigine Ultram Naprosyn Order fioricet online Plendil Xenical Xanax sexual side effects Smoking xanax Cholestyramine Actos Leucovorin Mesoridazine Phentermine and topiramate for weightloss Dexbrompheniramine Isoxsuprine Sulindac Phendimetrazine versus phentermine Perscription cialis Relafen Glucophage Methdilazine Cheap phentermine canada Herbal viagra for women Fenoldopam Hydrocodone apap Levivia viagra Phentermine studies Plavix Mebanazine Generic sample viagra Ambien side effects Uk online pharmacy phentermine Viagra pharmacy Tricor Tramadol online Buy online prescription viagra Buy viagra pill online Herbal viagra alternative Get viagra drug online Thyroid Cialis dosage Thioridazine Allopurinol Adipex phentermine weight loss Antazoline Viagra prescriptions online Cheapest phentermine 90 day order Phentermine a159 Xanax long term use Meridia vs. Phentermine Purchase viagra Get viagra online Cialis levitra viagra compare Sophia viagra Cod tramadol money orders Pulmonary hypertension viagra Amlodipine Voltaren Isometheptene Pfizer viagra online Cheapest phentermine 90 day orders Phentermine free delivery Which is better cialis or levitra Exelon Inject xanax Cheap diet online phentermine pill Herbal phentermine side effects Methylphenidate Canada cialis generic Cialis experience Does it viagra work Buy phentermine online About xanax Adalat Xanax drug information Mexican pharmacy viagra Climara Viagra substitutes Phentermine raleigh Buy phentermine with no prescription Tramadol withdrawal symptoms Meclofenamate Keyword prescription qoclick tramadol without Diet pill xanax Tramadol and drug tests Viagra women Buy Meridia Phentermine saturday delivery Phentermine directly and discreetly adipex No perscription xanax Medication drug mylan online search phentermine diet Irbesartan Where to buy viagra on line Xanax and valium Xanax half life Vicodin dosage Fill online prescription viagra Tramadol overdose Lexapro Buy cialis without prescription Phentermine withdrawal symptoms Lowest price phentermine with free shipping Cheapest phentermine online Medrol Calan Lodine Phentermine shipped to florida Xenical hgh phentermine quit smoking Ibuprofen Imipramine Order phentermine diet pill Levivia viagra compared Order hydrocodone online Phentermine fastin Lowest prices on phentermine Phentermine interactions Tramadol hcl acetaminotran par Xanax doses Xanax for dogs Viagrarecords Phentermine np Triazolam Cod delivered phentermine Paroxetine 37.5mg phentermine Cetirizine Cialis compare levivia viagra Hydrocodone m367 92 accepted cod phentermine Ethambutol Phentermine no prescription required Phentermine no credit card required Levivia vs cialis vs viagra Buy phentermine prozac Generic viagra canada Adipex diet phentermine pill Buying viagra on line Pill price viagra Buy phentermine saturday delivery ohio Mexican pharmacy phentermine Luvox Xanax online without a prescription Benzthiazide Phentermine at cost with no prescription Crohns phentermine Phentermine blue capules Zithromax Methyldopa Fioricet Doxylamine Viagra online canada Viagra results Phentermine side effects danger Klonopin vs xanax dosage Motrin Avelox Nasonex Pediacare Mirtazapine Cialis generic viagra Free pack sample viagra Rated online pharmacies for phentermine Drug interaction sibutramine and phentermine Phentermine and atkins diet Maxzide Buying vicodin Herbal viagra alternative review Buy cod pay phentermine Buy Xanax Alternative herbal viagra Aminopterin Pancuronium Viagra cialis levitra comparison Vitamin Order generic viagra Ionamin phentermine yellow Didrex Cialis versus viagra Abbr href rel title title viagra Addicted to xanax Phenelzine Buy discount phentermine Buy prescription tramadol without Viagra experience Diatrizoate Buy viagra cheap Does viagra work for women Ambien dosage Phentermine online 100 mg tramadol Ultracet Buy vicodin without prescription Vicodin and alcohol Buy Prozac Ambien prescription Hydrocodone side effects vicodin Phentermine no prescription required next day delivery Xanax dosage Non perscription generic cialis Buy phentermine without prescription Generic soma Xanax online pharmacy no prescription Buy Phentermine Appetite suppressants and phentermine Aricept Phentermine diet pills diet pills Chloroquine Lozol Phentermine online cod Cheapest phentermine online free shipping Xanax ambien Buspirone Lomotil Podophyllum Doxorubicin Hydralazine Buy cheap phentermine yellow Dofetilide Generic cialis from india Free viagra sample Minoxidil Best generic viagra Avandamet Eprosartan Atorvastatin Lindane Vicodin drug test Tramadol side effects Hydrocodone drug test Succinylcholine Fluconazole Free cialis Carphenazine Buy hydrocodone where Discount priced viagra Generic viagra uk Metaraminol Viagra alternative herbal supplement Phentermine yellow Viagra free pill Buy cheap uk viagra Ganciclovir Cheap online order viagra Viagra sales uk Dimenhydrinate Phentermine prescription online Inexpensive viagra Pepcid Per day buy phentermine Prazosin Viagra overdose Actonel Minocin Buy Atarax Xanax pictures Does phentermine really work Pantoprazole Ambien coupon cr Glucophage Buying viagra online uk Spectinomycin Ecstasy Fioricet information Between difference levivia viagra How fast does phentermine work Buy cod online phentermine Buy in online uk viagra Viagra generico impotencia Diflunisal Viagra treatment migraine headache Buy viagra online get prescription Phentermine canada Picture of soma Sell viagra online Cialis comparison levitra viagra Somatostatin Prozac and xanax induced mood disorder Phenazocine Viagra advertisement Cyproheptadine Cheap viagra generic What happens when women take viagra Trihexyphenidyl Beclomethasone Discount phentermine to florida Phentermine pill town Ultram tramadol hci tablet Xanax xr Buy levivia viagra Alfentanil Viagra for woman information Safe internet shopping generic viagraeng Streptomycin Diet pills phentermine Belladonna Taking phentermine Nexium Avalide Hytrin Clonazepam Fioricet description Tramadol cod Generic xanax 2mg Meridia weight loss Compare levivia viagra Buy phentermine tablet 2005 comment december leave viagra Viagra price comparison Xanax addiction Phentermine on line w&o prescription Lexapro Info on meridia Vicodin cod Phentermine works Online phentermine prescription Nystatin Adipex phentermine pill Avodart Phentermine overnight Dobutamine Best price for generic viagra Phenytoin Soma financial Esomeprazole Lexapro and xanax Xanax without a prescription Cheep phentermine Generic viagra cialis Bromocriptine Simethicone Cafergot Cheap phentermine prescription Best price for viagra in the uk Viagrafix corporation Cefadroxil Minipress Edrophonium Chinese viagra dragon power Digoxin Acetazolamide Tramadol prescriptions Trimethobenzamide Simvastatin Pentoxifylline Femara Viagra mexico Mixing viagra and cialis Codeine Viagra cialis generic Xanax gg 258 Triprolidine Buy soma Buy cialis online Viagra jokes Soma Glyburide Xanax detox Xanax Mobic Buy generic phentermine Buy discount cialis Free viagra without prescription Hydrocodone guaifenesin Chlorambucil Xanax paypal Bromodiphenhydramine Olanzapine Atacand Hexoprenaline Xanax online overnight Bricanyl Diprolene Estrogen Enalapril Tramadol cause kidney problems Generic viagra cheap Phentermine and glucophage Methotrexate Brand drug generic name viagra Viagra dose Viagra on line Cialis side effects Phentermine 37.5 mg no prescription Buy online securely viagra Hydrocodone bitartrate acetaminophen Viagra useage Cheaper viagra levivia cyalis Soma restaurant Ativan Hydrocodone overnight Online pharmacy prescription viagra Phentermine prescribed online Methenamine Tramadol 50mg Clozapine Topamax Purchase viagra on line Generic cialis india Reglan Can woman take viagra Generic cialis overnight Chlorhexidine Order phentermine cod online Estrone Cardura From generic india viagra Oxymetazoline Hydrocodone information Order phentermine online without perscription Cialis vs viagra Arthrotec Meridia Ceftin Adipex loss phentermine weight Chantix Bactrim Xanax zoloft Naloxone Phentermine for sale Buy Xenical Electricity Free viagra sample before buying Cheap online phentermine prescription Discount phentermine Viagra uk sales Buy lvivhostcom online viagra viagra Comparison levivia viagra Phentermine faqs Eon phentermine Pentasa Soma sleep Buy xanax without a prescription Pyridostigmine Phentermine sales Carbarsone Dalteparin Deslanoside Paromomycin Lawsuits involving blindness caused by viagra Dexfenfluramine Ephedrine Cefuroxime Phentermine resin Order phentermine c o d Research phentermine tolerance Order phentermine by cod Drug laws ohio diet phentermine Buy generic viagra online Fioricet phentermine shipping Alternatives to viagra Cheapest xanax online Phentermine online diet pill Buy cheap domain onlinemiheyorg phentermine phentermine Anafranil Cheapest phentermine diet pills Premarin Phentermine no credit card cod Phentermine success stories Buy phentermine online with pay pal Xanax for sale Free overnight phentermine shipping Alprazolam xanax over night Women using viagra Butriptyline Buy xanax online without a prescription Montelukast Online consultations and prescriptions phentermine Atorvastatin Natural viagra alternative Phentermine 37 5 Best price phentermine Adipex phentermine prescription Tramadol hc Tramadol dosage Catapres Estradiol Liquid cialis Xanax drug prescription Tramadol hci Phentermine low prices Celexa Nystatin Acitretin Phentermine diet pills cheap Viagra tablet Ergocalciferol Buspirone Mecamylamine Appetite suppressants equivelant to phentermine Podofilox Viagra cream for woman Bontril Female spray viagra Natural over counter just like viagra stores Phenergan Bosch power tools zio lowest viagra History of phentermine use Pictures of mylan xanax Perscription phentermine Azithromycin Xanax dosing Phentermine ups shipped Phentermine prescriptions online Buy discount viagra online Carbenicillin Order generic cialis Xanax in urine Norflex Pentaerythritol Xanax abuse Phentermine delivered cod Online pharmacy and phentermine overnight Thiamine


Archive for Windows Desktop

Cannot download Windows Live Messenger on Vista

Posted in Windows Desktop, Software by Ben Christian on April 20th, 2008

I re-installed Vista on my laptop a few days ago and since rebuilding I haven’t been able to download the latest version of messenger - It always comes up with “page cannot be displayed”. I tried a lot of different things but still couldn’t download it. In the end I managed to download MSN Messenger 7.5 and then upgrade by logging into my machine as an administrator and logging into MSN messenger. When logging in it asked me if I wanted to upgrade - It then downloaded the latest version successfully. I’m still not sure why I couldn’t download it directly from the webiste but the main thing is that I’ve got it installed now. I thought I’d post this in case it helps anyone else.

Cached Credentials with Windows XP

Posted in Windows Desktop, Windows Server by Ben Christian on September 30th, 2006

When you connect to a resource on another machine and supply a username/password, you are given the option to “save password”. It took me a little while to find where these credentials are stored in Windows XP, so I thought I’d share it with you.

The process is slightly different depending on whether or not the logged on user has local admin rights.

Viewing cached credentials – with Admin rights
  • Open the User Accounts control panel applet.
  • Select the Advanced tab, and click on Manage Passwords
  • Viewing cached credentials – without Admin rights
  • Open the User Accounts control panel applet.
  • When you are prompted to type in the credentials of an administrator, simply click on the manage your passwords link at the bottom of the dialog box instead.
  • In either case, you will be presented with the following box that allows you to add, remove or modify cached credentials.

    One of the issues that I’ve come across at various times in the past is that you can only authenticate to a machine with a single set of credentials. In other words, if you map a drive to \\server1\share1 as UserA, then you cannot map a drive to \\server1\share2 as UserB. You need to use a single user account that has access to both shares.

    A while back we needed users to access resources on a server in an untrusted domain (in other words, there was no trust relationship between the two domains/forests). Because the server was in and untrusted domain, users were prompted for a username and password when they tried to access an application stored on the server. We created a generic account in the destination domain so that users could connect to the server and access the application. However, the server was also a file server, and some users needed to access another share with a specific user account that the generic account didn’t have access to. The problem was that the users had already connected to the server with the generic account and had saved the password. This is where being able to remove the saved credentials came in handy. Once we removed the cached credentials of the generic account, we could then have users connect to the server with the specific account and access both the application and the data share.

    Annoying Software

    Posted in Windows Desktop by Ben Christian on April 13th, 2006

    As a network admin, I’m often handed software and asked to deploy it for a bunch of users. In a lot of cases the software is provided by a supplier or customer and in some cases is used to connect to their server over the internet. I’m amazed at how much of this software is, in my opinion, poorly written. Here are a few things that make me cringe, and often give me a headache.

    Local admin rights

    Running as a non-admin is obviously a best practice security measure, but a lot of developers make it difficult to put it into practice. When we went through the process of removing local admin rights from users, we ended up with a fairly long list of software that wouldn’t work without admin rights. To get around this, we used the Sysinternals Regmon and Filemon utilities to find out which registry and file system objects were giving us “access denied” errors. After identifying these, we were able to modify the object’s permissions to give the local users group the required access.

    I come across a lot of software that doesn’t work without elevated user privileges, and I often have to go the same process as above to get them to work under an ordinary user account.

    No Proxy support

    We are running several pieces of software that cannot be natively proxied. By that I mean that they need to connect to servers using ports that are not sent to a proxy server, even if one is specified in IE. Sometimes we are able to get around this by installing the Microsoft Firewall Client (an ISA feature), but at the moment I am testing software for users who are required to use a Squid proxy, and I’m not aware of any equivalent solution.

    There have been cases where using the firewall client doesn’t work either, so opening the required ports on the internet firewall is the only option. This is a relatively simple solution if you have a local internet connection, however a lot of companies (like ours) only have internet connections in regional centers which makes it more difficult. In situations where the software is installed in a remote site, we’ve managed to implement a work-around by creating a translation on the local router (for the network that the user belongs to) to convert the public IP address (that the software attempts to connect to), to a private IP address (that belongs in the subnet that the internet firewall resides in). Once that translation is in place, another translation is required on the internet firewall to translate from the private IP address to the original public IP address. Although it’s possible to do this, it’s not ideal, and in our case, involves a third-party (the WAN provider).

    Java

    It may be a nice development platform, but running multiple java applications can be difficult, particularly when they use different versions of Java. I’m currently testing a desktop environment with 5 different Java applications; only 2 of these applications use the same java version, so there are 4 different versions of Java installed. Java doesn’t seem to be completely backwards compatible, so if an application is developed for Java version 4, it may not work if only Java version 5 is installed on the workstation. In order to get the application to work, you need to install Java version 4. The problem is, to install Java version 4, you first need to uninstall version 5, then install version 4, and then of course install version 5 again so that your other Java app will work. I spent a fair bit of time trying to get all of the Java apps working in harmony. The golden rule it seems is to install the oldest version of java that you require first, followed by the next oldest version and so on. In any case, its a head-ache, so I never like receiving software written for Java.

    I’m sure if I thought harder I would be able to list more things that annoy me but these are the three things that have caused me headaches in the last few days.

    Locking down the Windows Scripting Host with Software Restriction Policy

    Posted in Windows Desktop, Security, Scripting, Active Directory by Ben Christian on March 1st, 2006

    The windows scripting host (WSH) allows administrators to execute scripts to automate administrative tasks, execute network login scripts and query systems for information - just to name just a few of it’s benefits.  I regularly write and run scripts; in fact I sometimes wonder how I got by before I ventured into the scripting realm.  The problem with the windows scripting host however is that it can be a launch-pad for malicious code.  Some administrators choose to disable the use of WSH on workstations and servers to prevent malicious code from executing.  While this makes a lot of sense from a security standpoint, it severely cripples your ability to automate admin tasks, and if you’re using vbscript based login scripts then you’re going to have a real problem. 

    A far better approach is to use software restriction policies to dictate which scripts are permitted to run.  Software restriction polices are a new feature available in Windows Server 2003 and Windows XP that are set via Group Policy.  You’ll find the software restriction policy under Computer Configuration/Windows Settings/Security Settings/Software Restriction Policy

    Software restriction policies are designed to control the execution of all executables, not just scripts.  There are 4 types of software restriction rules; I’m going to focus on the 3 that are beneficial to locking down the Windows scripting host.  To implement the rules, you simply create them in the Additional Rules folder.  Note that the folder already contains 4 default rules.

    SRP rules.JPG

    Path Rules:

    Perhaps the simplest to implement, path rules let you either allow or disallow executables to run based on the path that they are launched from.  For example, you could disallow the execution of .vbs files (and the various extensions associated with script files) but permit those files that are in particular network share to run.

    In this Example, you would create the following rules:

    Rule Type
    Security Level
    Value
    Path Disallowed *.vbs
    Path Disallowed *.vbe
    Path Disallowed *.js
    Path Disallowed *.jse
    Path Disallowed *.wsf
    Path Disallowed *.wsh
    Path Unrestricted \\ScriptsServer\Scripts\*.*

    You could also use path rules to disallow vbscript files from running but allow them to run from your netlogon shares so that vbscript based login scripts could run:

    Rule Type
    Security Level
    Value
    Path Disallowed *.vbs
    Path Disallowed *.vbe
    Path Disallowed *.js
    Path Disallowed *.jse
    Path Disallowed *.wsf
    Path Disallowed *.wsh
    Path Unrestricted %logonserver%\Scripts\*.*

    Note that Microsoft’s recommendation is to avoid using environment variables where possible, as environment variables can be changed by the user to point to a different path.  If you choose not to use the %logonserver% environment variable you may want to consider using your domain controllers’ names instead. This may be cumbersome if you have a large number of DCs, but you do have the ability to use wildcards in path rules, so if all of you domain controllers where named DC1 - DC100 you could implement a policy similar to the following:

    Rule Type
    Security Level
    Value
    Path Disallowed *.vbs
    Path Disallowed *.vbe
    Path Disallowed *.js
    Path Disallowed *.jse
    Path Disallowed *.wsf
    Path Disallowed *.wsh
    Path Unrestricted \\DC*\Scripts\*.*

    I’m comfortable in using the %logonserver% variable, and would be happy to use the first example in a production environment.

    Hash Rules:

    Hash rules have their advantages, however for locking down WSH they don’t provide too much flexibility.  Using a hash rule, you can allow or disallow the execution of files based on their content.  When you create a hash rule, a “hash” of the file is calculated.  Each time an executable is run, a hash of the file is compared with the hash stored in the policy.  In the case of locking down WSH, you could create a path rule to disallow all vbscript files, and then create a hash rule for each script that you want to allow.  While this may be suitable if you are using a single login script that rarely changes, or if you use only a handful of admin scripts that rarely change, it isn’t ideal for environments where scripts frequently change or like me you write new scripts every week.  The advantage to using hash rules over path rules though is that you can modify the filename and the hash will not change.  You can also run the script from any path;  as long as you don’t change the actual script itself you won’t need to modify the rule.

    Example of hash rule to allow approved scripts:

    Rule Type
    Security Level
    Value
    Path Disallowed *.vbs
    Path Disallowed *.vbe
    Path Disallowed *.js
    Path Disallowed *.jse
    Path Disallowed *.wsf
    Path Disallowed *.wsh
    Hash Unrestricted SampleScript.vbs

      

    Certificate Rules:

    Certificate rules are an excellent way to lock down WSH to only allow approved scripts to run.  With a certificate rule, you import a digital certificate into a rule and then digitally sign each script that you want to approve with the same certificate.  The advantage to using certificate rules over path or hash rules is that the contents, path or filename of the script can change without preventing the approved script from running. 

    The downside to using certificate rules is that you either need to purchase a digital certificate from a trusted public CA or install your own CA server and issue a certificate from there.  In both cases, the CA needs to be defined in the ‘Trusted Root Certification Authorities’ on your workstations and servers.

    Importing the certificate

    Once you have obtained a certificate to sign your scripts, you need to import the certificate into the rule.  This is fairly straight forward, you simply create the rule, then browse to the certificate file (*.cer, *.crt).

    Signing Scripts

    Strangely enough, you actually need to use a script to signs scripts.  The following is an example of a script that signs the C:\Scripts\script.vbs script with a certificate called Ben Christian.  The certificate must first be imported into the certificate store of the machine that you run the script on.

    set objSigner = WScript.CreateObject(”Scripting.Signer”)
    objSigner.SignFile “C:\Scripts\script.vbs”, “Ben Christian” 

    Like the other rules, to implement a certificate rule to allow signed scripts to run, you would first create path rules to prevent the various script extensions from running.

    Example of a certificate rule to allow approved scripts:

    Rule Type
    Security Level
    Value
    Path Disallowed *.vbs
    Path Disallowed *.vbe
    Path Disallowed *.js
    Path Disallowed *.jse
    Path Disallowed *.wsf
    Path Disallowed *.wsh
    Certificate Unrestricted Certificate used to Sign Scripts

    Using Certificate rules is probably the most secure way to lock down WSH with software restriction policy.  If certificate rules seem too cumbersome to implement, path rules are a good way to go.  In any case, implementing software restriction policies to lock down WSH on your client and server machines is better than doing nothing, and is an ideal balance between security and convenience.

    Windows TCP/UDP Ports

    Posted in Windows Desktop, Security, Windows Server by Ben Christian on February 23rd, 2006

    A good friend of mine, Todd, sent me a link to this document:

    Service overview and network port requirements for the Windows Server system 

    The first section of the article contains a list of the Windows Server and client services with their corresponding TCP/UDP port numbers, sorted by the service itself.    The Exchange Server and Outlook clients section is quite comprehensive, with related articles regarding the use of static ports and information about RPC over HTTP.

    The second part of the article contains a summary table sorted by port number to make it easy to identify which services listen on a particular port.

    A valuable article.

    PowerToys for XP

    Posted in Windows Desktop by Ben Christian on February 3rd, 2006

    There are some awesome utilities that you can download from the Microsoft website. Although there doesn’t seem to be a single download file for all of the utilities, they all fall under the “PowerToys” name. I haven’t downloaded all of them yet, but I’ve played with a few.

     

    Alt+Tab Replacement

    This download replaces the standard Alt+Tab dialog with a new one that includes a preview of the application at that you have selected. My only complaint is that it won’t show a preview for applications that are minimized. Despite that limitation, it’s a great enhancement and I’m really happy with it. It has proved to be particularly useful when you have a whole bunch of web pages open and find yourself constantly switching between them.

     AltTab

    Open Command Window Here

    I’ve used a registry hack to achieve this in the past, but it’s easier to just install this utility instead. This feature adds a menu item to the context menu (right mouse click) of a file system folder. In other words, if you right click on a folder you can select “Open Command Window Here” and it will open a command prompt with the currently selected folder as the current directory.

    commandprompt1.JPG

    commandprompt2.JPG
     

    Virtual Desktop Manager

    This utility allows you to use 4 different “virtual desktops”. A virtual desktop in the context of the Virtual Desktop Manager utility is simply a lay-out of program windows. When you install the utility it creates a new toolbar that you can add to the Windows taskbar.

    taskbar.JPG

    The toolbar allows you to switch between the virtual desktops. The Green button displays all 4 desktops at once to make it easier to select the window layout that you’re after.

     desktop.JPG

    There’s a whole bunch of other PowerToys that you can download, including the latest version of TweakUI.

    http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx.

     

    Commonwealth Games Daylight Savings hotfix

    Posted in Windows Desktop by Ben Christian on January 30th, 2006

    This year daylight savings in NSW, Victoria, ACT, Tasmania and SA has been extended to allow for the Commonwealth Games that will be held in Melbourne. Gary forwarded a message to me that he received from Office Watch reporting that there is a hotfix available to prepare machines for the adjusted daylight savings period.

    There’s information regarding the issue and the hotfix here:

    http://www.microsoft.com/australia/timezone/2005.aspx

    The idea is to get the patch applied as soon as possible as Outlook calendar appointments that are created before the patch is installed will be 1 hour out of wack during the extended period. Appointments that are created after the patch is installed will show the correct time. Apparently Outlook does the time zone calculation when the appointment is created which explains why this is the case.

    During the Olympic Games in Sydney daylight savings actually started earlier, and I don’t recall having any issues with screwed up calendar appointments. In any case we’ll get this hotfix out to all of our machines in Australia.

    SOHO Backups with Ghost 10

    Posted in Windows Desktop, Software by Ben Christian on January 13th, 2006

    I’ve been doing some work for a lady who owns two retail stores. One of the tasks on my list is to implement a decent backup solution for the point of sales systems.

    Whenever I plan backups I like to consider the following scenarios:

    • Accidental deletion of data or file corruption (’my documents’)
    • A complete system failure like a failed HDD or severe OS issue that renders the system unable to boot
    • A disaster that destroys the equipment along with the whole site

    When I was looking for the right solution for her businesses I wanted to make sure that I covered those scenarios.

    I considered hardware first. I decided that an external HDD or entry level NAS box would be the best way to go. The shops are next to each other, so a wireless link to a shared NAS box would work, or I could recommend external hard drives for both POS systems [The POS systems are Windows XP with MYOB Retail Manager]. Maxtor have a Shared Storage Drive that’s essentially a networked external HDD - It’s a single drive so it doesn’t offer RAID0 or RAID1 but the price fits well. The owner has a laptop that she keeps at home that has plenty of HDD space so the plan is to backup to the shared storage drive and then periodically copy the latest backups on to her laptop so that she has an offsite restore point.

    Next I put some thought into the actual backup process. I wanted to keep the costs down so I considered the XP backup utility or robocopy to copy the MYOB data and my docs. I also considered using XP’s ASR feature as a complete system restore solution. I’ve tested ASR before and it seemed to work OK but there were several things I wasn’t comfortable with:

    • It’s designed to backup Windows systems files and applications. I can’t be sure that it will backup up third-party software. It doesn’t actually backup data (documents).
    • It can’t be scheduled.
    • You need to create a floppy disk and burn a CD for each ASR image that you create.

    Having used early versions of Ghost before (more for deployment than backup mind you), I considered using it take an image of the PC in case an OS rebuild was required in future. I didn’t think however that I would be able to schedule ghost images. In the old days you would have to boot into DOS to take a ghost image. I had heard though that later versions of Ghost can take images while windows is running and that was enough to persuade me to check out the latest version of Ghost - Ghost 10.

    I downloaded and read through the ghost manual and was extremely impressed, so I downloaded the Ghost 10 trial and tried it out. It had me sold in an instant, and this is why:

    • It can take images while windows is running
    • The images (recovery points as they call them) can be scheduled
    • A base recovery point can be taken, and then incremental recovery sets can be scheduled. On the machine I tested on I took an image of an 8GB partition and the initial image file was 6GB (using standard compression). That night, the scheduled image (system backup) ran and created a recovery storage point of around 2MB (MB not GB).
    • You can browse the recovery points/sets and individual restore files from them directly. By default Ghost creates a recovery point each month and then a recovery set (the incremental backups) each day. This means that you have a complete history of backups that you can restore from. In this respect it’s similar to running VSS on your XP workstation.
    • Ghost can delete older recovery points when you meet a threshold so that your destination does not run out of space
    • If a complete system failure occurs, you simply boot from the ghost CD which loads NIC drivers and USB/Firewire drivers. You grab the recovery set from the backup destination (network or USB/Firewire drive) and tell it to restore.

    Ghost 10 licenses are around $110(AUD) and in my opinion are well worth the investment. The solution that I’ve proposed for the shop owner is to purchase 2 copies of Ghost 10 and a Maxtor shared storage drive to backup each machine to. She can then copy the most recent recovery point to her laptop each week. Although she won’t have daily offsite backups, she will have a fallback if there is a complete disaster. For any other scenario she will have the ability to restore single files easily herself or a restore complete system (with my help - Symantec are still marketing Ghost 10 to more advanced users).

    Opening a local command prompt for a remote machine

    Posted in Windows Desktop, Tools by Ben Christian on January 11th, 2006

    Using Sysinternals’ psexec it’s possible to open a command prompt on your local machine for a remote desktop or server. This can be a real time saver when you need to obtain information or issue a command on a remote machine but don’t want to connect to the machine using a remote desktop connection or remote connection software like VNC or Dameware. For example, if you wanted to check what DNS server a client computer is using you could start the psexec session and then issue the ipconfig /all command. This is much quicker than establishing a remote desktop connection and issuing the command within that session.
    To open a remote command line, simply open a command prompt on your local machine and type:

    psexec \\remotecomputer cmd.exe

    Note that for the command above to work you’ll need psexec.exe in the current directory, or in a directory that is included in the path system environment variable. You’ll also need admin rights on the machine that you’re connecting to. You can specify a username and password by using the -u and -p switches

    You can download the whole pstools kit, including psexec for free from www.sysinternals.com.

    Sun Java Runtime Environment (JRE) bypass proxy settings

    Posted in Windows Desktop, Software by Ben Christian on December 16th, 2005

    In short, the JRE doesn’t like the http:// prefix. When entering URLs into the IE proxy bypass list for sites that use the JRE you should enter them without the prefix.

    We’re currently deploying Telephony @ Work’s Call Center Anywhere (CCA) at the company that I work for. The CCA client is web based and uses Sun’s JRE version 5. Due to the amount of traffic between the client and the web server I wanted to make sure that we set the client machines to bypass the proxy for the CCA web server.

    This seemed pretty straight forward, I added the CCA webserver URL to Internet Explorer’s (IE) bypass proxy list in the format http://ccasername.domain.com. I used a test account that didn’t have proxy access so that I could confirm that it was bypassing the proxy. IE would allow me to access the CCA login page, but when logging in I was prompted to provide credentials for the proxy server. From looking at the prompts, I could tell that it was the JRE that was prompting for the credentials. I checked the proxy settings in the Java control panel applet and confirmed that it was set to use the browser settings. As a test I manually set the proxy with http://ccaservername.domain.com in the bypass list in the JRE control panel applet with no success.

    After a bit of head stratching I tried entering the proxy in the format ccaservername.domain.com (without the http:// prefix). I tried the connection again and it worked just fine.