Tuesday, February 1, 2022

Update could not finish, and no way to change boot order in BIOS Widnows 10

Update could not finish, and no way to change boot order in BIOS Widnows 10

Dj

Try this

1.    Open a Command Prompt (Run as Administrator)
2.    Type: cd %windir% and press the Enter key.
3.    Type: net stop wuauserv and press the Enter key
4.    Type: ren softwaredistribution softwaredistribution.old and press the Enter key.
5.    [ Note: if you get an error message, ignore and type the above again and press Enter ]
6.    Type: net start wuauserv and press the Enter key.
7.    Type: Exit and press Enter, then go back and check for Windows Updates again.


Wanikiya and Dyami--Team Zigzag


I've tried this too many times to count and always get the same error message.

I was so tired of all the errors that I was getting that I downloaded, currently, ISO 10130. I put this on a DVD but I didn't realize that, since my laptop display is broken, I could not access my BIOS to change the STARTUP sequence on my laptop. I am using an external display but, it won't activate until my laptop goes through about 1/2 of the startup procedure and then it's too late.

I have been trying to remember when my issues started because everything (updates) worked fine until it tried to update my nvida 8200 video driver some time ago. I was able to get around that by going to my nvida control panel and temporarily disabling the video driver and letting W10 install a generic driver. I since went to the nvida website and updated directly from their website and corrected the issue.

I gave up on updating W10 as I would still get an error when trying to update. Where is used to stop at 33% it now goes completely through the update process and then tells me I have the same error message and that it could not install the update - please try again later. Frankly, I am TIRED of trying later. I even tried manually removing the Revert to Earlier Version option out of the REG (sorry... I'm brain dead and don't remember exactly what MS told me to do) and then tried to manually restore my laptop from the HP Restore Partition without any success.

My next step is to write about 8 lines of code to reroute the 12 volts going through my motherboard to the 5 volt side and watch it light up like a Christmas Tree. :(

I have never been so disappointed with making a decision to assist MS as I am now.

I am totally at a loss for the 1st time in over 40 years. I started with MS when they released DOS (already had other versions) and stayed with them when they started Windows and have never left. Yup, I've complained a lot (just like everyone else) but, I've stuck with them. In fact, everything [electronic] in my home is linked together, and syncing with each other, using MS OS.

I didn't expect it to take this long to get back to you to say thanks, Thank You!, for your suggestions - I've been on an extended Fly Fishing excursion and had a hard time coming home.   :)

All I have left to say is... Somebody please figure this out and HELP!!! I'm beginning to think that I only have one option left and that is to do a DOD wipe of my HD and hope I can talk HP into sending me Windows 7 Professional so I can go back to my original OS.


UPDATE: I, once again, tried everyone's "solutions" listed above to no avail. However, the updates are going to 100% now but they still are not installing. Just Sayin'.

Reply:

diOzzy59,

As the time is a little longer from your first post, so I split that into a new thread, the previous one could be referenced here:

https://social.technet.microsoft.com/Forums/en-US/02eee27b-4d15-48d5-98aa-cbab870cff98/fblimpressive-core-10061-error-0xc1900107?forum=WinPreview2014Setup

For the current situation, if we could boot into the current sistem, then please type msconfig on the search box, on the boot tab, select Safe boot->Minimal, then restart to check if we could boot into BIOS from there.

If yes, then please choose to install Windows 10 build 10130 from there.

And if not, boot into safe mode, then uninstall the display driver from there. After that, download the proper display driver from your manufacturer side and install it under safe mode.

Regards


Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


------------------------------------

Updating my tablet

Hi there I'm trying to read a downloaded bank statement but my tablet won't open the file I need Microsoft money (OFX) can anyone help or advise me what I need to do as I'm a bit of a tecno phobe! My tablet can run on both android and windows os. How do I download the software needed and which one do I need my tablet is a lenovo yoga HD 10+ many thanks.

Reply:

Microsoft discontinued sales of Money on June 20, 2009.If you're looking for an alternative program, Microsoft has made the Money Plus Sunset versions available as a replacement for the following expired programs: Microsoft Money Essentials, Microsoft Money Deluxe, Microsoft Money Premium, Microsoft Money Home, and Microsoft Money Business. For more information about Money Plus Sunset, refer to this article in the Microsoft Knowledge base: What Is Microsoft Money Plus Sunset?


S.Sengupta, Windows Experience MVP


------------------------------------

Excel create Scatter Plot by macro bug

Description

Found in Excel v15.0.4693.1000

I've noticed some odd behavior when creating a Scatter Plot with Straight lines via macro or while recording a macro.  If I'm recording a macro while creating such a chart, when I select with or without markers, I get the opposite of what I selected. If I go through the same series of steps without recording a macro, it behaves as expected.

