tag:blogger.com,1999:blog-304858752024-03-12T19:35:22.633-05:00Windows System SpecialistBlog for information, notes, and other useful tidbits from an IT worker administering Windows Server, Server Core, Exchange, and System Center Configuration Manger ( SCCM ). With a nice thin layer of PowerShell tying it all together. Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.comBlogger26125tag:blogger.com,1999:blog-30485875.post-11796982840235191142015-11-02T10:12:00.001-06:002015-11-08T20:40:01.609-06:00Google Drive iOS App Not Working<div class="p1">
<span class="s1">I ran into an issue this week </span><span class="s2">where</span><span class="s1"> iOS devices weren't able to open the Google Drive application. The users were getting the error </span><span class="s3">"Device Policy Alert: Looks like your device isn't updated with the latest security policy. Please try again later."</span><span class="s1">, despite the </span><span class="s3">"Google Apps Device Policy Payload"</span><span class="s1"> being installed.</span></div>
<div class="p2">
<span class="s1"></span><br /></div>
<div class="p1">
<span class="s1">Long story short, the resolution was that the Apple Push certificate </span><span class="s2">for</span><span class="s1"> the Google Apps domain had expired. Updating that fixed the access issues. Instructions </span><span class="s2">for</span><span class="s1"> doing that are available on Google's support site:</span></div>
<br />
<div class="p3">
<a href="https://support.google.com/a/answer/6080359"><span class="s4">https:</span><span class="s1">//support.google.com/a/answer/6080359</span></a></div>
Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-56269079323082376202015-09-03T22:49:00.000-05:002015-09-03T22:49:05.220-05:00Group Policy WMI Filter for Server Core vs GUI on Windows Server 2012 R2<div class="tr_bq">
Windows Server 2012 R2 makes it "easy" to transition between a core server and one with varying states of GUI. Unfortunately this makes it harder to apply GPOs to machines since the old SKU filters will no longer work (for example setting PowerShell as the default shell on core servers). Luckily you can query the installed features on the machine directly to check what type of server it currently is: </div>
<blockquote style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<h3>
Server Core</h3>
Select * from Win32_OptionalFeature WHERE Name = "Server-Gui-Shell" AND InstallState = 2</blockquote>
<br />
<blockquote style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<h3>
Some to full GUI</h3>
Select * from Win32_OptionalFeature WHERE Name = "Server-Gui-Shell" AND InstallState = 1</blockquote>
Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-23716377485670589132015-07-23T14:38:00.000-05:002015-07-23T14:38:59.514-05:00HP USB Key Utility for Windows 2.0.0.0 Download LinkSearching forever on HP's site, I couldn't find a link to the latest 2.0.0.0 version of their HP USB Key Utility for Windows. The updated utility is 64 bit and is needed for the latest HP Service Pack for ProLiant as the size has creeped up larger than a single layer DVD. The product page exists but doesn't have a download button:<br /><a href="https://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_745bddb33d674536b0ec23d829#tab-history">https://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_745bddb33d674536b0ec23d829#tab-history</a><br />
<br />
Going through their FTP site I was able to find a download link:<br /><a href="ftp://ftp.hp.com/pub/softlib2/software1/sc-windows/p1576607567/v102163/cp024879.exe">ftp://ftp.hp.com/pub/softlib2/software1/sc-windows/p1576607567/v102163/cp024879.exe</a><br />
<br />
<br />Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com8tag:blogger.com,1999:blog-30485875.post-70603115007626509092014-10-17T17:03:00.002-05:002014-10-18T00:18:01.234-05:00Fixing Blank Calendar with Chrome 38 and Outlook Web App (OWA) on Exchange 2013So there's an issue with Chrome 38 and higher and Exchange 2013 Outlook Web App (OWA): the calendar will fail to load any data effectively showing up blank for users. You'll also see the error in the client headers as "<i>ClientError;exMsg=Uncaught SyntaxError: Unexpected token );file=https://mail.corp.com/owa/15.0.995.29/owa2/scripts/boot.0.mouse.js:11</i>". This is not the modalDialog issue that's causing issues with OWA 2010, it's an issue with Chrome's V8 javascript engine their array object definition.<br />
<br />
The fix is pretty simple to implement. On one of your mailbox servers copy the contents of: <i>C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\prem\15.0.995.29\scripts\</i> to a directory on your workstation (may want to make a backup copy on the server just in case). There's no need to copy any subdirectories, only the root js files. Also note that you may have a different version number in there: 15.0.995.29 is Update 6.<br />
<br />
Using Notepad++, find and replace in all files in the directory on your local machine: replace '<b>"values"in n</b>' with '<b>n.hasOwnProperty("values")</b>' (without the surounding 's). On 15.0.995.29 this was 42 replacements:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-mw9X5uqAYfo/VEGUOAR9C1I/AAAAAAAATKo/SX26cLCtDxc/s1600/Find%2Bin%2BFiles.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-mw9X5uqAYfo/VEGUOAR9C1I/AAAAAAAATKo/SX26cLCtDxc/s1600/Find%2Bin%2BFiles.png" height="231" width="400" /></a></div>
<br />
<br />
Copy the updated files back to all of your Exchange Mailbox servers (if you segregate your CAS and MB hosts, you only need to update on the MB hosts as they do the actual site rendering). Also after you update the files there's no need to cycle the AppPool, clients just need to logout and log back into OWA (if you have a NetScaler or similar load balancer in between doing any form of caching you may need to refresh that).<br />
<br />
You can actually see Microsoft's implemented the same fix for this in the Office 365 release chain; they added the fix between 16.0.411.0 and 16.0.411.1:<br />
https://r1.res.office365.com/owa/prem/16.0.411.0/scripts/boot.0.mouse.js<br />
https://r1.res.office365.com/owa/prem/16.0.411.1/scripts/boot.0.mouse.js<br />
<br />
<br />
Credit to finding the root issue goes to adamk@chromium.org, the Chrome issue is here:<br />
<a href="https://code.google.com/p/chromium/issues/detail?id=409858">https://code.google.com/p/chromium/issues/detail?id=409858</a><br />
<br />
Update for Chrome looks like it's coming down the pipeline soon, should also be in the Exchange 2013 Update 7 in late November.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com9tag:blogger.com,1999:blog-30485875.post-15350478685738041472012-02-22T13:11:00.004-06:002014-10-18T00:12:41.182-05:00"The file name you specified is not valid or too long" with SharePoint 2010 Mapped DrivesRan into an issue today with using mapped drives in Windows 7 and a SharePoint 2010 Document Library. Making new files worked just fine, but when trying to move files between folders I was getting the error: "The file name you specified is not valid or too long". <br />
<div>
<br /></div>
<div>
Long story short, it turns out the WebDAV support in Windows 7 doesn't seem to like certain characters in paths, specifically space in this case (although I assume there are others). In this case it didn't like that the Document Library was at: </div>
<div>
http://sharepoint/docs/Documents%20And%20Things</div>
<div>
<br /></div>
<div>
This is with WebClnt.dll 6.1.7601.21728, which is the most recent I could track down. </div>
<div>
<br />
The work around is to rename the document library. Since you can't do this directly from the SharePoint web interface, I had to do it using SharePoint Workspaces. Once the library was renamed, it's working properly now. </div>
Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-4770697602269494762011-08-10T23:11:00.003-05:002011-08-10T23:15:37.807-05:00Eject for Mac OSX (or OS X)<span class="Apple-style-span"><span class="Apple-style-span" style="line-height: 16px;"><div>Tired of getting the "Device Removal" dialog box in OSX every time you pull out your USB flash drive or iPod?</div><div>I present "Eject" a two tap utility for OS X that will display a dialog of all of your mounted disks. Select one, click "Choose", and Finder will eject it.</div><div>
<br /></div><div>Here's a screenshot:
<br /><a href="http://dl.dropbox.com/u/5396315/Eject/screenshot.png">http://dl.dropbox.com/u/5396315/Eject/screenshot.png</a></div><div>
<br /></div><div>Here's the App in a Zip file:
<br /><a href="http://dl.dropbox.com/u/5396315/Eject/Eject.zip">http://dl.dropbox.com/u/5396315/Eject/Eject.zip</a></div><div>
<br /></div><div>And the Automater Workflow if you want to tweak it:
<br /><a href="http://dl.dropbox.com/u/5396315/Eject/Eject_Workflow.zip">http://dl.dropbox.com/u/5396315/Eject/Eject_Workflow.zip</a></div></span></span>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-12889729101788940022010-06-28T14:37:00.002-05:002010-06-28T14:39:00.678-05:00Note on Deploying Adobe CS5Found this tidbit in the Adobe Enterprise Deployment guide. At least they're upfront about not being user or administrator friendly:<div><blockquote></blockquote><div></div><blockquote><div>The CS5 applications do not implement application preferences in a consistent manner across applications, nor do the implementations conform to existing platform standards.</div></blockquote><div></div></div>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-51088507101814925402010-06-10T17:16:00.003-05:002010-06-10T17:17:51.263-05:00Set Printer Share Comment to the Port Name With IP AddressSo as an update to an earlier post on adding the port name to the comments of a print queue on a Server 2003/2008/2008 R2 box, below is an update script that will add both the port name and the IP address or DNS host name associated with a given port.<div><br /></div><div><br /></div><div><div>$printersWMI = Get-WMIObject -Class "Win32_Printer" -NameSpace "root\cimv2" -computername "."</div><div>$portsWMI = Get-WMIObject -Class "Win32_TCPIPPrinterPort" -NameSpace "root\cimv2" -computername "."</div><div>$ports = @{}</div><div>ForEach($port in $portsWMI){</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>$ports[$port.name] = $port.HostAddress</div><div>}</div><div><br /></div><div>ForEach($printer in $printersWMI){</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>$printer.Comment = $printer.PortName + "`r`n" + $ports[$printer.PortName]</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>$printer.Put()</div><div>}</div><div><br /></div><div><br /></div><div><blockquote></blockquote><blockquote></blockquote><br /></div></div>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-16702572192021159232009-11-03T09:00:00.002-06:002009-11-03T12:48:03.155-06:00Excluding My Music from Roaming ProfileBy popular demand, we recently rolled out iTunes to our users. An unexpected consequence of this was that our windows roaming user profile demands skyrocketed. We're talking over doubling basically over night. Our solution to it was to exclude the My Music folder from the roaming user profile. In general its probably best we don't have user's music collections sitting on expensive enterprise storage. To do this, create a new Group Policy. Drill down to <span style="font-weight: bold;">Administrative Templates\System\User Profiles</span>. Enable<span style="font-weight: bold;"> "Exclude directories in roaming profiles"</span> and set the value to "My Documents\My Music". If there are other folders you'd like to exclude you can add them with a semicolon, eg <span style="font-weight: bold;">"My Documents\My Music;Temp"</span>.<br /><br />The good news is that once this policy is enabled, the next time that the user logs off, the user profile will sync without any of the Excluded directories. Even better is that it will remove existing "My Music" folder on the server copy of the roaming profile. Turn on Performance Monitor, setup some counters, and watch the drive space roll in.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-42604580341692404822009-04-10T15:34:00.002-05:002009-04-10T15:43:58.528-05:00Exchange Cluster Continuous Replication FailedWe had an Exchange 2007 Mailbox server's storage drive fill up due to log files not being cleaned out due to the backup job failing (don't ask). After we deleted the unnecessary log files and got the store back online, we weren't able to get its CCR passive node to bring 3 of the 5 stores online. We ran "Update-StorageGroupCopy <name> -DeleteExistingFiles", and the process would complete. I would then show up as "healthy" with a "Get-StorageGroupCopyStatus" for a minute or so, and then fail. Checking the event log we got:<br /><blockquote>Event ID: 2059<br />Source: <span id="gtbmisp_13" style="border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%; font-family: serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 100%; line-height: normal; font-size-adjust: none; font-stretch: normal; position: static; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-transform: none; color: red; text-decoration: underline; cursor: pointer;">MSExchangeRepl</span><br />The log file 404149 for <name> is missing on the production copy. Continuous replication for this storage group is blocked. If you removed the log file, please replace it. If the log is lost, the passive copy will need to be reseeded using the Update-<span id="gtbmisp_14" style="border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%; font-family: serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 100%; line-height: normal; font-size-adjust: none; font-stretch: normal; position: static; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-transform: none; color: red; text-decoration: underline; cursor: pointer;">StorageGroupCopy</span> <span id="gtbmisp_15" style="border: 0pt none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0% 0%; font-family: serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 100%; line-height: normal; font-size-adjust: none; font-stretch: normal; position: static; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-transform: none; color: red; text-decoration: underline; cursor: pointer;">cmdlet</span> in the Exchange Management Shell.<br /></blockquote>It wouldn't make sense straight away, as the database on the active node was "up to date" and shouldn't need those log files. After some research, I found that this was a result of the failed backup process. When we deleted the log files on the active node, we'd broken the replay log process (as we'd deleted log files that were created after the last time the database was backed up).<br /><br />Given that we're using a backup solution that backs up the databases from the passive node, I had to use NTBackup Utility to do a normal backup on the database. Once this completed I was able to use the Update-StorageGroupCopy command to get the database replication back to a healthy state. In theory this process should work on a Standby Continuous Replication<br /> SCR cluster as well.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-15603245907415682742009-04-06T10:10:00.002-05:002009-04-06T10:16:45.442-05:00Set Printer Share Comment to the Port NameWe use an asset tag naming system to target all of our printer ports to the physical printers. The queue names are abstracted from the actual printer it's self. All of the printers have a DNS name that is their asset tag plus the SCCM site code of the location that they're currently located in. The only problem with this is that it creates a bunch of extra clicking to determine what printer a queue is actually pointed to (okay, so its like 4 extra clicks to get the port name, but its still tedious). The work around we came up with is to set the comment tag on the printer to the port name of the printer. To do that we use the following bit of PowerShell code that runs on an hourly basis on the server. It was tested on Windows Server 2008, but should work just fine on Server 2003:<br /><br /><blockquote>$printers = Get-WMIObject -Class "Win32_Printer" -NameSpace "root\cimv2" -computername "."<br />ForEach($printer in $printers){<br />$printer.Comment = $printer.PortName<br />$printer.Put()<br />}<br /></blockquote>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-73703297407058742022009-03-25T07:58:00.004-05:002009-03-26T11:22:29.306-05:00Mounting CD and DVD in SuSE in Hyper-V with the Linux Integration Components InstalledSuSE Enterprise 10 SP2 works great on Hyper V, the performance (especially once you get the VMBus drivers installed) is near-iron, and the integration between SuSE and AD is great. It's the perfect setup for running a few Linux servers in a mostly Windows shop.<br /><br />The only problem that I had getting the CD/DVD drive to mount. Once you get the VMBus drivers working properly, when you boot with the XEN kernal the CD Rom drive will show up as a Hard Disk to Linux. This will prevent SUSE from automatically mounting the CD/DVD drive when you swap out the discs (or upon boot). The solution is to mount the CD/DVD rom manually; to do that, do the following:<br /><ol><li>Open up Terminal</li><li>Make a directory as a mount point for the drive ( "mkdir /media/cdrom0" )</li><li>Mount the drive by typing in: "mount -t iso9660 /dev/hdc /media/cdrom0"</li></ol>This is assuming that the DVD drive for the Virtual Host is on IDE Controller 1 location 0. If it is on another channel, you'll have to change the /dev/hdc line of the mount command to the correct value:<br /><ul><li>IDE Controller 0, Location 0: /dev/hda</li><li>IDE Controller 0, Location 1: /dev/hdb</li><li>IDE Controller 1, Location 0: /dev/hdc</li><li>IDE Controller 1, Location 1: /dev/hdc</li></ul><br /><span style="font-weight: bold;">Update: </span>Found one more issue. When using YaST2 to configure the network interface, make sure that you use the "Traditional Method with ifup" and not "User Controlled with Network Manager". Otherwise it will continually fail to setup the network adapter without providing any relevant error messages.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-91795221596115586552009-03-09T13:49:00.002-05:002009-03-09T13:52:22.963-05:00HP Proliant Support Pack on Server 2008: Server CoreWe had some problems early on with the initial version of HP's PSP on our HP DL380 G5s and Server Core. The problems seem to have been resolved in the latest (8.15) version of the PSP. To install it, simply extract the PSP to a directory and run the setup.exe from the command line in Server Core. You'll get the standard HP GUI to guide you through the installation (or you can use setupc.exe for the commandline driven installation). The only "note" is that you'll have to install the SNMP service before hand by using the command "<strong>start /w ocsetup </strong><strong>SNMP-SC".<br /></strong>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-26363949156604439922008-07-28T14:48:00.003-05:002009-02-09T08:25:09.157-06:00HyperV and Failover Clustering QwerkSetting up a HyperV failover cluster on Server 2008 Datacenter edition, we kept having an issue with VM's configuration object getting stuck in "Offline Pending" when moving the virtual machine between servers. Additionally, we were getting an error when trying to add additional Virtual Machines to the cluster:<br /><blockquote><span style=";font-family:Arial;font-size:85%;" >"An error was encountered while loading the list of available virtual machines. The value cannot be null Parameter name ManagementObject" . With an EventID # 1183 error as well.</span></blockquote>After banging my head over this issue, it turns out its rather simple. The Failover Cluster Management MMC doesn't automatically add the drive that the Virtual Machine Configuration is stored on as a dependency to the Virtual Machine Configuration object. It's strange because it does add it to the Virtual Machine object its self. The result is that the cluster service can offline the disk that the configuration is stored on before it's done writing to the configuration file, causing the problems.<br /><br /><div style="text-align: left;">The solution, of course, is to add the virtual disk as a dependency of the Virtual Machine Configuration:<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_SmGojG2NP98/SI4luuYN_KI/AAAAAAAAACo/pU6gGDOmdtQ/s1600-h/Capture.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 578px; height: 196px;" src="http://4.bp.blogspot.com/_SmGojG2NP98/SI4luuYN_KI/AAAAAAAAACo/pU6gGDOmdtQ/s400/Capture.JPG" alt="" id="BLOGGER_PHOTO_ID_5228157702077545634" border="0" /></a><br /><span style="font-weight: bold;">Update:</span><br />If you've already deleted the VM Configuration, you can add it back by right clicking on the Virtual Machine Group in the Failover Cluster Management MMC, choosing Add Resource -> More Resources -> Add Virtual Machine Configuration. Alternatively you could reload VM on one of the cluster nodes and then go through the process to make it highly available again.<br /><br /><span style="font-weight: bold;">Update x2:<br /></span>Microsoft has fixed the root problem in the Hyper-V Failover Cluster Management Hotfix; more info here:<br /><a href="http://hypervoria.com/hyper-v/hyper-v-failover-cluster-hotfix-now-public.aspx">http://hypervoria.com/hyper-v/hyper-v-failover-cluster-hotfix-now-public.aspx</a><br /></div>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-72463717371570446862008-07-24T09:20:00.000-05:002008-07-24T09:24:56.725-05:00SCCM 2007 & KB948109We've got a single System Center Configuration Manager 2007 server running all of our SCCM roles, as well as running MS SQL 2005 Express Edition SP2. When we installed the latest MSSQL update, KB948109 , we found that it completely hosed the security on the SQL instance. It appears that this is a rather widespread problem, in generally it looks like this update is wroght with issues. Luckily, running SCCM's Repair Site wizard on the server followed by a reboot cleaned up the mess. The more you know.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-75845106037209975462008-04-17T10:15:00.000-05:002008-04-17T10:22:41.066-05:00Excel 2007, Vista, and SynergyI've found a problem with the awesome, cross platform, multi-monitor program <a href="http://synergy2.sourceforge.net/">Synergy</a>. When using it with Windows Vista (which, technically isn't supported but seems to work reasonably well), you can't disable the Scroll Lock key in Excel. If you pull up the Virtual Keyboard from the Ease of Access tools, you can see scroll lock turning on and off, but Excel 2007 doesn't seem to care. The solution is to: turn off Synergy, hit Scroll Lock, turn Synergy back on. The developer has expressed that he is working on the project again, so hopefully we'll see the filter driver fixed in Synergy 2.0.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-16718584713760242372008-03-04T10:18:00.000-06:002008-03-04T10:21:17.812-06:00Active@Boot Disk and Active@UndeleteSo it turns out, the instructions I posted last year for getting Active@Undelete on a Windows Deployment Services system work just as well for getting the Active@Boot Disk on there as well. The only difference is that you have to use the Active@Boot Disk Creator first to generate the ISO image so that it will include your serial number and registration info.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-55537989158085632662007-11-25T12:25:00.000-06:002007-11-25T12:28:03.019-06:00Exchange BackupsAwesome. We're about half way through moving from our janky Exchange 2003 servers to our Exchange 2007 Ultra Clusters... and the Exchange 2003 server decides to take a digger last night. Not just a digger (lost three! less then a year old SCSI3 disks in a 0+1 array in a matter of 2 days), but we don't have current backups... Using Active@Undelete to try and recover some data. It's a blast and a half. At least we've got affect people backup with a dial-tone mailbox on our hot spare 2003 box.<br /><br />Moral of the story: nightly incremental backups are your friend.Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-35367792116186369792007-04-11T10:47:00.000-05:002007-04-11T11:22:23.932-05:00Active@Boot Disk on Windows Deployment ServicesWe use a toolset from Active@ called UNDELETE. It's a nifty little program for recovering files off of hard disks that have been wiped, have a broken partition, etc.<br /><br />One of the nicest features is the ability to use the program from a Windows PE 2.0 ISO to boot a machine and recover files. While this is nice, network booting it is a a much nicer solution that doesn't require you to have a CD on you at all times. After some tinkering, I've gotten it to sucessfully PXE.<br /><br /><span style="font-weight: bold;">What you need:</span> Windows Server 2003 SP2 Windows Deployment Services server and the BootDiskEnt.ISO from the Active@ Boot Disk.<br /><br /><span style="font-weight: bold;">Process:</span><br /><ol><li>Mount the BootDiskEnt.ISO using your favorite ISO mounting utility.</li><li>Navigate to "X:\Sources\" (where X is the drive letter where you mounted the ISO<br /></li><li>Copy the Boot.WIM file over the the deployment server.</li><li>On the deployment server, open up Windows Deployment Services MMC</li><li>Expand the tree to : Windows Deployment Services -> Servers -> <span style="font-style: italic;">Server Name </span>-> Boot Images.</li><li>Right click and select "Add Boot Image".</li><li>In the wizard, click Browse and select the Boot.WIM file. Click Next until you complete the wizard.<br /></li><li>It will take a few minutes to load, once it does you should see "Active@Boot Disk" listed as a boot image.<br /></li><li>To use it, simply boot the system from the WDS server over PXE and select "Active@ Boot Disk" from the list of available boot images. It will boot just as if you had loaded it off of CD. <server></server></li></ol>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-28258533412890384532006-11-27T20:33:00.000-06:002006-11-27T20:35:50.917-06:00Powershell RTM is Hot.I'll post more PowerShell scripts in the future, but the basic idea here is that PowerShell is awsome. Makes AD and Exchange managment cake. Can't wait to see what SMS 4.0 does with it. As an added bonus, you can now lord your Object Orientated Shell over the heads of those pesy 'Linux' people and their 'Bash'.<br /><br />RTM is out here:<br /><a href="http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx">http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx</a>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-1153756336739958582006-07-24T10:49:00.000-05:002007-06-24T13:03:20.969-05:00Logon Script to Set Windows Default Log on To DomainSimple little Visual Basic script today. It writes the registry key to specify which Domain Windows will choose for displaying in the GINA Log On To drop down box. It allows you to specify two different choices, a primary and an alternate, but you can always comment out the alternate if you wish.<br /><blockquote><br />' NAME: setLogonTo.vbs<br />'<br />' AUTHOR: Charles Wastell<br />' DATE : 7/24/2006<br />'<br />' Updates<br />'<br />' 7/24/06 - Initial Revision<br />'<br />' COMMENT: Changes the default Logon To at the Gina login box to the default domain.<br />' You can comment out lines 27 and 43 if you only have one domain to logon to.<br />' <br />' <br />' <br />' **********************************************************************************<br />' Variable Declarations<br />' **********************************************************************************<br /><br />Dim defaultDomain, defaultAltDomain<br />Dim WshShell<br /><br />' **********************************************************************************<br />' User Customizable Section<br />' **********************************************************************************<br /><br />defaultDomain = "YOURDOMAIN"<br />defaultAltDomain = "YOURSECONDARYDOMAIN"<br /><br /><br />' **********************************************************************************<br />' Variable Initialization<br />' **********************************************************************************<br /><br />Set WshShell = CreateObject("Wscript.Shell")<br /><br />' **********************************************************************************<br />' Write Reg Keys<br />' **********************************************************************************<br /><br />On Error Resume Next<br /><br />WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName", defaultDomain ,"REG_SZ"<br />WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AltDefaultDomainName", defaultAltDomain , "REG_SZ"<br /><br />WScript.Quit<br /></blockquote>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-1153410904219122872006-07-20T10:47:00.000-05:002006-07-24T10:11:11.896-05:00Windows Command Line CDP Capture UtilityCisco Discovery Packets (CDP) will give you a lot of valuable information if you can capture them: they will give you your IP, the switch your on, and the port on that switch you're connected to. When combined with a database that maps switch ports to datajack, you can directly locate where a computer is on your network. <br /><br />The only problem is that capturing this little buggers is tough in Windows: CDPR will do it, as will Ethereal, but both require WinPcap to be installed. Luckily I found version of TCPDump for Windows thats built on the WinPCap SDK; this means the little 400k utility can capture CDP packets on a machine without any additional tools. <a href="http://www.microolap.com/products/network/tcpdump/">You can get it from micoOLAP here.</a> The manual page for WinDump (version of TCPDump that needs WinPCap ) can be found over<a href="http://www.winpcap.org/windump/docs/manual.htm"> here. </a><br /><br />The final step is getting TCPDUMP to capture the CDP Packet. Command line we're using it "tcpdump -nn -v -s 1500 -c 1 ether[20:2] == 0x2000" (<a href="http://sidewynder.blogspot.com/2005/07/tcpdump-filter-for-capturing-only.html">from another blog</a>). It takes up to 60 seconds (depending on switch settings), but eventually pulls down the CDP Packet. I'll see if I can't wrangle up some VBS Login scripts to run it in a bit. <br /><br />-CharlesCharles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0tag:blogger.com,1999:blog-30485875.post-1152745620010859772006-07-12T17:56:00.000-05:002006-07-12T18:07:00.023-05:00Brother MFC-8440 Multifunction Windows Server 2003 Fax, Print, and Scanner DriversBrother International does not support their line of multifunction printers in Windows Server 2003. Well, they do support the print functions, but if you want to use the Fax or Scanner functions you are SOL. I would guess it has something to do with them offering a nice network fax and scanner driver as an optional but expensive accessory, but I digress. I wanted to share the Fax Machine off our Brother MFC-8440 printer with the rest of our IT Department, but being that it wouldn't work with 2k3, and XP doesn't allow you to share faxes. <br /><br />So what I did was methodically combine the Windows XP Drivers with the Windows Server 2003 Drivers so that I was using the most up to date file versions, then edited the associated INF files so that it would install. After some tweaking and some wall to head interaction, it's working great and we can fax from any of the computers in our office using the wonderful Microsoft Fax Services. The driver files are available here: <a href="http://www.alwaysnetwork.com/wss/brother-mfc-8440.zip">http://www.alwaysnetwork.com/wss/brother-mfc-8440.zip</a>.<br /><br />While editing the drivers, I think I have made the correct changes so that it will work with Vista, but I am unable to check as I don't have any Vista boxes laying around. Also be aware that these drivers, while tested on my systems here, come with no guarantee that they won't hose up your system and come with no warranty what so ever.<br /><br /><br />-CharlesCharles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com9tag:blogger.com,1999:blog-30485875.post-1152110934391672522006-07-05T09:35:00.000-05:002007-06-24T13:05:01.526-05:00Override Adobe Creative Suite 2 Minimum RequirementsAdobe Creative Suite 2 checks the system that you are installing it on in order to see if it meets the minimum requirements for running it. Of course it will run on systems that don't meet the minimum requirements, just not well. By default it wants at least 384 megs of RAM, 1024x768 screen resolution, and 1.5 GB of hard drive space: if you system doesn't meet these requirements it won't install, giving you some cryptic message about getting a better computer.We ran into issues where users "needed" to upgrade to CS2 from CS to resolve version errors between them and other departments.<br /><br />To get CS2 to install we had to "edit" the requirements so that it would install on their machines. The process is to do this is relatively simple: copy the contents of CD1 to a directory on your PC. Open up the setup.ini file in the root directory in your <a href="http://www.textpad.com/">favorite text editor.</a> Under [Requirements] there are a list of 5 different types of checks that the setup file will do: RAM, Administrative Rights, OS, Screen Resolution and Hard Drive space. Simply edit the various values to a point sufficiently low enough for your computer. Our [Requirements] section is setup to allow installs on machines with 100 megs of RAM, 640x480x16bit screen resolution, and 1.5 GB of space on the drive. A copy of our requirement section is below. Once you have made the changes, simply save the ini file and burn the contents back to a CD. You can now use this to install off of rather then the original disk.<br /><br /><blockquote>[Requirements]<br />Requirement1Type=RamRequirement<br />Requirement1MsgFailure="$$$/ACS/ReqCheckFailureRam=The Adobe Creative Suite 2 needs at least 384 MB of RAM\ninstalled in your computer in order to run properly. Adding even more\nRAM will increase performance. Please add more RAM to your\ncomputer and then restart the installer.\n\nThe minimum system requirements for the Adobe Creative Suite are:\n\t- Windows 2000, XP\n\t- Pentium III processor or better\n\t- 3 GB of hard disk space\n\t- 384 MB of RAM\n\t- 1024x768, 16-bit color monitor"<br />Requirement1MsgSuccess=<br />Requirement1Value1=100<br /><br />Requirement2Type=AdminRequirement<br />Requirement2MsgFailure="$$$/ACS/ReqCheckAdminFailure=Administrative privileges are required to install the Adobe Creative Suite 2.\n\nPlease quit the installer, log in as an administrator, and run the installer\nagain to continue installation."<br />Requirement2MsgSuccess=<br /><br /><br />Requirement3Type=OSRequirement<br />Requirement3MsgFailure="$$$/ACS/ReqCheckFailureOS=The Adobe Creative Suite 2 requires that at least Windows 2000\nor Windows XP be installed in order to run properly. Please upgrade\nyour operating system and then restart the installer.\n\nThe minimum system requirements for the Adobe Creative Suite are:\n\t- Windows 2000,XP\n\t- Pentium III Processor or better\n\t- 3 GB of hard disk space\n\t- 384 MB of RAM\n\t- 1024x768, 16-bit color monitor"<br />Requirement3MsgSuccess=<br />Requirement3Value1=5<br /><br />Requirement4Type=ScreenRequirement<br />Requirement4MsgFailure="$$$/ACS/ReqCheckFailureScreen=The Adobe Creative Suite 2 needs your monitor to support a\nresolution of at least 1024x768 with 16-bit color in order to run\nproperly. Please connect a compatible display device to your computer\nand then restart the installer.\n\nThe minimum system requirements for the Adobe Creative Suite are:\n\t- Windows 2000,XP\n\t- Pentium III Processor or better\n\t- 3 GB of hard disk space\n\t- 384 MB of RAM\n\t- 1024x768, 16-bit color monitor"<br />Requirement4MsgSuccess=<br />Requirement4Value1=640<br />Requirement4Value2=480<br />Requirement4Value3=16<br /><br />Requirement5Type=HardDiskSpaceReq<br />Requirement5MsgFailure="$$$/ACS/ReqCheckFailureMinFreeSpace=1.5 GB of space must exist on your startup disk to start installation\nof the Adobe Creative Suite 2. Please delete unneeded files to free\nup additional disk space and then restart the installer.\n\nThe minimum system requirements for the Adobe Creative Suite are:\n\t- Windows 2000,XP\n\t- Pentium III Processor or better\n\t- 3 GB of hard disk space\n\t- 384 MB of RAM\n\t- 1024x768, 16-bit color monitor"<br />Requirement5MsgSuccess=<br />Requirement5Value1=1536</blockquote>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com1tag:blogger.com,1999:blog-30485875.post-1151935903767658612006-07-03T08:56:00.000-05:002006-07-03T09:11:43.783-05:00RIS Welcome.OSC Featuring Vi Clippy (aka Vigor)Everyone loves Clippy. And where better to have Clippy then on the Welcome screen for Remote Installation Services? With that in mind, below is the source code for using Vi Clippy in your Welcome.OSC file on your RIS server (it's under \RemoteInstall\OSChooser\ ). The Welcome.OSC template used to build Vi Clippy was from Server 2k3 SP1, but it should work on any RIS server.<br /><span style="font-weight: bold;">Screen shot:</span><br /><br /><span style="font-weight: bold;"><br /><img src="http://www.alwaysnetwork.com/wss/clippy.jpg" /><p><br />Source:</span><br /><a href="http://www.alwaysnetwork.com/wss/welcome.osc">Download it here</a>Charles Wastellhttp://www.blogger.com/profile/03861871086471829226noreply@blogger.com0