Scott Hanselman

Windows 8 productivity: Who moved my cheese? Oh, there it is.

August 25, '12 Comments [169] Posted in Win8
Sponsored By

Keep Calm and Use Your Keyboard - @robertmclawsDisclaimer: I don't work for the Windows Team. I installed Windows 8 on my home desktop (this giant multi-monitor epic beast) with my personal MSDN account and wrote this on my own time. This blog is mine and the opinions inside are also mine. I also installed it on my MacBook Pro.

I finally pulled the trigger and upgraded a few machines to Windows 8. I have three main machines, my formerly "Ultimate Developer PC 2.0" whose video card gets slower by the year, my almost-retina-but-just-two-months-late Mac Book Pro, and my Lenovo W520.

I am a web guy SO much more than a desktop guy so if you look in my Taskbar on any of my machines you'll see mostly web browsers, text editors and shells. I live off my taskbar and I'm ALL about HotKeys. If I can avoid touching my mouse at all I will. I spoke to Brad Wilson on this week's podcast about his experience with Windows 8 as well.

Who moved my cheese?

People don't like it when you move their cheese. They are just trying to get through the maze, they have it all under control and then, poof, someone moved their cheese. Now it's a huge hassle to find it again. Change a hotkey or the case of the menus and all heck breaks loose.

The installation process was straightforward and everything still worked when it was done, so that was a relief. I upgraded from Windows 7 Ultimate to Windows 8 Pro. There's fewer SKUs in Windows 8 now, basically just Windows 8, Windows 8 Pro (for super users) and Windows RT (for Tablets).

However, once it's installed, it's initially confusing but I have been using it every day all day since it was released and have got myself productive again. Here's what I ran into and how I realized that there's less reason to freak out than I originally thought.

The Windows 8 Login/Lock Screen

There's a bunch of folks who have said that you have to "swipe up" or "slide away" from the Login or Lock screen to log in. Some websites have even suggested you disable the lock screen. That is stupid and wrong *cough* NBCNews *cough* and you shouldn't turn off the lock screen. Just press any key. Or just start typing. Or click the mouse. Or ANYTHING. You don't have to "swipe up" to log in just click or press anything.

Shut down or Sleep a Windows 8 Machine

Shutdown your Windows 8 MachineIt's initially confusing as to how you shut down your machine. For laptops - at least my Lenovo and MacBook - you really never need to shut it down. I just close the lid.

If I really want to force a shut down, log out, or force sleep I just press Ctrl-Alt-Delete and press the Power button in the lower right corner. To lock the machine, just Windows Key+L.

You can also hit Win+I and press power. There's actually several ways to shut it down. You can even ALT-F4 from the Desktop if you like.

ALT-F4 from the Desktop shuts down Windows

Here's another crazy idea for shutting down your PC or Laptop - Press the Power Button.

Run Power User or Administrative Tools - WinKey+X is EVERYTHING

For the first week the most frustrating thing about Windows 8 was getting to anything that was power-user-like. I was literally pissed at my computer because I was so used to clicking the Start Menu, then right clicking on My Computer in order to do things like Device Manager, etc. For things like the Event Viewer or Admin Command Prompts I was pressing Start, then typing "Event" and hitting enter. It was fine but it wasn't as fast as it should be.

Then I discovered the Number 1 most powerful Windows 8 shortcut for the Power User. It's Windows Key+X.

image

This hotkey used to be the "Mobility Center" and was really only ever used when I wanted to put my machine into Presentation Mode. Now it's a Power User's dream.

Note that everything is pre-underlined. Want an Admin Command prompt? Win+X, A. Event Viewer? Win+X, V. You get the idea.

You can also get to the Win+X menu by moving the mouse to the lower left-corner and right-clicking!

Windows Key Hotkeys are your life

All the usual stuff works and you should know this already. If you don't, picking up a few of these will save you seconds many times a day and that adds up. Force yourself not to use the mouse.

  • Win+E - Explorer
  • Win+R - Run
  • Win+Break - System Info
  • Win+D - Desktop (I use this constantly if I get trapped outside the Desktop world)
  • Win+Plus or Win+Minus (no shift) - Magnifier/Zoom In and Out
  • Win+F - Find Files
  • Win+Print Screen – Put a PNG in the Pictures folder
  • Alt-Tab - Switch between Apps
  • Win-Tab - Switch between Full Screen Apps

Explorer Win-Keys for pinned apps