Steps to Reproduce

  1. Insert some data into a worksheet.  Data should have at least two columns
  2. Begin recording a macro
  3. Insert a new straight line, no marker scatter plot without selecting any data
  4. Select the blank chart, type CTRL+X to cut 
  5. Paste it into some location in the worksheet (I known step 4 and 5 seems trivial but it doesn't happen without them)
  6. Go to the Design tab, and click Select Data
  7. Add a series
  8. Select the data for the series
  9. Click OK
  10. ClickOK

Expected Result

Chart should get created without markers

Actual Result

Chart gets created with markers

Other Observations

I recorded a new macro while changing the chart type.  When I changed to a no-marker plot, the ChartType constant in the VBE showed xlXYScatterLines.  When I changed to a marker plot, the ChartType constant in the VBE showed xlXYScatterLinesNoMarkers.

Edit: In the other observation, it must be a new macro recording.  I tried it again in the same recording as the steps to reproduce and it didn't happen.


  • Edited by dfoakley Thursday, June 11, 2015 5:16 PM Added more info

Outlook 2013 help required - Click to Run

Hi,

     I have packaged the Office 365 package using the click to run installation. And we are planning to rollout to the organization. 1. Currently we have Office standard 2010 installed on all the machines

2. We plan to rollout only Outlook 2013 (click to run) to the machines

3. So we have planned to remove the Outlook 2010 shortcut (not uninstall Outlook 2010) and deploy Outlook 2013

We have followed the above 3 steps to some test users and we have good reviews from them.

I tried to find the updates for the Outlook 2013 from account. But I get the message as attached below.

a. Could you please let me know why am I getting the error

b. I tried to upgrade the Outlook 2013 from the link https://support.microsoft.com/en-us/gp/office-2013-365-update but none of the listed May updates could able to update the Outlook 2013 on my machine.

c. Please let me know how to manage and install the updates on the machines.

d. Below is the used xml file to install the application on

<Configuration>

  <Add SourcePath="C:\ClickToRun" OfficeClientEdition="32" >
    <Product ID="O365ProPlusRetail">
     <Language ID="en-us" />
    <ExcludeApp ID="Access" />
    <ExcludeApp ID="Excel" />
    <ExcludeApp ID="Groove" />
 <ExcludeApp ID="InfoPath" />
 <ExcludeApp ID="OneNote" />
    <ExcludeApp ID="PowerPoint" />
    <ExcludeApp ID="Project" />
    <ExcludeApp ID="Publisher" />
    <ExcludeApp ID="SharePointDesigner" />
    <ExcludeApp ID="Visio" />
 <ExcludeApp ID="Word" />
    </Product>
  </Add> 

   <Updates Enabled="TRUE" UpdatePath="<SCCM Server>\O365\ClickToRun\Updates" />

   <Display Level="Full" AcceptEULA="TRUE" />

   <Logging Level="Standard" Path="C:\Windows\Logs" /> 

   <Property Name="AUTOACTIVATE" Value="1" /> 

</Configuration>


  • Edited by _KCK_ Monday, June 8, 2015 9:10 PM

Reply:

Thanks guys..

I could resolve the issue.


------------------------------------

view measures with different date level granularity

SSAS 2008 R2

I have a 2008 R2 cube that has some measures with a monthly granularity and some with a quarterly graularity.  I have two diensions set up for dates, one monthly and one quarterly.  The end user has requested the ability to view measures of different granualarity side by side in one pivot table, with the quarterly measures remaining blank on the months.  Is there anyway to do that?


John Schroeder

Unable to to trace the Physical NIC packets on VM NIC

Hello

*Set the Mirroring mode of the capturing VM to "Destination".
*Enable NDIS capture on the virtual switch the capturing VM is attached to.
*Set the Mirror mode on the External port of the virtual switch the VM is attached to reflect the "Source".

For Third point I ran the below command on powershell. But I am not able to trace the packet on VM.

$portFeature=Get-VMSystemSwitchExtensionPortFeature -FeatureName "Ethernet Switch Port Security Settings"

$portFeature.SettingData.MonitorMode = 2

Add-VMSwitchExtensionPortFeature -ExternalPort -SwitchName MySwitch -VMSwitchExtensionFeature $portFeature.

For information: I am able to trace the packet on Physical Machine. Also I have Mapped the correct Physical NIC card to VM machine.

Please tell me where I am making mistake. This requirement is to add voice record server on VM.


  • Edited by ABMF Thursday, June 11, 2015 1:44 PM

Reply:

The virtual switch port mirror takes the destination VM port and duplicates it to another port.

It is not designed to take all incoming packets to a virtual switch (the external port) and forward them to a VM on that switch.

To do that you need to set up a mirror rule for each VM Nic. (vnic by vnic) to the one VM on that same virtual switch that would be the recipient.

VMs do not map to physical NICs.  Vms map to virtual Nics.  External virtual switches map to physical nics.


Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.


------------------------------------

observations on Win 10 preview on hp amd notebook

   

          Just installed the windows 10 home preview on a HP Pavilion g6 Notebook PC 64Bit A8-4500 APU with radeon HD Graphics and i have observed that the graphics card does not have a driver for the Win 10 platform yet, more so, the battery is not charging normally and windows mobility center is not responding to screen brightness reduction and vise versa,screen stays at full brightness without dimming. Also, fan speed increased and is constant without stopping until the system shuts down. System seems to run on high performance without switching to the energy saver or power saver mode and i am quite certain it's the cause for the accelerated fan speed.  For now, these are my observations. Thanks.




Install-WindowsFeature

im trying to turn my core server into GUI server using the following command

Install-WindowsFeature  server-gui-mgmt.-infra, server-gui-shell -restart

Because my virtial environment is not online it fails to get the files needed how do I point that command to grab the files needed from the mounted ISO

Thanks


Reply:

You can use the -source parameter to provide the path to the files 

https://technet.microsoft.com/en-us/library/jj205467%28v=wps.630%29.aspx?f=255&MSPPError=-2147217396


------------------------------------

How to install RED5 server ?

Hello everyone,

Would appreciate your help on this. Can anyone point me to a tutorial or a step by step guide ?

I need to install RED5 server on a dedicated windows server. And how to enable my application in the web-apps folder ?

Thank you in advance


Reply:

Hi,

Sorry I'm not familiar with RED5 deployment. Here are some websites which provided steps. Hope these could help a bit.

http://red5guide.com/

http://red5guide.com/install_red5_on_windows.html

Please Note: Since the web sites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.


Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


------------------------------------

How to Sequence Visual Studio 2010 in Microsoft Application Virtualization

This article describes one method that you can use to sequence Microsoft Visual Studio 2010 for use with Microsoft Application Virtualization (App-V). The method that is described in this article is not the only possible method. Additionally, you may have to adapt the information in this article as appropriate for your particular environment.

 

Application Name:  Visual Studio 2010

Application Version:  Service Pack 1

Company Name:  Microsoft Corporation

Sequencer Version:  App-V 4.6 SP1

App-V Client Version Tested On:  App-V 4.6 SP1

Operating System Sequenced On:  Windows XP SP3; Windows Vista SP2; Windows 7 SP1; Windows Server 2003 R2 SP2; Windows Server 2008 SP2; Windows Server 2008 R2 SP1

Pre-requisites:

You must have the following to sequence Visual Studio 2010 for use with Microsoft Application Virtualization:

·         A volume license for Visual Studio 2010

·         Visual Studio 2010 Service Pack 1 or a later version

·         Hotfix 2526163 for Visual Studio 2010 Service Pack 1

·         Microsoft Application Virtualization 4.6 SP1 or a later version

·         Microsoft .NET Framework 4 Full Profile natively installed on the App-V Sequencer and App-V Clients to which the sequencing will be deployed.

·         If you are using Windows 7 or Windows Server 2008 R2, you must use Windows 7 SP1 or Windows Server 2008 R2 SP1 or later on the App-V Sequencer and App-V Clients.

 

Client Operating Systems Successfully Deployed To:  Windows XP SP3; Windows Vista SP2; Windows 7 SP1; Windows Server 2003 R2 SP2; Windows Server 2008 SP2; Windows Server 2008 R2 SP1

Posted by Microsoft Employee:  Jim Boyles

Corresponding KB Article Reference:   

For Visual Studio 2010 Service Pack 1, you have to obtain Hotfix 2526163. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

2526163 FIX: Error message when you try to start a sequenced Visual Studio 2010 application package on an Application Virtualization client: "Invalid license data. Reinstall is required"

Steps to Sequence the Application

Background

Obtain Background Information

·         Review the Microsoft Application Virtualization 4.6 SP1 Sequencing Guide white paper available on TechNet.

·         Install Visual Studio 2010 to become familiar with the functionality of the program.

 

Prepare the Environment

Make sure that you allocate at least 3 gigabytes (GB) of random access memory (RAM) to the computer on which you will sequence Visual Studio.

Sequence Visual Studio 2010

Note:  Please complete all sequencing steps logged in as a local administrator.

1.       Install Microsoft .NET Framework 4 Full Profile on the Sequencer machine.  Using Microsoft Update, install all updates for Windows and .NET Framework.

2.       Make sure that the following update was installed by Microsoft Update on the Sequencer machine.  If not, install it manually.  2468871 Update for the .NET Framework 4

3.       On the Tools menu, click Options.  Click on the Exclusion Items tab.

4.       Add the following exclusions:

 

Exclude Path

Mapping Type

%CSIDL_WINDOWS%\Assembly\NativeImages_v4.0.30319_32

VFS

%CSIDL_WINDOWS%\Assembly\NativeImages_v4.0.30319_64

VFS

%CSIDL_WINDOWS%\Assembly\NativeImages_v2.0.50727_32

VFS

 %CSIDL_WINDOWS%\Assembly\NativeImages_v2.0.50727_64

VFS

\Registry\Machine\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\NGENService\Roots

VRG

\Registry\Machine\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727\NGENService\Roots

VRG

\REGISTRY\MACHINE\Software\Microsoft\Fusion

VRG      

 

 

For Windows XP and Windows Server 2003, also add the following exclusions:

 

Exclude Path

Mapping Type

%CSIDL_WINDOWS%\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices

VFS

%CSIDL_WINDOWS%\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices

VFS

 

 

 

5.       On the File menu, click Save As Template… to save these exclusions as a project template.

6.       On the File menu, click New From Template… to start sequencing using the newly created template.

7.       Complete the initial pages of the New Package Wizard.

8.       Start monitoring the installation.

9.       Install Visual Studio 2010. Use the default options, except for the following:

a.       Be sure to specify the install location as Q:\VS2010.

b.      Install everything except Microsoft SharePoint Developer Tools and SQL Server 2008 Express.

10.   On 64-bit systems (x64), open regedit and create the following keys after Visual Studio 2010 installation completes:

a.       HKLM\SOFTWARE\MICROSOFT\PLAYREADY

b.      HKLM\SOFTWARE\WOW6432NODE\MICROSOFT\PLAYREADY

11.   Install Visual Studio 2010 Service Pack 1

12.   Install Hotfix 2526163 for Install Visual Studio 2010 Service Pack 1

a.       Launch an elevated Visual Studio 2010 Command prompt while monitoring.  Note:  You do not need to run elevated on Windows XP or Windows Server 2003.

b.      Run DDConfigCA.exe from the command prompt.

c.       Exit the command prompt.

13.   After installation completes, run the following from an elevated command prompt:  %WINDIR%\Microsoft.NET\Framework\v4.0.30319\ngen executeQueuedItems

14.   On 64-bit systems (x64), also run the following from an elevated command prompt:  %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\ngen executeQueuedItems

15.   Launch an elevated Visual Studio 2010 Command prompt.  Note:  You do not need to run elevated on Windows XP or Windows Server 2003.  Execute the command:

a.       On 32-bit systems (x86):  gacutil /i “%ProgramFiles%\Microsoft Silverlight\4.0.50826.0\System.Windows.dll”

b.      On 64-bit systems (x64):  gacutil /i “%ProgramFiles(x86)%\Microsoft Silverlight\4.0.50826.0\System.Windows.dll”

16.   If you are sequencing Visual Studio 2010 Ultimate, modify intellitrace.exe.config.  Modify the startup xml node to add an attribute useLegacyV2RuntimeActivationPolicy:  <startup useLegacyV2RuntimeActivationPolicy="true"> in the following 2 locations:

a.       Q:\VS2010\Common7\IDE\PrivateAssemblies\DataCollectors

b.      Q:\VS2010\Team Tools\TraceDebugger Tools

17.   For 64-bit systems (x64), perform the following steps:

a.       Open the registry key HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\App Paths\Iexplore.exe.

b.      Modify the Default value of this key to place quotes around the path. For example, if the current value is C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE, change the value to “C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE”.

c.       Modify the Path value of this key to place quotes around the path. For example, if the current value is C:\Program Files (x86)\Internet Explorer, change the value to “C:\Program Files (x86)\Internet Explorer”.

18.   Stop monitoring the installation.

19.   Continue to the customization page

20.   On the Tools menu, click Diagnostics | Command Window.

a.       Run regedit.

b.      Delete the value HKLM\Software\Microsoft\VisualStudio\10\SetupCommandLine

c.       Exit regedit and the command prompt.

21.   Go to the VFS tab on the Sequencer. Delete all files named webengine4.dll.  If no files are found with the specified name, skip this step.

22.   On the OSD tab, add the following environment variable to all the OSDs:

a.       On 32-bit systems (x86): PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework\v4.0.30319

b.      On 64-bit systems (x64):  PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319;%WINDIR%\Microsoft.NET\Framework\v4.0.30319

23.   Save the package.

 

On the App-V Client

Be sure to complete the following steps on all App-V Clients to which the sequencing will be deployed.

1.       Install Microsoft .NET Framework 4 Full Profile.  Using Microsoft Update, install all updates for Windows and .NET Framework. 

2.       Make sure that the following update was installed by Microsoft Update.  If not, install it manually.  2468871 Update for the .NET Framework 4

3.       Run services.msc and disable the Windows Presentation Foundation Font Cache service.

 

 




Reply:

Hi Jim!

Will this patch also allow Visual Studio 2010 to be sysprep'd reliably for situations when you would create virtual machine templates (for example with Visual Studio's Lab Management features with TFS)?

