To keep RPC from shutting down Windows:
Start---->Control Panel---->Administrative tool---->Services---->RPC (there are 2 services with the RPC label, DO NOT CHOOSE THE LOCATOR SERVICE!!!). Highlight RPC and right click, choose properties from the menu. Select the recovery tab in the properties window, and for first, second and subsequent failures have your system restart the service (restart the system is selected by default).

Hope this helped!