I'm consistently shocked at how many Windows "experts" don't use the Windows Key + "a number" hotkeys. Just press Windows+1 to launch the first thing in your taskbar, all the way up to Windows+0 for the 10th item.

No this is not how I arrange my taskbar.

There are a few new ones as well worth learning...

New Windows 8 "Win-Key" Hotkeys to move faster

You've likely already figured out that to launch something from the keyboard you press Windows, type part of the name of the app, then press Enter. If you press Ctrl-Shift-Enter it will run that same app as Admin.

Turns out that the keyboard works for most everything, even menus you wouldn't suspect it does. When you get a menu up you can always use the keyboard or hotkeys to move around it.

If you learn just three hotkeys, learn:

  • Win+W - Search Control Panel and Settings stuff
  • Win+F - Search Files
  • Esc - Yes, escape. No joke. If you hit the Windows Key, you can hit Escape to go back.

Once you have those, add these:

  • Win+C - Charms (right side menu) then arrows to move and enter to launch.
  • Win+K - Devices
  • Win+I - Settings in any app plus brightness, network and other useful system features
  • Win+Arrows - Snap desktop apps to the sides
  • Win+(period) - Alternate sides to "snap" Metro Apps. Add shift to reverse it.
  • Win-X - Admin Stuff. I'm mentioning it twice because it's THAT useful.
  • Win+PageUp or Win+PageDn - Move full screen apps to other monitors. Super useful for News apps and Readers. The Start Screen can be moved as well.

Better File Operation (File Copy/Move) Dialogs

The file copy dialogs are reason enough to upgrade. No joke, especially when you expand them for details. You get sparklines, throughput, time remaining that makes sense, as well as stop and pause.

Windows 8 has an epic stacked File Operation Dialog

Awesome Task Manager

The Task Manager is epic. I keep it open a LOT. Back in the day I used to have a monitor dedicated to it. The whole point of the Task Manager is to answer those "what the hell is going on" questions. In Windows 7 and before all you could basically do was sort by CPU descending and complain. Now I can see the difference between Apps, Background Stuff, Services, etc.

Right now, for example, the disk is doing something. Here's the Task Man...

Apps in Task Manager

I'll sort by Disk, and I see it's Indexing a bunch of new files I copied.

Processes in Task Manager

I can see what apps are slowing down my startup, and disable them:

Startup in Task Manager

I can finally see services and stop them:

Services in Task Manager

Install Hyper-V

For the developer or power user this one feature is reason enough to upgrade to Windows 8. For the longest time I had a laptop that ran only Windows Server 2008 because I wanted to have a really good Virtual Machine solution with a HyperVisor. On my desktop I used Virtual Box. Now Windows 8 Pro (a client OS!) has Hyper-V which is huge.

Press WinKey+W, type "Add Feature" and select Hyper-V.

image

If you want, you can check your Windows 7 machine now and see if your system is 64-bit and supports SLAT and the newer CPU features you'll need. Download CoreInfo and from an Admin Command Prompt run "coreinfo -v." You want to see a star where it says "Supports SLAT." Either way, you'll know as Hyper-V won't let you install if you don't meet the requirements.

C:\WINDOWS\system32>coreinfo -v

Coreinfo v3.05 - Dump information on system CPU and memory topology
Copyright (C) 2008-2012 Mark Russinovich
Sysinternals - www.sysinternals.com

Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz
Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
HYPERVISOR - Hypervisor is present
VMX * Supports Intel hardware-assisted virtualization
EPT * Supports Intel extended page tables (SLAT)

Having a great Virtual Machine solution on the client has been great for me as I do a lot of screencasts and install a lot of beta stuff. I've got Ubuntu (which installs and works immediately because of the Hyper-V drivers are in Linux out of the box) running along side a few Windows 7 VMs, a Windows Server 2008 and a Windows XP VM.

Other nice features have been the ability to mount a VHD or ISO out of the box.

Show More Tiles

I have a 30" monitor in the middle of two 24" monitors. When I first looked at the Windows 8 Start Screen I thought "this is not using all my pixels." Then I found out that you can tell the Start Screen to use show more Tiles on high resolution (large) monitors.

Press Win+I (or go to Settings) and click Tiles:

Show More Tiles

Now I got those pixels working for me and the Start Menu felt nicer on a giant monitor.

I've filled a 30

Also, take a moment and "Ctrl+Scroll" (zoom out) from the Start Screen. From here you can right click on groups of icons and name them. I've cropped and zoomed in here...I can basically have sections, zoom out to see headings then click to zoom in. I can also drag these groups around which makes large moves easier.