Thanks!


Ed Blankenship
Microsoft MVP (TFS, Visual Studio ALM, and Team System)
Our TFS 2010 Book

Ed Squared Blog


------------------------------------
Reply:

Hi Jim,

 

Thanks for this work. Unfortunately, i couldn't successfully sequenced VS2010 Ultimate following your steps.

Is it possible for you, to create a package accelerator for Visual Studio ? I'm sure, it can be usefull for everyone who want to deploy Visual Studio.

 

Thanks in advance for your reply,

 

Raphael


------------------------------------
Reply:

Please kindly post the recipe for sequencing visual studio 2010,2012 with Appv 5.0..

thanks... i tried but getting license Error.


------------------------------------
Reply:

Hi Jim,

Please add new line for 64 Bit machine as below:

20.b. Delete the value HKLM\Software\Wow6432Node\Microsoft\VisualStudio\10.0\SetupCommandLine

I need suggestion on below:

I have done middleware sequencing of .net 4.0 as it is pre-req for VS2010. I want to bundle .net 4.0 with VS2010 and then publish. Can you please explain me steps to follow?


Regards, Firoz Ahmad (Cheeeeeerrrrssssss)


  • Edited by FirozM365 Thursday, June 11, 2015 9:35 AM

------------------------------------

Get-EventLog and remote computers

