Skip to content

Posts from the ‘Microsoft’ Category

HTC Touch & Windows Mobile 6 Sites


I recently got a new phone (HTC Touch, or maybe better known as the P3050) which comes with WM6.

One app that I use quite regularly doesn’t quite work correctly with the Touch and I am trying to investigate why? The app is Microsoft voice command, which works a whole lot better than the HTC voice app that’s bundled with the device. If anyone does know the issues please post!

Anyway, some great sites to get you up and running with mobile 6 are:

http://www.wm6software.net/
http://www.wm6themes.com/

With my new device, I found it really hard to get use to the lack of keyboard, so I downloaded a third party app which gives you a much more useable keyboard that is very similar to the iphone keyboard.

Happy Tapping Keyboard
http://forum.xda-developers.com/showthread.php?t=296455

Click to Connect! Windows Live Messenger Button


Buttons make it easy! Use the button builder below to create a button that fits your personal style or even just your mood. Add the button to your Windows Live Hotmail, Outlook and other email signatures, Windows Live Space, or blog, and your friends and family can simply click your button to add you to their contact list.

http://www.gowindowslive.com/messenger/button/Default.aspx

Linking Windows Live Accounts


You can now link multiple Windows Live Accounts or ID’s

https://help.live.com/help.aspx?project=liveidv1&market=en-us&querytype=topic&query=WL_IDV2_CONC_ABOUTLINKEDIDS.htm&tmt=&format=b1

Link your Windows Live ID

If you have a Windows Live ID that you use at work and one that you use at home, you can link them so that you only have to sign in to Windows Live once to manage all of your accounts.

Windows 2008 Network Access Protection (NAP)


After months of cajoling, Adam was finally able to convince Jeff Sigman from the NAP team and Brent Atkison from MSIT to sit still for 30 minutes to talk about why we created NAP, and how we went about deploying it worldwide at Microsoft.  Ah, who am I kidding.  Jeff’s been asking me for months to put his blue anime hair up on Channel9.  Here you go Jeff.  Persistance pays off.
Network Access Protection is a new feature in Windows Server 2008 that allows you to enforce computer health requirements before allowing machines to communicate on the network.  It’s the answer to the question “do I trust that this machine is patched and won’t infect other machines on my network?”
These guys have done some pretty impressive stuff.  The NAP team worked with a list of partners as long as your arm to make sure NAP will play nicely with whatever switch hardware you’ve invested in.  Brent shares some impressive sizing guidelines for implementing NAP:  Microsoft turned reporting and deferred enforcement on 120,000 machines worldwide, using a very small number of servers.  Very small.  Less than 3.  Total help desk calls as a result?  Also a very small number.  Oh, and he did that deployment using beta builds of Longhorn Server 2008.

Check out the video http://channel9.msdn.com/showpost.aspx?postid=347154

Windows Mobile Windows Live Search gains Speech Recognition


Live Search for Windows Mobile with voice input. The updated Live Search for Windows Mobile® 5.0 and 6.0 will be available for download for free on Tuesday, Oct. 16, and now includes voice input (beta version), gas prices, and hours of operation for businesses. The service can also use Global Positioning System (GPS) data on GPS-enabled phones to provide location-aware local search for customers.

So now Instead of having to type out you can simply enter text into Live Search on your phone using speech recognition technologies developed by Microsoft (so it may not work all that well)

Check out this video (~2 minutes) of Live Search for Windows Mobile devices

You could also try out this longer video (~8 minutes)

If you have a Windows Mobile 5 or Windows Mobile 6 phone, download the app, and start talking your way to finding businesses and addresses.

Delete Files/Folders older than specified date


””””””””””””””””””””””””””””””””””””””””””””””””’