Lots of Icons, Zoomed out and Named in Groups

Multi-Monitor Taskbars

I've been a multi-monitor guy for years and blogged about taskbar utilities that deal with Windows 7's lack of a good multiple monitor solution. Sadly for Ultramon, I haven't needed his excellent utility as it's handled the way I like it in Windows 8.

Multiple Monitor Taskbars in Taskbar Properties

See there where it says "Close all windows on this display?" Windows 8 it full of little improvements like that to irritations from previous OS versions.

Close all windows on THIS display

The Explorer Ribbon

On my large monitor, I like the Ribbon. Best part is - again, I'm a keyboard person - if I hit Alt, it lights up with the letters I need for hotkeys. Here's before...

Windows 8 Ribbon in Explorer

And after...

Explorer Bar Hotkeys

Don't like it? Hide it and move on. Look mom, no gnashing of teeth.

Hidden Explorer Bar

Conclusion

Maybe I'm too relaxed but after a few days and some hotkeys I've found Windows 8 to be Windows 7+1. Works fine, no crashes, lots of improvements. I spend most of my desktop time in Windows apps, all of which work. I keep News apps or Video apps in full screen on other monitors and I do move the Start Screen around but generally the whole thing has been a non-issue.


Sponsored Ad: DevExpress Webinar: ROI for 3rd party tools. Is it more cost effective to build or purchase developer tools? In this webinar Jeffrey Hammond, Forrester Research, will walk you through an ROI calculation model and help you consider how you might evaluate your future tools investments. Register Today!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Your words are wasted

August 19, '12 Comments [77] Posted in Blogging
Sponsored By

Photo by KrisOlin used under CC - http://www.flickr.com/photos/krisolin/6861197374It needs to be said again, perhaps this time more strongly. Your Blog is The Engine of Community. Dammit.

Blog More

You are not blogging enough. You are pouring your words into increasingly closed and often walled gardens. You are giving control - and sometimes ownership - of your content to social media companies that will SURELY fail. These companies are profoundly overvalued, don't care about permalinks, don't make your content portable, and have terms of service that are so complex and obtuse that there are entire websites dedicate to explaining them.

I've presented at a number of "town hall" style meetings and often presented (for YEARS now) talks on "Social Media for Developers" where I've said "Every developer should have a blog." Put yourself out there and make it findable. And still you tweet giving all your life's precious remaining keystrokes to a company and a service that doesn't love or care about you - to a service that can't even find a tweet you wrote a month ago.

Where are people writing?

My friend Jon Udell is asking "Where have all the bloggers gone?" and watched both he and his wife's "Blog's Heartbeat" reduce to an almost comatose level. Tim Bray notices this pattern as well.

Now more companies and consortiums are popping up claiming to be "reimagining writing" or "rethinking publishing" or take the concept of a simple "draft post" and, according to Svbtle "[allow] ideas to start abstractly, to ruminate for a while, and then, as I work on them, to become more and more concrete until they’re ready to be published as articles." So, reinventing drafts? Regardless, Svbtle and it's new design has since attracted a who's who of Silicon Valley thinkers and is now on its way to becoming the digirati's Economist, except with bylines.

Here's the thing though, it's still RSS. It's just a blog.

Own Your Words

I've been blogging here for over 10 years. On my domain, running my software pushing out HTML when you visit the site on any device and RSS or ATOM when you look at it with Google Reader (which 97% of you do.) I control this domain, this software and this content. The feed is full content and the space is mine. Tim nails it so I'll make this super clear. If you decide to use a service where you don't control your content, you're renting.

Own your space on the Web, and pay for it. Extra effort, but otherwise you’re a sharecropper. - Tim Bray

In a time where we are all gnashing our teeth about Twitter's API changes that may lock out many 3rd party developers, Google Plus's lack of content portability or lack of respect for the permalink, as well as the rise of country club social networks pay-for social networks like http://app.net we find ourselves asking questions like:

  • Why doesn't someone make a free or cheap social network for the people?
  • Why can't I control my content?
  • Why can't I export everything I've written?
  • Who owns what I type?
  • Why isn't there an open API for my content?
  • Why can't I search posts over a month old?
  • Why can't I have this or that username?
  • Why am I not verified?

All these questions are asked about social networks we don't control and of companies who don't have our best interests at heart. We are asking these questions in 2012? Read those bullets again. These were solved problems in 1999.

You want control? Buy a domain and blog there.