Hello,

I am just wondering does anyone manage to get event logs from remote computer with Get-EventLog?
Here is what I get:

PS Get-EventLog -LogName Application -computer mycomp
Get-EventLog : The network path was not found.
At line:1 char:13
+ Get-EventLog <<<<  -LogName Application -computer mycomp
    + CategoryInfo          : NotSpecified: (:) [Get-EventLog], IOException
    + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.GetEventLogCommand

Here is PS version I am running

Name                           Value
----                           -----
CLRVersion                     2.0.50727.4952
BuildVersion                   6.1.7600.16385
PSVersion                      2.0
WSManStackVersion              2.0
PSCompatibleVersions           {1.0, 2.0}
SerializationVersion           1.1.0.1
PSRemotingProtocolVersion      2.1

Thanks is advance.


Reply:

What happens if you simply try:

PS> ping mycomp

You may want to also try an IP address if you're not able to resolve the short name.


------------------------------------
Reply:

Hi Marco,

Thank you for prompt answer.
I think I know what was problem. When I tried this command I did it first on my computer and everything was ok. Then I tried on colleagues comp, which is Win 7 and it failed. I tried againg on another comp (Win 7 also) and it fails again.
As soon as I tried on XP or 2k3, 2k8 comp it works perfectly.

I have no idea why it does not work on Win 7.