‘Created by Mark Torng (NTServices”

‘Created October 17th 2007

‘Some Lines Adopted from Microsoft Scripting Center ””””””””””””””””””””””””””””””””””””””””””””””””’

Option Explicit

On Error Resume Next

 

Dim fso, PathToClean, numberOfDays, folder, rootFolder, objFolder, objSubfolders, objFiles, folderToClean, folderToCheck, fts, foldersToSkip, skippedfolders Set fso = CreateObject(“Scripting.FileSystemObject”)

Set fts = CreateObject(“Scripting.Dictionary”)

  

‘ENTER THE PATH THAT CONTAINS THE FILES YOU WANT TO CLEAN UP

  

‘Path to the root directory that you’re cleaning up PathToClean = “C:\THIS FOLDER”

 

‘ENTER THE NUMBER OF DAYS SINCE THE FILE WAS LAST MODIFIED

 

numberOfDays = 1

   

‘ENTER THE NAMES OF THE FOLDERS YOU DO NOT WANT TO BE DELETED

 

‘ALL FOLDERS WITH THE SPECIFIED NAME WILL NOT BE DELETED.

‘ALL FILES IN THE SPECIFIED FOLDERS WILL NOT BE DELETED.

””””””””””””””””””””””””””””””””””

‘ INSTRUCTIONS TO ADD FOLDERS YOU WISH TO SKIP ‘If you don’t want to save anything use:  foldersToSkip = “”

‘If you want to omit folders:  foldersToSkip = “Folder1;Folder2”

 

foldersToSkip = “”

 

‘Check to make sure path is not a drive root If Right(PathToClean, 2) = “:\” or Right(PathToClean, 1) = “:” Then

      msgbox “Whoa Nelly!  It’s best not to run the Janitor on a drive root like ” + PathToClean, vbOkOnly, “Don’t Do That!”

End If

  

‘Start at the folder specified and walk down the directory tree

 

Set rootFolder = fso.GetFolder(PathToClean) If Err.Number > 0 Then

      msgbox PathToClean + “is not a valid directory path.  Please correct the path and run the script again.”, vbOkOnly, “Path Not Found”

      Wscript.Quit

End If

 

EnumerateFoldersToSkip(foldersToSkip)

GetSubfolders(rootFolder)

CleanupFiles(rootFolder)

Set fso = Nothing

 

Wscript.Quit

 

Sub EnumerateFoldersToSkip(skippedfolders)

      If skippedfolders <> “” Then

            If InStr(1, skippedfolders, “;”, 1) <> 0 Then

                  Dim arrSkippedFolders, sf

                  arrSkippedFolders = Split(skippedfolders, “;”)

                  For each sf In arrSkippedFolders

                        fts.Add UCase(Trim(sf)), “”

                  Next

            Else

                  fts.Add UCase(skippedfolders), “”

            End If

      End If

End Sub

 

Sub GetSubfolders(folder)

      If CheckForSkip(folder) Then Exit Sub

 

      Dim oSubfolder

      Set objFolder = fso.GetFolder(folder)

      Set objSubfolders = objFolder.Subfolders

 

      For Each oSubfolder in objSubfolders

            If fts.Exists(UCase(oSubfolder.Name)) = False Then

                  ‘Recursively go down the directory tree

                  GetSubfolders(oSubfolder.Path)

     

                  ‘Cleanup any files that meet the criteria

                  CleanupFiles(oSubfolder.Path)

     

                  ‘Delete the folder if its empty

                  CleanupFolder(oSubfolder.Path)     

            End If

      Next

End Sub

 

Sub CleanupFiles(folderToClean)

      If CheckForSkip(folderToClean) Then Exit Sub

 

      dim objFile

      Set objFolder = fso.GetFolder(folderToClean)

      Set objFiles = objFolder.Files

 

      For Each objFile in objFiles

            If DateDiff(“d”, objFile.DateLastModified, Now) > numberOfDays Then

                  objFile.Delete

            End If

      Next

 

      Set objFolder = Nothing

      Set objFiles = Nothing

End Sub

 

Sub CleanupFolder(folderToCheck)

      If CheckForSkip(folderToCheck) Then Exit Sub

 

      Set objFolder = fso.GetFolder(folderToCheck)

      Set objSubfolders = objFolder.Subfolders

      Set objFiles = objFolder.Files

 

      If objFiles.Count = 0 and objSubfolders.Count = 0 Then

            objFolder.Delete

      End If

 

      Set objFolder = Nothing

      Set objSubfolders = Nothing

      Set objFiles = Nothing

End Sub

 

Function CheckForSkip(folderToCheck)

                CheckForSkip = fso.FileExists(folderToCheck & “\JANITOR.SKIP”) End Function

ISA Server Master Browser


The master browser has received a server announcement from the computer (ISASERVER-NAME) that believes that it is the master browser for the domain on transport NetBT_Tcpip. The master browser is stopping or an election is being forced.I have found in order to correct this issue you can change the registry setting on the Primary DC, or your Global Catalog DC to be used or forced as the Master Browser.Setting the IsDomainMaster parameter entry to True or Yes makes that computer a Preferred Master Browser which has priority over other computers in master browser elections. Whenever a preferred master browser starts, it forces a browser election. Any DC running can be configured as a preferred master browser. If no other condition prevents it, the preferred master browser will always win the election. Set the parameter in the following registry path: Hive: HKEY_LOCAL_MACHINE
Key:
SYSTEM\CurrentControlSet\Services\Browser\Parameters
Type:
REG_SZ
Name:
IsDomainMaster
Value:
True