Sponsored Ad: DevExpress Webinar: ROI for 3rd party tools. Is it more cost effective to build or purchase developer tools? In this webinar Jeffrey Hammond, Forrester Research, will walk you through an ROI calculation model and help you consider how you might evaluate your future tools investments. Register Today!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Installing HTTPIE (HTTP for Humans) on Windows - Great for ASP.NET Web API and RESTful JSON services

August 17, '12 Comments [38] Posted in ASP.NET | Open Source | Web Services
Sponsored By

Recently in on a post on the RESTful ASP.NET Web API framework I used curl to post JSON to an HTTP endpoint:

curl -X POST -H "Content-Type: application/json" -d "{ Name: 'Scott Guthrie', Age: 67}"

Curl is lovely and should be in your c:\utils folder and more importantly in your PATH. I have a UTILS folder in my Dropbox and in the PATH on all my machines. Whenever I find a useful no-install utility I put it in there.

Curl is great but it's still confusing enough to me that I don't use it enough. It's slightly obscure command-line switches are keeping me from using it on a regular basis.

For HTTP work there is a better utility called HTTPie at http://httpie.org. (It has nothing to do with IE (Internet Explorer)). For Mac and Linux folks who use Python all the time, it's easy to install, you just

pip install -U httpie

For Windows folks who don't use Python it's a little harder to install, but it's worth it and I recommend you take a moment and set it up. You'll wonder how you lived without it.

Installation of HTTPIE

First, go download Python. I got the x86 version of Python 3.2.3 cause it was the latest and I didn't think I needed the x64 one.

I then added c:\python32 and c:\python32\scripts to my path. I do this by hitting WinKey+Break, then Advanced, then Environment.

Add Python and Python/Scripts to your PATH

Second, download CURL. Yes, I realize the irony, but it's still a VERY useful tool. I downloaded the 7.27 binary SSL Win32 version, unblocked it, unzipped it and put it in C:\UTILS so it was automatically in my PATH.

Third, run this from an Administrator command prompt. Note again that it needs both curl.exe and python.exe in the PATH to run as it is. This should run without incident.

curl http://python-distribute.org/distribute_setup.py | python

Then run

curl -k https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

This should end with "successfully installed pip."

Pip is a Python package manager.

Finally, run

pip install -U https://github.com/jkbr/httpie/tarball/master

I'm recommending you install the development edge build of HTTPie rather than just "pip install httpie" as the developer is actively fixing Windows issues and just recently helped me with one.

So, to sum up what you need to run, in four lines, assuming curl.exe, python.exe and python scripts are all in your PATH.

curl http://python-distribute.org/distribute_setup.py | python
curl -k https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
pip install -U https://github.com/jkbr/httpie/tarball/master

Running HTTPie

You'll know it works if you can run "http" from the command line and get this output:

C:\Users\scottha\Desktop> http
usage: http-script.py [--help] [--version] [--json | --form] [--output FILE]
[--pretty | --colors | --format | --ugly]
[--print OUTPUT_OPTIONS | --verbose | --headers | --body]
[--style STYLE] [--stream] [--check-status]
[--auth USER:PASS] [--auth-type {basic,digest}]
[--verify VERIFY] [--proxy PROXY] [--allow-redirects]
[--timeout SECONDS] [--traceback] [--debug]
[METHOD] URL [ITEM [ITEM ...]]
http-script.py: error: too few arguments

Here's where the fun happens. The syntax is VERY intuitive. Here I post some JSON to an endpoint that will echo it back.

C:\> http POST http://localhost:50231/api/Contact name=scott age:=100
HTTP/1.1 200 OK
Content-Length: 26
Content-Type: application/json; charset=utf-8
Date: Fri, 17 Aug 2012 21:59:51 GMT
Server: Microsoft-HTTPAPI/2.0

{
"age": 100,
"name": "scott"
}

It's just like using HTTP itself, except from the command line. The best part is that it will take name=value for strings and name:=value for non-strings and turn it into JSON!

HTTPie supports any HTTP Verb, FORM data, raw JSON, and lots of other features. Here's another example:

C:\>http PUT api.example.com/person/1 name=John age:=29 married:=false hobbies:='["http", "pies"]'
PUT /person/1 HTTP/1.1
Accept: application/json
Content-Type: application/json; charset=utf-8
Host: api.example.com
User-Agent: HTTPie/0.2.7dev

{
"age": 29,
"hobbies": [
"http",
"pies"
],
"married": false,
"name": "John"
}

There's lots more examples here https://github.com/jkbr/httpie/ and I encourage you to check it out. I'll leave you with a lovely PowerShell screenshot showing that HTTPie also does syntax highlighting at the command line!