If someone need scrip for checking errors in EventLog on remote computers here it is (it sends report in Excel file).
Of course you can edit for Log type (App, System, Security).

#Format Excel sheet

$objExcel = New-Object -comobject Excel.Application
$objExcel.visible = $True
$objWorkbook = $objExcel.Workbooks.Add()
$objSheet = $objWorkbook.Worksheets.Item(1)
$objSheet.Cells.Item(1,1) = "Server"
$objSheet.Cells.Item(1,2) = "LogName"
$objSheetFormat = $objSheet.UsedRange
$objSheetFormat.Interior.ColorIndex = 19
$objSheetFormat.Font.ColorIndex = 11
$objSheetFormat.Font.Bold = $True

$row = 1

$servers = gc servers.txt

foreach ($server in $servers)
{
$row = $row + 1
$objSheet.Cells.Item($row,1).Font.Bold = $True
$objSheet.Cells.Item($row,1) = $server
$AppLog = Get-EventLog -LogName Application -EntryType Error -computer $server -Newest 10
$row = $row + 1
$objSheet.Cells.Item($row,1).Font.Bold = $True
$objSheet.Cells.Item($row,2) = 'Application'
foreach ($AppEvent in $AppLog)
{
$row = $row + 1
$objSheet.Cells.Item($row,3) = $AppEvent.TimeGenerated
$objSheet.Cells.Item($row,4) = $AppEvent.Source
$objSheet.Cells.Item($row,5) = $AppEvent.Message
}
}

$objSheetFormat = $objSheet.UsedRange
$objSheetFormat.EntireColumn.AutoFit()
$objSheetFormat.RowHeight = 15


------------------------------------
Reply:
The command works fine for me on Windows 7. You might want to look at your firewall settings and see if your query is being blocked. And you did verify that you could ping the Win 7 computer per Marco's request?

------------------------------------
Reply:

Hi Boe,

