<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Eugene Valley's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/eugenev/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/eugenev/feed.xml</link>
    <description>Configuration Manager in the Field</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:45:44 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Powershell Transcription in Task Sequences</title>
      <link>https://docs.microsoft.com/archive/blogs/eugenev/powershell-transcription-in-task-sequences</link>
      <pubDate>Thu, 23 May 2013 06:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Eugene Valley]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/eugenev/2013/05/23/powershell-transcription-in-task-sequences/</guid>
      <description><![CDATA[Recently, we were trying to take a look at transcription logs for a Powershell script that was...]]></description>
      <content:encoded><![CDATA[<p>Recently, we were trying to take a look at transcription logs for a Powershell script that was configured to run in a Task Sequence.&nbsp; Interestingly, when you run a Powershell script in a task sequence with transcription enabled, instead of creating the log where you specify, the logging is actually intercepted and published to the smsts.log.&nbsp; This is fine, except, we were trying to generate logs that would be used by another team that isn't especially interested in the rest of the data in the smsts.log.&nbsp; So, here is what we did to get the transcription logging to actually dump into a specified file.</p>
<p>- Create a new package that contains my Powershell script</p>
<p>- Create a program with a command line that looks something like this:</p>
<p><span style="font-family: courier new,courier;">cmd /c Powershell.exe -ExecutionPolicy Unrestricted -NoProfile -File transcribe.ps1</span></p>
<p>The syntax we used in the Powershell script looks something like this:</p>
<p><span style="font-family: courier new,courier;"># Start logging</span></p>
<p><span style="font-family: courier new,courier;">Start-Transcript &ndash;path c:\transcribe.log</span></p>
<p>&nbsp;</p>
<p><span style="font-family: courier new,courier;"># Stuff</span></p>
<p><span style="font-family: courier new,courier;">Write-Host &ldquo;We are logging to c:\&rdquo;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: courier new,courier;"># Stop logging</span></p>
<p><span style="font-family: courier new,courier;">Stop-Transcript</span></p>
<p>&nbsp;</p>
<p>And, here is what the output looks like:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/2451.ps.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/2451.ps.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/2451.ps.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/2451.ps.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Client Restart Notifications with Configuration Manager 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/eugenev/client-restart-notifications-with-configuration-manager-2012</link>
      <pubDate>Tue, 22 Jan 2013 07:11:16 GMT</pubDate>
      <dc:creator><![CDATA[Eugene Valley]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/eugenev/2013/01/22/client-restart-notifications-with-configuration-manager-2012/</guid>
      <description><![CDATA[A while back, my colleague Terry McKinney created a blog post that talks about System Center 2012...]]></description>
      <content:encoded><![CDATA[<p>A while back, my colleague Terry McKinney created a blog post that talks about <a href="https://blogs.technet.com/b/configurationmgr/archive/2012/08/13/important-note-about-system-center-2012-configuration-manager-and-client-machine-restart-notifications.aspx" target="_blank">System Center 2012 Configuration Manager and client machine restart notifications</a> after applying Software Updates.&nbsp; The steps Terry outlines hide the balloon notifications, however, the system restart icon will still appear in the system tray.&nbsp; After speaking with Terry, he provided me with more details into the workaround.&nbsp; He will probably be updating his blog post, as well.&nbsp;Keep in mind that these steps will disable all Configuration Manager client notifications.</p>
<p>So, to disable all notifications, follow these steps:</p>
<p>1. In the Configuration Manager Admin Console, set the&nbsp;User Experience\User Notifications configuration setting for the deployment to "Hide in Software Center and all notifications"</p>
<p>2. Set the User Experience\Device Restart behavior configuration setting to &ldquo;Suppress the system restart for both Servers and Workstations.&rdquo;</p>
<p>Next, we'll need to set some policies...</p>
<p><strong>NOTE</strong> Best practice discourages unnecessary editing of the Default Domain Policy.</p>
<p>Domain&nbsp;Policy&nbsp;&nbsp;&nbsp; <br />User Configuration&nbsp;&nbsp;&nbsp;&nbsp; <br />Policies&nbsp;&nbsp;&nbsp;&nbsp; <br />Admin templates&nbsp;&nbsp;&nbsp;&nbsp; <br />Start Menu and Taskbar&nbsp;&nbsp;&nbsp;&nbsp; <br />Set "Turn off all Balloon Notifications" to "Enabled"</p>
<p>Local policy on Win 7 (New setting for Windows 7):</p>
<p>Domain Policy&nbsp;&nbsp;&nbsp; <br />User Configuration&nbsp;&nbsp;&nbsp;&nbsp; <br />Policies&nbsp;&nbsp;&nbsp;&nbsp; <br />Admin templates&nbsp;&nbsp;&nbsp;&nbsp; <br />Start Menu and Taskbar&nbsp;&nbsp;&nbsp;&nbsp; <br />Set&nbsp; "Turn off automatic promotion of notifications to the taskbar" to "Enabled"</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/2045.GP1.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/2045.GP1.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/2045.GP1.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/2045.GP1.PNG" alt="" border="0" /></a></p>
<p><strong>Here's the extra bit that will prevent the notification icon from appearing in the system tray:</strong><br /><strong>This involves setting a software restriction on SCNotification.exe:</strong></p>
<p>Domain&nbsp;Policy<br />Computer Configuration<br />Policies<br />Windows Settings<br />Security Settings<br />Software Restriction Policies<br />Additional Rules</p>
<p><em>Add a path rule</em> - path to SCnotification.exe</p>
<p><em>Add a hash rule</em> - browse to and select SCnotification.exe; the&nbsp;hash values will be detected and added</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/6675.gp2.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/6675.gp2.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/6675.gp2.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/6675.gp2.PNG" alt="" border="0" /></a></p>
<p>Since SCNotification.exe runs at startup, you'll probably want to restart the client&nbsp;so that the&nbsp;policies update and SCNotification.exe stops running and&nbsp;these changes take effect.</p>
<p><span style="text-decoration: underline;"><em><strong>Thanks to Terry for providing these steps!!!</strong></em></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Don't forget to enable your classes for AI reports.</title>
      <link>https://docs.microsoft.com/archive/blogs/eugenev/dont-forget-to-enable-your-classes-for-ai-reports</link>
      <pubDate>Mon, 14 Jan 2013 11:11:45 GMT</pubDate>
      <dc:creator><![CDATA[Eugene Valley]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/eugenev/2013/01/14/dont-forget-to-enable-your-classes-for-ai-reports/</guid>
      <description><![CDATA[Just a reminder that you need to remember to enable Hardware Inventory Classes to run those snazzy...]]></description>
      <content:encoded><![CDATA[<p>Just a reminder that you need to remember to enable Hardware Inventory Classes to run those snazzy Asset Intelligence reports in Configuration Manager 2012...</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/6685.AIrpts.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/6685.AIrpts.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/6685.AIrpts.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/6685.AIrpts.PNG" alt="" border="0" /></a></p>
<p>I really want to know what my users have installed!</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/4743.HWinv.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/4743.HWinv.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/4743.HWinv.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/4743.HWinv.PNG" alt="" border="0" /></a></p>
<p>Ensure that Hardware Inventory is enabled.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/2287.AIdash.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/2287.AIdash.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/2287.AIdash.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/2287.AIdash.png" alt="" border="0" /></a></p>
<p>Enable the classes.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/0525.classes.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/0525.classes.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/0525.classes.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/0525.classes.PNG" alt="" border="0" /></a></p>
<p>Go big or go...umm, not so big.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/5468.swrpt.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/5468.swrpt.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/48/5468.swrpt.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-48/5468.swrpt.PNG" alt="" border="0" /></a></p>
<p>Wait for Hardware Inventory to run and then...Success!</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Task Sequence Time Zone Fun</title>
      <link>https://docs.microsoft.com/archive/blogs/eugenev/task-sequence-time-zone-fun</link>
      <pubDate>Fri, 28 Dec 2012 10:24:00 GMT</pubDate>
      <dc:creator><![CDATA[Eugene Valley]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/eugenev/2012/12/28/task-sequence-time-zone-fun/</guid>
      <description><![CDATA[I recently had a situation where we were looking for a way to set time zones on Windows 7 clients...]]></description>
      <content:encoded><![CDATA[<p>I recently had a situation where we were looking for a way to set time zones on Windows 7 clients during Operating System Deployment. &nbsp;While there are certainly many different ways to accomplish this, our case was a little different. &nbsp;We were deploying to unknown machines that could be in any number of time zones, so, using a Task Sequence variable wouldn't have been as dynamic as we wanted. The Domain Controllers, OU's, collections, etc...&nbsp;weren't always in the same time zone, either, so, we couldn't base our solution on any of these.&nbsp;&nbsp;We decided that, in this scenario, the best way to determine the time zone would be to base it on whatever DHCP server the client was using, as that was the only unique service we&nbsp;definitely&nbsp;knew each location had. &nbsp;So, here is an example of &nbsp;how we can use a VB script that will pull the time zone data from the client's DHCP server and set it locally. &nbsp;We can place this script in a Task Sequence and run it using an account that has rights to read the&nbsp;SYSTEM\CurrentControlSet\Control\TimeZoneInformation key&nbsp;on the DHCP servers. &nbsp;Of course, this is just an example, you should always work out logic and test before implementing any solution. &nbsp;:)</p>
<p>&nbsp;</p>
<pre>' ***set local machine variable<br />strComputer = "."<br /><br />' ***Find DHCP Server<br />Set objWMIService = GetObject("winmgmts:\\" &amp; strComputer &amp; "\root\Cimv2") <br />Set colItems = objWMIService.ExecQuery("Select * From Win32_NetworkAdapterConfiguration Where Not DHCPServer Like '255%'")<br />For Each objItem in colItems<br />If objItem.DHCPEnabled = True Then<br /><br />' ***Get Registry Key Value From DHCP Server<br />const HKEY_LOCAL_MACHINE = &amp;H80000002<br />Set StdOut = WScript.StdOut<br />Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp;_ <br />objItem.DHCPServer &amp; "\root\default:StdRegProv")<br />strKeyPath = "SYSTEM\CurrentControlSet\Control\TimeZoneInformation"<br />strValueName = "TimeZoneKeyName"<br />oReg.GetExpandedStringValue HKEY_LOCAL_MACHINE,strKeyPath,_<br />strValueName,strValue<br /><br />' ***Set Time Zone on Local Machine<br /> Set WshShell = CreateObject("WScript.Shell")  <br /> WshShell.Run  "c:\windows\system32\tzutil.exe /s " &amp; """" &amp; strValue &amp; """"<br /><br />' ***It's a Trap!<br />Else <br />MsgBox "DHCP Is Not Enabled - A Static IP Configured"<br />End If<br />Next</pre>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/9748/00/00/03/54/29/10/TimeZone.txt" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-9748-00-00-03-54-29-10/TimeZone.txt">TimeZone.txt</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>