HTTPie is HTTP for Humans and Syntax Highlights as well

Awesome. Expect to see this tool in all my Web API and JSON demos. Go get it and star it at GitHub.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Visual Studio 2012 and .NET Framework 4.5 is RELEASED - Here's 5 minute videos to get you up to speed quick

August 15, '12 Comments [92] Posted in ASP.NET | ASP.NET Ajax | ASP.NET Dynamic Data | ASP.NET MVC | Open Source | SignalR | VS2012
Sponsored By

Jason Zander announced today that Visual Studio 2012 and .NET Framework 4.5 is RELEASED to web. The .NET Web Tools Team (the team I'm on) has coverage on their blog as well. I thought I'd showcase some Tiny Happy Features that the team worked on just because it made life better. Some are large some are small, but all are tiny happy features.

I'll continue for a few more Tiny Happy Features over the next few weeks but this last week I took some time and recorded 13 (ya, thirteen, oy) short videos to show you guys these features in action. These are SHORT videos that are at most 4 to 6 minutes. It's hard to watch 60 to 90 minute screencast so I did these little one-take quick shots so you could watch them at lunch.

If you watch all these videos it will take you less than an hour and you'll have a good practical idea of what's new in Web Development and Tools with Visual Studio 2012. This is by no means exhaustive, but it's a lot.

The other concept that's worth pointing out is One ASP.NET. We've pulled the Web Tooling and Templates out into extensions in Visual Studio 2012. This means we can update Web Tools without updating all of Visual Studio. I talked about this in the One ASP.NET keynote at aspConf. We'll be updating the tools - not in major scary ways - but in useful and important ways that make front end web development easier. We'll look at small updates either quarterly or maybe semi-annually so when a new technique comes out you don't have to wait for the next version of Visual Studio.

Download Visual Studio 2012

MSDN Subscribers can download now at the MSDN Subscriber Download Page. For volume licensing customers, Visual Studio 2012 products will be on the Volume Licensing Service Center tomorrow. If you want to download Visual Studio 2012 free trial versions, or to download the free Express versions, head over to the the Visual Studio product website.

Azure SDK for both Visual Studio 2012 and Visual Studio 2010

It's also worth noting that the Windows Azure .NET SDK has been updated today as well and you can download versions for either Visual Studio 2010 SP1 or Visual Studio 2012.

The Videos

Here's the 13 short videos showing each of my favorite features in just a few minutes. There are new Entity Framework 5 videos as well, so be sure to scroll all the way down!

CODEC NOTE: These are using HTML5 video and MP4. If you are using a browser that doesn't support that codec, click the Header links to go to the ASP.NET site directly and the videos will stream with Silverlight.

Model Binding

HTML Editor

CSS Editor

JavaScript Editor

Page Inspector

ASP.NET 4.5 Web Forms Strongly Typed Data Controls

Web Publishing Improvements

ASP.NET MVC 4

ASP.NET Web API

Bundling and Optimization

SignalR and Web Sockets

Async and Await

OAuth in the Default ASP.NET 4.5 Templates

Entity Framework 5

There are also 5 new Entity Framework videos done by Rowan Miller that show new features of the new Entity Framework 5 as well as walk you through Code First vs. Model First vs. Database First. They are excellent screencasts and I recommend them.

I want to write code:

I want to use a visual designer:

EF5 is the newest version of Entity Framework. These short videos and step-by-step walkthroughs will get you started with the new EF5 features

  • Enum Support in Code First - The domain classes that make up your Code First model can now contain enum properties that will be mapped to the database.
  • Enum Support in EF Designer - Using the EF Designer you can now add enum properties to your entities.
  • Spatial Data Types in Code First - Spatial data types can now be exposed in your Code First model using the new DbGeography and DbGeometry types.
  • Spatial Data Types in EF Designer - Spatial data types can now be used in the EF Designer using the new DbGeography and DbGeometry types.
  • Table-Valued Functions - Table-valued functions (TVFs) in your database can now be used with Database First models created using the EF Designer.
  • Multiple Diagrams per Model - The EF Designer now allows you to have several diagrams that visualize subsections of your overall model. This allows larger models to be broken up into multiple smaller diagrams. You can also add color to the entities to help identify sections of your model.

Related Links

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Introducing LyncAutoAnswer.com - An open source remote worker's Auto Answer Kiosk with Lync 2010

August 15, '12 Comments [11] Posted in Lync | Remote Work
Sponsored By

The name badge on my door in Redmond, Washington says "Virtual Scott Hanselman" because I'm not there!Last month I did a blog post called "Introducing Lync 2010 Super Simple Auto Answer Video Kiosk with Full Screen" where I rewrote the original Embodied Social Proxy software that I'd borrowed from Microsoft Research and just made a better "auto answer client" for Lync. (Lync being the Microsoft Unified Communications software that includes phone calls, IMs and video chats. You get Lync with Office 365.)

This auto-answer software automated the Lync client. You'd still run the Lync client and see the Lync client show up in the Windows taskbar. However, sometimes you might want a simpler "kiosk" solution where the manager end user can't even see Lync or know that it's there. Lync calls this "UI Suppressed" mode. In this mode YOU are Lync and you have to automate the entire solution, paint the video, and manage events. You are using the Lync transport but providing all the UI. The benefits of UI Suppressed mode is that the user can't mess it up or fiddle with Lync. This can be useful in CRM applications where you might want chat and video embedded in some larger system where the user doesn't need to know you're using Lync.

In my case, I want people to come by my physical office in Redmond, Washington - where I am NOT - and sit down and have everything Just Work™. I decided I needed both a Kiosk and a non-Kiosk version. I started coding and realized not only that I was in over my head but also that the idea of a UI Suppression in Lync was in need of an abstraction. The ideas were high level and general but the Lync 2010 SDK code was, in my estimation, rather too low level to make it super easy. Why not wrap Lync and make a reusable library.

I reached out to Tom Morgan in the UK who knows Lync backwards and forwards and works for Modality Systems, a Lync and Unified Communications consultancy. I pitched him the idea - remotely, over Lync, in fact - and we got to pairing. I though it was a problem worth solving that could help not only the Lync community but also Remote Workers everywhere. Big thanks to Tom's bosses at Modality Systems for trusting Tom's judgment with this little weekend project! Feel free to thank them in Tom's blog post on the subject. ;)

Tom created a project on GitHub called Lync-UISuppression-VideoAutoAnswer that includes a WPF control and Lync wrapper abstraction to make UI Suppressed Lync applications easier. Then we updated my LyncAutoAnswer GitHub project to use Tom and Paul Nerney's new library! The project now includes BOTH a UI Suppressed AND non-UI Suppressed version. Tom and friends also redesigned the UI Suppressed version to be more "kiosky" and brighter so people could walk by and immediately know if I was busy or not.

http://lyncautoanswer.com

I am happy to announce (or re-announce) the LyncAutoAnswer client at LyncAutoAnswer.com as a collaboration by Tom Morgan from Thought Stuff and Paul Nearney from CodeLync and me.

Here's a few screenshots of the UI Suppressed version that you can download today to setup your own Lync based remote kiosk.

image

Here I'm away at a conference. Note that not only does the color change but my status message from Lync presence updated as well. The headshot comes directly from Lync and Active Directory.

image

The general idea is simple. You create a Lync account that is NOT you; it's an account for your cart and the one you will call. Mine is called "Cart #7." I made a Domain Account that does NOT have the ability to login to a desktop. It doesn't have file system or network share access, it can only use Lync. Then I setup my remote machine to auto logon when it boots up. I also disabled it's power management and screensaver as this is a dumb kiosk.

The video works!

Then you change the Lync Auto Answer settings like this:

<userSettings>
<SuperSimpleLyncKiosk.Properties.Settings>
<setting name="sipEmailAddress" serializeAs="String">
<value>sip:scottha@microsoft.com</value> <!-- THIS IS YOU -->
</setting>
<setting name="LyncAccountDomainUser" serializeAs="String">
<value>DOMAIN\thecart7</value>
</setting>
<setting name="LyncAccountEmail" serializeAs="String">
<value>thecart7@microsoft.com</value>
</setting>
<setting name="LyncAccountPassword" serializeAs="String">
<value><![CDATA[YOUR*CART*PASSWORDISHERE]]></value>
</setting>
</SuperSimpleLyncKiosk.Properties.Settings>
</userSettings>

And that's it! The kiosk does the rest. You can read more about the UI Suppressed version on Tom's blog post and the non-UI Suppressed version on my site. Also, note that UI Suppressed mode needs a registry key changed, but we include those .reg files for ON and OFF, 32- and 64-bit.

Again, Big thanks to Tom, Paul, their bosses, and the spirit of open source. http://lyncautoanswer.com. We look forward to redesigns, forks and pull requests as well as stories of remote work.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.