Yes I did verify ping (these two pc with Win 7 seats beside me) I also tried admin share C$ and everything works fine. Firewall is disabled by GPO so I gues this is not a problem, I checked it is turned off for Domain profile on both computers.

Thans for your help.


------------------------------------
Reply:

Hi,

Great script!

How do I add both System and Security EventLogs to this script also?

 


------------------------------------
Reply:

Hi,

Great script!

How do I add both System and Security EventLogs to this script also?

 


Check this link out:

http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/06468cd6-698e-47d7-ac16-cbc070b43482/#757a0231-9b95-4469-8afb-1c20e8189ac2


------------------------------------
Reply:
Make sure that Remote Registry service is running on the remote computer.

------------------------------------
Reply:

I can confirm starting the Remote Registry Service was disabled on my (last) W7 Computer - after starting the Service get-eventlog -Computer W7Computer it worked

cheers


------------------------------------
Reply:
Enable Remote Registry service on remote server/machine. :)

yash


------------------------------------

Script to change the Skype for Business taskbar icon back to Lync and vice versa

I have created 2 scripts for those wishing to switch back to the Lync 2013 taskbar icon after the Skype for Business update (kb2889923)

 Both are VBscript and require administrative privileges to run.

To change back to the Lync 2013 taskbar icon:

SfBtoLyncTaskbarIcon.vbs

'*********************************************  '*** ***  '*** Created by Andrew Cleland ***  '*** ***  '*** Version 1.0 - 10/06/2015 ***  '*** ***  '*********************************************    Set objFS = CreateObject("Scripting.FileSystemObject")  Set objShell = CreateObject("Wscript.Shell")    strLyncInstallPath = objShell.RegRead("HKLM\SOFTWARE\Microsoft\Office\15.0\Lync\InstallationDirectory")  strOffice2013ShortCutPath = objShell.SpecialFolders("AllUsersStartMenu") & "\Programs\Microsoft Office 2013"    strLyncShortCut = strOffice2013ShortCutPath & "\Lync 2013.lnk"  strSfBShortCut = strOffice2013ShortCutPath & "\Skype for Business 2015.lnk"    if (objFS.FileExists(strSfBShortCut)) then  	objFS.MoveFile strSfBShortCut, strLyncInstallPath  end if    if not (objFS.FileExists(strLyncShortCut)) then  	Set objLyncShortcut = objShell.CreateShortCut(strLyncShortCut)  	objLyncShortcut.TargetPath = strLyncInstallPath & "\lync.exe"  	objLyncShortcut.Description = "Connect with people everywhere through voice and video calls, Lync Meetings, and IM."  	objLyncShortcut.IconLocation = strLyncInstallPath & "\lync.exe, 64"  	objLyncShortcut.WorkingDirectory = strLyncInstallPath  	objLyncShortcut.Save  	Set objLyncShortcut = Nothing  end if    Set objShell = Nothing  Set objFS = Nothing

And to revert back to the Skype for Business taskbar icon:

LyncToSfBTaskbarIcon.vbs

'*********************************************  '*** ***  '*** Created by Andrew Cleland ***  '*** ***  '*** Version 1.0 - 10/06/2015 ***  '*** ***  '*********************************************    Set objFS = CreateObject("Scripting.FileSystemObject")  Set objShell = CreateObject("Wscript.Shell")    strLyncInstallPath = objShell.RegRead("HKLM\SOFTWARE\Microsoft\Office\15.0\Lync\InstallationDirectory")  strOffice2013ShortCutPath = objShell.SpecialFolders("AllUsersStartMenu") & "\Programs\Microsoft Office 2013"    strLyncShortCut = strOffice2013ShortCutPath & "\Lync 2013.lnk"  strSfBShortCut = strLyncInstallPath & "\Skype for Business 2015.lnk"    if (objFS.FileExists(strSfBShortCut)) then  	objFS.CopyFile strSfBShortCut, strOffice2013ShortCutPath & "\"  	if (objFS.FileExists(strLyncShortCut)) then  		objFS.MoveFile strLyncShortCut, strLyncInstallPath  	end if  end if      Set objShell = Nothing  Set objFS = Nothing


  • Changed type Eason Huang Thursday, June 11, 2015 8:15 AM

Reply:

Hi,

Thanks for your sharing.

Best Regards,
Eason Huang


Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

Eason Huang
TechNet Community Support


------------------------------------

Issue with IDP intiated SAML SSO with ADFS 2.0 as relying party

Hi,

we have setup SAML SSO integration between TFIM (as IDP / Claims Provider) and ADFS2.0 (as SP / relying party) by following steps from below links,

1. Installed and Configured WIF application using this link- https://technet.microsoft.com/en-us/library/adfs2-federation-wif-application-step-by-step-guide(v=ws.10).aspx

2. Configured ADFS as Relaying Party and IBM TFIM as Claim Provider by following this link-

https://technet.microsoft.com/en-us/library/gg749921(v=ws.10).aspx

3. Added WIF application as Relaying party in ADFS

With above settings SP initiated SSO seems to be working as expected.

But we also want to test IDP initiated SSO,

As Default ADFS2.0 behavior is to ignore RelayState, we have added Update Roll up 2 and also done changes in web.config as given in https://technet.microsoft.com/en-us/library/jj127245(v=ws.10).aspx link.

Still if we use Target (RelayState) parameter in IDP Initiated Login URL, After SAML Response is posted to SP (ADFS) It displays https://<ADDOMAIN>/adfs/ls/IdpInitiatedSignOn.aspx page and it ignore RelayState.

1. My query is does our scenario support IDP initiated SSO?

2. Is there any other settings we need to do for RelayState to Work in ADFS 2.0 that is to redirect user to WIF application after authenticating to IDP(for IDP Initiated URL)?

  • Moved by Arvind S. Iyer Wednesday, June 10, 2015 3:49 PM Moving thread to appropriate forum
  • Changed type Frank Shen5 Monday, July 13, 2015 2:26 AM Redirected

Reply:

Hi,

Based on the description, for ADFS questions, in order to get better help, we can ask for suggestions in the following forum.

Claims based access platform (CBA), code-named Geneva

https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva

Best regards,

Frank Shen


Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


------------------------------------

Not seeing the "Get Windows 10 icon"?

Backup PST

Hi,

I use this script for do my backup PST, but the script don't copy the offlines .pst.

I need copy all psts for my profile.

function ReleaseComObject($comobject){
    $ret=1
     do{
          $ret=[System.Runtime.Interopservices.Marshal]::ReleaseComObject($comobject)
     }while($ret -ne 0)
}

$Outlook = New-Object -ComObject Outlook.Application
$stores = $Outlook.Session.Stores
$paths=$stores | Where-Object { $_.FilePath -like '*.pst' } | %{$_.FilePath}
ReleaseComObject $stores
$outlook.Quit()
ReleaseComObject $outlook
while(get-process outlook -ea silentlycontinue){sleep 5}
# now copy file(s).
$target='H:'
$paths|%{Copy-Item $_ $target}


Reply:

Archive files are not loaded except when they are being archived to.

I haveno idea what "offlines" is referring to.


\_(ツ)_/


------------------------------------
Reply:

Sorry,

The script don't find all files .pst on my pc.


------------------------------------
Reply:

That is correct.  It only backs up PSTs in the current Outlook Profile.


\_(ツ)_/


------------------------------------
Reply:

I understand, but I need to change the script to save all the .pst files

All files with .pst extension


------------------------------------
Reply:

You will have to find all of them first.  If they are not in Outlook then you will have to figure out where you put them.


\_(ツ)_/


------------------------------------

Long time to connect to printers on a print server

Windows Server 2008 R2 acting as a terminal server, taking a long time to connect to printers on a RDS only for MS Office APP like Word, Excel, etc...

PDF, Notepad, etc working fine.

List all distribution groups and their members

Generally, you can simply get the Distribution Groups or it members by using the following Exchange Cmdlet.

  • If we need to get all existing distribution groups, run the Get-DistributionGroup cmdlet.


  • If we want to find all distribution group members, use the Get-DistributionGroupMember cmdlet.



However, some administrator inquires if we can list all the distribution groups and their members in a single result. Based on our tests, we can use the following scripts to list all existing distribution groups and their members.

foreach ($group in Get-DistributionGroup) { get-distributiongroupmember $group | select Name,@{n='DistributionGroupName';e={$group.Name}} }



If there are too many distribution groups and members, you can export the result to a csv file using the scripts below.

$groupmembers = foreach ($group in Get-DistributionGroup) { get-distributiongroupmember $group | select Name,@{n='DistributionGroupName';e={$group.Name}} }
$groupmembers | Export-Csv C:\DGgroupmembers.csv –NoTypeInformation


Then you can find the result in the DGgroupmembers.csv file.


Reference:

Exchange 2007 - enumerate distribution lists members

https://social.technet.microsoft.com/Forums/en-US/1ae1cb17-4fc1-4ac3-824f-dc9c19963f32/exchange-2007-enumerate-distribution-lists-members?forum=exchangesvradminlegacy

Note:

Based on my tests, the above scripts apply to Exchange Server 2007, Exchange Server 2010 and Exchange Server 2013.


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.


Reply:
Ok This works well however the code do not displays DLs with no members (empty DLs) .Please suggest.

Aditya Mediratta


------------------------------------
Reply:
You should also account for nested groups.

------------------------------------

Change directory ACL

I am having a weird problem when I try to change the ACL on a directory. I am trying to add a new principal and give it FullControl. Here is the snippet that shows what I am doing:

# Add <domain>\Administrator with FullControl  $domAdmin = "VSPEX\Administrator"  $acl = Get-Item $dir1 | Get-Acl  $rule – New-Object System.Security.AccessControl.FileSystemAccessRule –ArgumentList @($domAdmin,"FullControl","Allow")  $acl.SetAccessRule($rule)  $acl | Set-Acl  

After execution of the above code, I look at the properties of the directory and I see that the principal was added, but it shows only 'Special permissions'.

Yet when I look at the Advanced information, it shows FullControl:

I want sub-directories under this directory to inherit permissions from this directory.  When I create a subdirectory, it is defined as having inheritance enabled, but it does not show the added principal.

Any ideas on what I am doing wrong?

Thanks for the expertise.


. : | : . : | : . tim


Reply:

------------------------------------
Reply:
Here is an article for working with Security Descriptors

If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.

Don't Retire Technet


------------------------------------
Reply:

The issue is due to the Inheritance flags and Propagation flags, if you do the following, it will work as you want it

$folder = "F:\Testing\Test"  $user = "domain\username"    $userPrincipal = New-Object System.Security.Principal.NTAccount($user)  $rights = [System.Security.AccessControl.FileSystemRights]"FullControl"  $inheritFlag = @([System.Security.AccessControl.InheritanceFlags]::ContainerInherit,[System.Security.AccessControl.InheritanceFlags]::ObjectInherit)  $propagationFlag = [System.Security.AccessControl.PropagationFlags]::None  $objType = [System.Security.AccessControl.AccessControlType]::Allow    $acl = Get-Acl $folder  $ace = New-Object System.Security.AccessControl.FileSystemAccessRule($userPrincipal, $rights, $inheritFlag, $propagationFlag, $objType)  $acl.SetAccessRule($ace)    $acl | Set-Acl


If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.

Don't Retire Technet


------------------------------------
Reply:

Inheritance was the key!  Thank you, very much.

I'd mark your reply as the answer, but for some reason I don't have that option.


. : | : . : | : . tim


------------------------------------
Reply:
Because this is a discussion instead of a question, I believe you can change it over to a question.

If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.

Don't Retire Technet


------------------------------------

Microsoft wi-fi direct virtual adapter is disabled.

I need assistance to my problem, regarding on my microsoft wi-fi direct virtual adapter is disabled.My laptop is Lenovo G40 model, Windows 8.How to fix this problem.Thank you.

Reply:
Are you trying to enable it? If so, navigate to your device manager, expand network adapters and right-click on it and select enable. If it is not listed, it may be hidden. To show hidden devices, click View and select show hidden devices

------------------------------------

Value does not fall within the expected range.

Hello.

I am having a problema when I try to create a new context. I configured all Azman directory, store, App, role, task, all features.

public AzManClientContext InitializeContext(string domain, string username) { return new AzManClientContext(

_app.InitializeClientContextFromName(

username, domain, null

)

); }

The errors that was thrown are these:

Thanks in advance.


  • Edited by shirivo Tuesday, June 9, 2015 10:02 PM
  • Changed type Vivian_Wang Wednesday, June 10, 2015 9:41 AM

Reply:

Hi Shirivo,

You might have better luck in the MSDN developer forums with this particular error. Most of the folks in the TechNet space won't have a great deal of development experience.

That said, a quick search seems to indicate this isn't an altogether uncommon issue with some rather varying solutions. This Stackoverflow post (more specifically the post marked as the answer) does seem to have good thinking behind it insofar as it's using a token instead of a name. Pairing a InitializeClientContextFromToken call with ensuring the IIS application is configured for NTLM authentication (which would avoid the chance you end up with the application pool account's token instead of the users) would actually make things easier (and faster, as the application no longer requires a directory search to take place in the background.)

PS: I meant to add that AzMan is deprecated as of Server 2012 as shown here meaning there is a risk that what you're developing won't have long term viability. The list for the next version of Windows Server is in its infancy so I'm unsure whether its status will change from deprecated to removed.

Anyhow, as I started with, it might pay to throw this over to the MSDN crowd. Good luck!

Cheers,
Lain

  • Edited by Lain Robertson Wednesday, June 10, 2015 2:15 AM Added the AzMan deprecation reference.

------------------------------------
Reply:

Thank you, Lain.

BTW, I got the answer. So, it is:

I discovered what was my issue. So, my Azman and Active Directory are in a 'X' domain. But the user in my dev enviroment is in a 'Z' domain. Theorically, both domains can see to another one.

I tested my App in 'X' domain using an user in 'X' domain and it worked.

I guess that is something about configuration or those worlds didnt want to comunicate between them.


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...