Sunday, January 30, 2022

Report Viewer: Data Cant See from the Dataset

Report Viewer: Data Cant See from the Dataset

Hi 

I am using Report viewer (vb.net 2008)..When i try to create report through report wizard i didn't get the data from the data set..i can see the database object name when i choose particular data-set i didn't see any data..plz help me how to get the data..

Windows 10 lock screen change issue

Hi everyone !

When I try to change the Lock Screen I get the message "some settings are managed by your organization." Anybody have a suggestion? Thanks.

I tried Gpresult /v >GPresult.txt; in cmd and also uploaded the Gpresult file to onedrive as suggested. Below is the link to it

https://onedrive.live.com/redir?resid=FCB81D62F0C3F674!372&authkey=!AMoOhOkjDn47rwQ&ithint=file%2ctxt


Reply:

Try the following:

Open the Registry Editor

Go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Personalization and select it in the left column.

In the right column, check for an entry for NoLockScreen

If it's there, double-click the entry and change 1 to 0, then click OK.

Close the Registry Editor and reboot the system.

You can also have a look in the Local Group Policy Editor (assuming you are not domain-joined).

User Configuration - Administrative Templates - Control Panel - Personalization

-

Hessam
Windows Outreach Team- IT Pro
Windows for IT Pros on TechNet



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

Please Wait for the Remote Desktop Configuration

RDS 2012 R2 with UPD, 1 broker, 1 gateway and 2 session hosts. All users are experiencing at least 5 min login times, both when using remoteapp and an admin logins in to a session host using RDC. Here is what I am seeing in Microsoft-Windows-TerminalServices-SessionBroker-Client/Operational:

Remote Desktop Connection Broker Client failed to redirect the user SH01\admin name.

Error: No mapping between account names and security IDs was done.

Quick google search seems to suggest this has to do with a computer object in AD. This worked for about a week. In hopes of fixing, I did all windows updates and rebooted both session hosts. Same result. The only GPO is the specify default URL GPO and I have disable it for now.

SharePoint 2010 - Navigation for multiple Site collections

Hello SharePoint World,

Is there any blog or article which clearly explain navigation for multiple site collections or navigation for more than one site collections under single umbrella only in SHAREPOINT 2010.  I have spend a lot of time but no luck. Iam v disappointed and all blogs/articles relate to SharePoint2007. Please share if anyone have a solution only for SharePoint 2010. Many thanks.......


Reply:

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

Hi Marreena,

Thanks for your post.

SharePoint 2010 Common Navigation Across Site Collections
http://officepoint.blogspot.com/2010/11/sharepoint-2010-common-navigation.html

SharePoint - A Global Navigation Solution across Site Collections
http://www.bitsofsharepoint.com/BlogPoint/Lists/Posts/Post.aspx?ID=60

 

Hope it helps.


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

Thanks and Sorry for late reply,

I had been out from my city, just came back and tried your all links, unfortunetly it do not work and represent the SharePoint 2007. Iam sad not to achieve this for long, if you can  help me on this i shall be very thankful to you, thanks.


------------------------------------
Reply:
Give a try on http://www.archetonomy.com/

Igorlpacheco


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

HI

Let me know which will be the suitable approach(or  any other ) for Global navigation menu implementation with user permissions on difference site collections.

I want to display global navigation on multiple site collection as per the  user permissions on site collection.

1. By storing navigation item into root site  and fach all item from list while accessing from different site collection.

OR

2. Use sharepoint default search result item to fetch data from all site collection and display menu as per the site collection user permissions.

One more which thing is better  1 getting itemd from list or getting items from searched results ??

Thanks


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

factorysettings

I have a problem I cant figure out. I would like to reset my unit back to factory settings so my kids can use this as a tablet. I have old information that has ben moved and I don't need anything on here how do I go about restoring to factory settings ??

Reply:

Hi

This is not a tablet forum.

Please direct your question to a more suitable forum.


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

PowerShell Workflow: Restarting a suspended workflow started from a scheduled task.

So I have a series of PowerShell workflows that do controlled patching using SCCM.

If I start the patching workflow using a scheduled task when it suspends at a checkpoint I'm looking at being able to resume it again but the job is not viewable to resume.

Having read http://blogs.msdn.com/b/powershell/archive/2013/12/23/automatically-resuming-windows-powershell-workflow-jobs-at-logon.aspx and trying to meet requirements there.

Below is an example of sequential patching workflow where server 1 is patched, then suspended and an email is sent to say resume the workflow to patch the second server (it's just an example of suspending and resuming workflow).

I've made the scheduled job interactive and run with highest privileges, opening the console as admin and same username as the task is run.

PS C:\Windows\system32> get-job

Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
11     PatchSequent... PSScheduledJob  Completed     True            localhost            Import-module iiSCOMTo...


PS C:\Windows\system32> get-job | receive-job
8/09/2015 11:14:39 AM isp-dev-patch1: Did not snapshot as requested
8/09/2015 11:14:39 AM isp-dev-patch1: Starting maint mode
8/09/2015 11:15:06 AM isp-dev-patch1 Putting into Maint mode has succeeded
8/09/2015 11:15:06 AM isp-dev-patch1: Starting Patching
8/09/2015 11:15:07 AM isp-dev-patch1: Scanning and installing patches
8/09/2015 11:17:09 AM isp-dev-patch1: Monitoring patching
8/09/2015 11:18:11 AM isp-dev-patch1: Finished patching
8/09/2015 11:18:41 AM isp-dev-patch1: Patching is complete.

Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
1      Job1            PSWorkflowJob   Suspended     True            localhost            Invoke-iiPatchSequenti...


PS C:\Windows\system32> ipmo PSWorkflow
PS C:\Windows\system32> get-job

Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
11     PatchSequent... PSScheduledJob  Completed     False           localhost            Import-module iiSCOMTo...


PS C:\Windows\system32>

I cannot actually find the suspended workflow from a console, same username, same server, elevated or not elevated.

Starting the same task from console, works fine as I guess it satisfies all the requirements to find the suspended workflow.

So question is how do people reliably find and resume a suspended workflow that is started from a scheduled task? The future would be to build an SMA and WAP environment.


Reply:

Looks like I worked this out.


Create the scheduled task with run with highest privileges and create a loop back workflow session on the server and run the command as a job, Scheduled task 'action':

PowerShell.exe -WindowStyle Normal -NoLogo -NoProfile -Command "$ws = New-PSWorkflowSession -EnableNetworkAccess; Invoke-Command -Session $ws {PowerShellWorkFlowCommand -asjob}"


I need -EnableNetAccess as the workflow is patching remote computers.

Once the scheduled task is run, on the same server with the same creds and an elevated PowerShell console session (IE as administrator):

$ws = New-PSWorkflowSession -EnableNetworkAccess

Invoke-Command -Session $ws { get-job }

Invoke-Command -Session $ws { get-job | Resume-Job}

Etc.



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

Product key said ivalid after 5 years of using

Wont activate

Reply:

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

Enhanced Career Mode FIFA 16

Improved 1: Adding the tournament before the tournament

To be closer to the reality of football, EA this year, he joined mode "tournament" before the season. Players can use a cheap fifa coins series of warm-up matches in the new season that comes to perform. Players can choose to make this test match in Asia, Europe, Latin America and South America.

Like the real world of football, players can develop tactics and alignment procedures for the new season with these games, players or new tests and so on. Through these competitions you can win some "fresh look" at, and that this "appearance fees" can be used to increase the budget of the transmission season.

Improvement 2: Train players

Before the game, players can be trained to very few players. Each week, players can store up to five players selected for training to improve the promotion of certain players in certain skills through special training methods. Player training some of the young players the opportunity to achieve significant growth, creating more value for the Club. Maybe you make your next club "Ajax" or "La Masia" with your workouts.

Enhancement 3: History of the season

Match Review is a closer contact with the players. The narrator of players passed around a key plot, including team performance, discos, armed transfer rumors readers

More details players must dig his own on urfifa.com.

Updates installing when MaintenanceWindow is deleted

Hi,

We are currently in a patching cycle for our server and are currently in the Test Phase. All the steps for the deployment are as per the previous cycles.  However this time round the servers started to update as per normal when the Maintenance Window and Stopped when the window closed.  As the window is not re-occurring and thus not needed, I decided to delete the Window, soon after this servers that were not fully compliant started installing and servers restarting.  I have re-applied the back-dated Maintenance Window and this has put a stop to updates and restarts occurring. 

From reviewing the collections that have Maintenance Windows set, non apply for the servers in question.

Can anyone please explain why this would occur? and possible fixes

Some Logs from ServiceWindowManager.log

With a Maintenance Window.....

OnIsServiceWindowAvailable called with: Runtime:300, Type:4 ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
No Service Windows exist for this type. Will check if the program can run in the All Programs window... ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
        Biggest Active Service Window for Type=1 not found ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
WillProgramRun called with: Runtime:300, Type:4 ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
No Service Windows of this type exist. ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
There does not exist an All Programs window for this duration or the all programs window is not used as fallback. The Program will not run. ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)
ServiceWindowManager 09/09/2015 08:13:54 2272 (0x08E0)

After Deleting Maintenance Window.....

CServiceWindowManager::OnPolicyChange- Policy __InstanceDeletionEvent notification received ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
Service Window Policy Deletion notification received. ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
CCM::ServiceWindowManager::CServiceWindowHandler::OnPolicyDeleted - A policy change has occurred. Policy has been deleted. ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
The service window being deleted is not active. Just Deleting... ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
    Sending Message SERVICEWINDOWEVENT:DELETE event ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
    Inactive Service Windows List has 8 windows ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 7cb56688-692f-4fae-b398-0e3ff4413adb having Starttime=01/01/2038 00:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 0 days, 00 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 90a5f436-364c-48c7-8dc7-c5014abcbea8 having Starttime=13/09/2015 00:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 1 days, 05 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 45dca355-3249-4845-b8aa-72d0e604548e having Starttime=09/09/2015 22:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 0 days, 07 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 87e4759c-2884-45e6-9261-c33ba53f596c having Starttime=10/09/2015 22:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 0 days, 07 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 36da6950-3d1e-4027-be0e-7b16a4daee7e having Starttime=11/09/2015 22:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 0 days, 02 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 028bfbc0-7120-4081-a268-0e664a92ac4a having Starttime=12/09/2015 00:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 1 days, 00 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = ad27b0ca-8c74-43c7-8200-1f601880bd75 having Starttime=14/09/2015 22:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 0 days, 07 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
        Service Window with ID = 49fd80be-ac4b-4877-974d-ecd09958926d having Starttime=15/09/2015 22:00:00 ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
            Duration is 0 days, 07 hours, 00 mins, 00 secs ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
    Active Service Windows List has 0 windows ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
    Active schedule is accurate, no need to reschedule ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
ServiceWindowManager 09/09/2015 08:16:08 692 (0x02B4)
OnIsServiceWindowAvailable called with: Runtime:900, Type:2 ServiceWindowManager 09/09/2015 08:16:08 5980 (0x175C)
No Restricting Service Windows exist. It can therefore run... ServiceWindowManager 09/09/2015 08:16:08 5980 (0x175C)

Logs Suggesting Updates will install

OnIsServiceWindowAvailable called with: Runtime:900, Type:2 ServiceWindowManager 09/09/2015 08:16:08 5980 (0x175C)
No Restricting Service Windows exist. It can therefore run... ServiceWindowManager 09/09/2015 08:16:08 5980 (0x175C)
OnIsServiceWindowAvailable called with: Runtime:1, Type:4 ServiceWindowManager 09/09/2015 08:16:08 7152 (0x1BF0)
No Restricting Service Windows exist. It can therefore run... ServiceWindowManager 09/09/2015 08:16:08 7152 (0x1BF0)
OnIsServiceWindowAvailable called with: Runtime:1800, Type:4 ServiceWindowManager 09/09/2015 08:16:08 7152 (0x1BF0)
No Restricting Service Windows exist. It can therefore run... ServiceWindowManager 09/09/2015 08:16:08 7152 (0x1BF0)
OnIsServiceWindowAvailable called with: Runtime:900, Type:6 ServiceWindowManager 09/09/2015 08:16:12 5980 (0x175C)
        Biggest Active Service Window for Type=6 not found ServiceWindowManager 09/09/2015 08:16:12 5980 (0x175C)
Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 09/09/2015 08:16:12 5980 (0x175C)
OnIsServiceWindowAvailable called with: Runtime:1, Type:4 ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
No Restricting Service Windows exist. It can therefore run... ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
OnIsServiceWindowAvailable called with: Runtime:1, Type:6 ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
        Biggest Active Service Window for Type=6 not found ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
WillProgramRun called with: Runtime:1, Type:6 ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
A Service Window of this type exists. ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0)
There exists a Service Window of this Type, for this duration. The Program will run eventually. ServiceWindowManager 09/09/2015 08:16:15 1696 (0x06A0

Thank you in Advance


Reply:
What does the monitoring node tell for that deployment and device?

Torsten Meringer | http://www.mssccmfaq.de


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

However this time round the servers started to update as per normal when the Maintenance Window and Stopped when the window closed.  As the window is not re-occurring and thus not needed, I decided to delete the Window, soon after this servers that were not fully compliant started installing and servers restarting.  I have re-applied the back-dated Maintenance Window and this has put a stop to updates and restarts occurring. 

From reviewing the collections that have Maintenance Windows set, non apply for the servers in question.

Can anyone please explain why this would occur? and possible fixes

How many MW do you have for these server? Did you delete the only MW for these server?

If so, this is normal, NO MW mean install everything at the deadline.


Garth Jones | My blogs: Enhansoft and Old Blog site | Twitter: @GarthMJ



------------------------------------
Reply:
Said another way, having no maintenance windows configured means there are no restriction and is effectively equivalent to having a maintenance window in effect all of the time 24x7x365.

Jason | http://blog.configmgrftw.com | @jasonsandys


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

Thank you for the clarification.  I have set up a future (20 years) maintenance window on All Clients so they have at least one window. This will give me the ability to delete expired windows as and when.

Thanks again.


------------------------------------
Reply:
I would not put the MW that far ahead, 2020 is a good year or even better, Feb 14 2006!

Garth Jones | My blogs: Enhansoft and Old Blog site | Twitter: @GarthMJ


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

Once a device has a maintenance window applied whether it be in the future or in the past, ConfigMgr considers the device to have a maintenance window and will not process any deployments for that machine unless the deployment is set to ignore maintenance windows.

When maintenance windows are deleted, ConfigMgr considers the device not to have a maintenance window and any deployment that has reached its deadline will be executed on the device (for deployments that are still pending)

Setting a maintenance window for all clients way in the future means no deployments will run on any client unless you do one of the following:

  • Create a new maintenance window specifically for each deployment
  • Set the deployments to ignore maintenance windows
  • Delete the maintenance window applied to all clients

If you created the future maintenance window specifically to prevent deployments when other maintenance windows are deleted then I would suggest creating the window in the past rather than the future, the effect is still the same, but the risk of a future maintenance window is that one day it will become available and execute deployments.

I've written a small best practice guide on configuring maintenance windows, I'd recommend using dedicated collections to manage maintenance windows making them easier to manage:

blog.krissmilne.tech - Best Practice Tips! ConfigMgr Maintenance Windows


Cheers

Kriss Milne | MCSE | http://blog.krissmilne.tech | Twitter | LinkedIn

Note: Posts are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


  • Edited by Kriss Milne Sunday, September 13, 2015 2:26 PM

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

Windows Server 2008 SP2 Shutdown to BMC event

Hi all

I'm currently having problems with a HP ProLiant ML110 G4 server which is having some BMC events (Ambent temperature reaching threshold).  The server was running Windows Server 2003 R2 last week and it never had a single problem with those events, but recently i formatted the server and installed Windows Server 2008 (not R2) and that's when all the problems started.

Basically when the BMC event occur Windows shuts down and then the server power-off.

What i would like to achieve (if posible) is make Windows Server 2008 "ignore" those events so it wont shutdown when that happens, just like old Windows Server 2003 R2 did.

I tried these already
-disabling the Microsoft Generic IPMI compliant device in the device manager
-disabling the QueueReporting task in task manager
-stopping and disabling the Windows Remote Management (WinRM) service

i have spent hours reading and searching for a solution to stop the service or brak the communication between the driver and the hardware but no luck.

Any idea?

Thanks


Reply:

Windows would not be doing that. It should be the ProLiant management agents or possibly at the system hardware level itself. I'd probably ask HP about this.

 

 

 

 

 

 


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


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

G4 need not be supported/certified, see http://www.windowsservercatalog.com

I do recommend upgrade of hw and sw.

If you have any question, use question type, not discussion.

HTH

Milos


  • Edited by Milos Puchta Saturday, September 12, 2015 3:34 AM

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

Dual boot 2x Win10 Preview Issue

Problem is preview copy won't update past regular. 

Installed 2x clean copies of Win10Pro (retail Win8Pro upgraded to Win10 not OEM) same computer.  One regular, one preview  (2 hard drives).   At startup, dual boot screen displayed -- Windows 10 (volume 1) and Windows 10 (volume 3).  Both use same Win10Pro key and same user account.  I had been in Win10 insider preview with activated account before activation was switched off by Microsoft.  This computer had been used for preview evaluation as well as main system with Win8.1Pro.  Regular updates fine.  Preview has settings / advanced / insider set to FAST.


Reply:
You must have a separate, individual license for each copy of Windows you install on the same computer.

Carey Frisch


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

Can you Filter Get-Command to a single .ps1 file

Hello,

I would like to get all the functions in a single .ps1 file and was wondering if that is possible.

For example if I do the following, get-command -type function it will return ALL functions but I only want to return the ones is a specified .ps1 file

So something like get-command C:\WindowsPowerShell\my.ps1 -type function

I am pretty new to PowerShell so any help would be greatly appreciated.

Thanks,

  • Changed type Bill_Stewart Monday, November 23, 2015 10:30 PM

Reply:

No. It only works on modules.


\_(ツ)_/


------------------------------------
Reply:
I figured as much, thanks for confirming.

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

Windows Backup Error

Hi, I am getting the following error when I start the Windows backup MMC:

A fatal error occurred during a Windows Server backup snap-in (wbadmin.msc) operation.

Error Details:

The server threw an exception.

Any suggestions appreciated.  I've tried uninstalling/reinstalling with no luck. Thank, Rick


Reply:

Hello.

Can you collect the inbox traces under %windir%\Logs\WindowsServerBackup\*.etl and send them across to sriramb-nospam@microsoft.com (remove the -nospam phrase to get the correct ID)?

Thanks,

Sriram [MSFT]


------------------------------------
Reply:
Has there been any resolution to this?  I have been experiencing the same fatal error on a clean install of Windows 8.1 on a new laptop when using Wbadmin.exe from a command line (Wbadmin start backup -backupTarget:z: -include:C: -quiet -allCritical).  Curiously I can create and restore system images on the same system using the "System Image Backup" function under File History.  Any assistance/suggestions would be greatly appreciated.

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

Rick S,

Have you tried wbadmin via command line ?

have you tried managing Windows Backup from any other computer?

- Anantesh


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

Anentesh,

I have tried it via command line on a windows 8.1 (64-bit) with same failure.  I am also using wbadmin from the command line on a Windows 7 (64-bit) laptop and a Windows 8.1 (32-bit) desktop with no problems at all.

-Mike


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

What about trying ti manage it remotely?

Does the backup work then ?

- Anantesh


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

I"m having the same issue, any solution / suggestion?

I tried these couple times, it worked then it stop again

http://support.microsoft.com/kb/2930294​

Thanks

Sam


------------------------------------
Reply:
I experienced similar issue on Windows Server 2012 R2 Essentials after my first manual backup.  Found the fix in another thread that also noted the wbengine.exe throws exception code: 0xc0000005 to Application log when the Snapin fails to start with error message "The server threw an exception".   Easy fix was to delete the backup catalog, and you can find more details on how I fixed in that thread and my reply. 

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

windows 10 taskbar not working

ok so i upgraded from windows 7 to windows 10. after about 3 days the taskbar stopped working. I searched for a soloution and found that running this sorted it

dism /online /cleanup-image /restorehealth
sfc /scannow
powershell
Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

After running this it was ok but then after about 12 hours it stopped working again.

This is super annoying please help.

boznian1977@hotmail.co.uk


Reply:

You may go for a System Restore. Select any restore point when everything was running fine.

Otherwise create another User Account and recheck the issue.


S.Sengupta, Windows Experience MVP


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

AGPM history showing SID

I have AGPM 4.0 SP2 installed on a WinSrv 2008 R2 with the client on a win7 machine.

I am having an issue where users in history are showing their SID instead of the username. I have created new user accounts to displace the theory that there is an old or non-existent sid associated to the account. 

I have tried checking in/out will an account with full permissions as well. No luck. 

I have also tried modifying the service account from local to a domain admin. But that does not change either.

Has anyone else experienced this issue.?

thanks


Reply:

I am seeing the same issue with the same setup.  4.0 SP2 installed on Server 2008 R2.  The only difference is that I've also seen it on Windows 10 with a 4.0 SP3 client in addition to Windows 7 with the SP2 client.

Did you ever find a solution to this?


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

"Unidentified network" with Server 2012 R2 - Domain & NIC teaming

Hello,

I have some trouble with network profile on my Windows Server 2012 R2 system. 

The server has four NICs, three of them are joined in a team. The fourth NIC is used as "management port". The server is joined to a domain and runs Hyper-V role. The Team-NIC is used as network interface for Hyper-V only! It isn't shared with the host system for common use. 

If I reboot the server, the management NIC will change to the network profile "public" with "Unidentified network" shown in the network center. To re-recognize the domain profile I have to turn off and on the IPv4 or IPv6 module in the settings of this port or restart the service "NLA (Network Location Awareness)". Then it recognize the domain. If I reboot the server, I have to do the same thing again.

Is this some kind of bug with teaming or something else? The network adapter is not included in the team, so I'm not sure if there is any connection between them for this problem. I already tried to set the start of the service NLA to "delayed start" (I read this in another topic) but this didn't help either!

I hope somebody can help me. Thank you very much!

Greets,

Burak

  • Changed type Michael_LS Monday, January 6, 2014 7:10 AM

Reply:

Does your managemet work after restart? If you do not restart NLA, what happen after some time (next day)?

IMHO the functionality is primary and "automatic recognition" is secondary and work with some delay. Are all servers including host server members of domain od at least are all servers registered in domain DNS?

Regards

Milos


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

Hello,

it still stays on "unidentified network" after I wait for some hours or one day, nothing changes here. The server is member server of the domain and it is registered in the domain DNS. Everything looks fine here.

I am talking about this problem in the german section to get more information about this. If this help someone, here is the link: "Nicht identifizertes Netzwerk"

I tried something more and I recognized, if I use static link aggregation mode or switch independent mode, it just works. Only if I use "LACP" it does not work! Like I said in the first post, the NIC is not a part of a team. Anyway it has trouble if other NICs are part of a team with using LACP as team mode.

Any ideas about this?

Regards,

Burak


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

Same issue with Windows 2012R2 and Hyper-V.  No NIC teaming.  If I restart the "NLA (Network Location Awareness)" only, the domain profile comes up ok.  A delayed start on this service does not help.  If I remove the manual IPv4 config and use DHCP, all is fine.

This would suggest an underlying issue beneath NIC teaming.

Is there a Microsoft moderator that could chime in on this?

Thanks,

Skip


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

Hello,

I found a solution, finally!

The problem is not Port Trunking, it is Spanning-Tree.

I have three network cards. One for management and the other two in an teaming as Hyper-V port.

I configured on my switch that it should use fastmode (or Edge Port) on the ports where the network cards are connected. The ports will switch directly to the Forwarding state if some device is attached to it.

Be careful! If you use fastmode on a port which is connected to another switch, it can create loops!

Read more one: http://vstepic.blogspot.de/2013/07/unidentified-network-on-teamed-interface.html

I did not only set fastmode on the swtich for my teaming NICs, also for the non-teaming management NIC.


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

I noticed this behaviour on a HP Procurve 2810. The interface in question was NOT teamed. Instead it was a dedicated management NIC for the Hyper-V host that worked parallel to the teamed guest NICs. Spanning tree was disabled on the whole switch (should not make a difference for an un-teamed NIC I guess). It did look like DHCP requests would take ages, could not find out why. On a different Procurve I have had no problems with teaming + dhcp + NLA so far.

Edit: Not the switch / STP caused the delay. Instead I was overzealous with the Windows Firewall rules + not every server had applied the new group policies yet. Note: leave the DHCP IN rule open in all profiles (Public, Domain, Private) as the default state is 'public' and you need to be able to receive the DHCP response as well!

------------------------------------
Reply:
I had a similar problem, I resolved it by setting up a DHCP reservation for the NIC Teams IP and MAC Address then put the team into DHCP mode knowing that they will always get the same IP Address.

------------------------------------
Reply:
This was driving me crazy.  Turning spanning-tree to fastmode on my dell switch fixed it.  Thanks.

------------------------------------
Reply:
Yes, fastmode (or Edge Port) also fixed our issue but our network admin had to run the command to change the setting against not only the team but against each individual port in the team also

------------------------------------
Reply:
I had the same problem and turning on Fast Link in my Dell switch also solved the issue.  Thank you very much for posting this.

IT Director, Tyler Beverages, Inc.


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

Unable to repair virtual disk or remove retired disk

I had a drive go out last night and I have been unable to repair the virtual disk on a windows 2012 standard server

Here is the output from the storage pool

ObjectId : {4c6fc85e-ff27-11e2-9400-0023aea46cae}  PassThroughClass :  PassThroughIds :  PassThroughNamespace :  PassThroughServer :  UniqueId : {4c6fc85e-ff27-11e2-9400-0023aea46cae}  AllocatedSize : 6829266436096  ClearOnDeallocate : False  EnclosureAwareDefault : False  FriendlyName : secondstoragepool  HealthStatus : Warning  IsClustered : False  IsPowerProtected : False  IsPrimordial : False  IsReadOnly : False  LogicalSectorSize : 512  Name :  OperationalStatus : Degraded  OtherOperationalStatusDescription :  OtherUsageDescription :  PhysicalSectorSize : 4096  ProvisioningTypeDefault : Fixed  ReadOnlyReason : None  ResiliencySettingNameDefault : Mirror  RetireMissingPhysicalDisks : Always  Size : 14998831104000  SupportedProvisioningTypes : {Thin, Fixed}  SupportsDeduplication : False  ThinProvisioningAlertThresholds : {70}  Usage : Other  PSComputerName :

Here is the output from the physical disks

FriendlyName CanPool OperationalStatus HealthStatus Usage Size  ------------ ------- ----------------- ------------ ----- ----  PhysicalDisk5 False OK Healthy Auto-Select 1.36 TB  PhysicalDisk0 False OK Healthy Auto-Select 2.73 TB  PhysicalDisk2 False OK Healthy Auto-Select 1.36 TB  PhysicalDisk1 False OK Healthy Auto-Select 74.51 GB  PhysicalDisk6 False OK Healthy Auto-Select 2.73 TB   False Lost Communication Warning Retired 2.73 TB  PhysicalDisk8 False OK Healthy Auto-Select 2.73 TB  PhysicalDisk9 False OK Healthy Auto-Select 2.73 TB  PhysicalDisk3 False OK Healthy Auto-Select 1.36 TB  PhysicalDisk4 False OK Healthy Auto-Select 1.36 TB

Here is the output from the Virtual disks

ObjectId : {4c6fc87a-ff27-11e2-9400-0023aea46cae}  PassThroughClass :  PassThroughIds :  PassThroughNamespace :  PassThroughServer :  UniqueId : 7AC86F4C27FFE21194000023AEA46CAE  Access : Read/Write  AllocatedSize : 5120137887744  DetachedReason : Majority Disks Unhealthy  FootprintOnPool : 6826850516992  FriendlyName : SecondShare  HealthStatus : Unknown  Interleave : 262144  IsDeduplicationEnabled : False  IsEnclosureAware : False  IsManualAttach : True  IsSnapshot : False  LogicalSectorSize : 512  Name :  NameFormat :  NumberOfAvailableCopies : 0  NumberOfColumns : 4  NumberOfDataCopies : 1  OperationalStatus : Detached  OtherOperationalStatusDescription :  OtherUsageDescription :  ParityLayout : Rotated Parity  PhysicalDiskRedundancy : 1  PhysicalSectorSize : 4096  ProvisioningType : Thin  RequestNoSinglePointOfFailure : True  ResiliencySettingName : Parity  Size : 11985374674944  UniqueIdFormat : Vendor Specific  UniqueIdFormatDescription :  Usage : Other  PSComputerName :

Some more info

FriendlyName OperationalStatus ResiliencySettingName NumberOfColumns Size  ------------ ----------------- --------------------- --------------- ----  SecondShare Detached Parity 4 11985374674944        FriendlyName Size AllocatedSize Usage OperationalStatus  ------------ ---- ------------- ----- -----------------  PhysicalDisk0 2999766220800 1594506608640 Auto-Select OK  PhysicalDisk8 2999766220800 1707249500160 Auto-Select OK  PhysicalDisk9 2999766220800 1707249500160 Auto-Select OK  PhysicalDisk6 2999766220800 1707249500160 Auto-Select OK   2999766220800 113011326976 Retired Lost Communication

PhysicalDisk0 was intended to be the replacement for the retired drive. 

Repair-Virtualdisk completes instantly.

When I try and run

Remove-PhysicalDisk -PhysicalDisks $removehdd -StoragePoolFriendlyName secondstoragepool

I get the following output

PS C:\Windows\system32> Remove-PhysicalDisk -PhysicalDisks $removehdd -StoragePoolFriendlyName secondstoragepool    Confirm  Are you sure you want to perform this action?  Removing a Physical Disk will cause problems with the fault tolerence capabilities of StoragePool "secondstoragepool".  [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y  Remove-PhysicalDisk : One of the physical disks specified could not be removed because it is still in use.  At line:1 char:1  + Remove-PhysicalDisk -PhysicalDisks $removehdd -StoragePoolFriendlyName secondsto ...  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   + CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Remove-PhysicalDisk], CimE   xception   + FullyQualifiedErrorId : StorageWMI 51004,Remove-PhysicalDisk

Any ideas?



  • Edited by trevst Friday, September 11, 2015 4:28 PM

Guide me: Powershell

Hi Guys,

Just to let you know I've never used powershell before and I'm trying to learn it.

I've been tasked with creating a script that:

1) imports data from a CSV file and gives it headers
2) pulls all rows of data in which Column B contains *java*
3) Creates a WMI Enum Class Called "LBE_JavaVer"
4) Creates properties in the Class which have the same names as the CSV Headers (which I defined in powershell)
5) Inserts selected data's values into the correct WMI Class property.

The first issue I'm having (before I even attempt the WMI stuff) is importing the CSV data.

The script will be run on 4000+ machines and I need to pull the file from Appdata\Local. The $env:LOCALAPPDATA variable isn't working for me. What should I use here?



  • Edited by _JC Friday, September 11, 2015 2:33 PM
  • Changed type Bill_Stewart Monday, October 19, 2015 4:25 PM
  • Moved by Bill_Stewart Monday, October 19, 2015 4:25 PM This is not "scripts on demand"

Reply:

Hi,

You have your path enclosed in single quotes, which won't allow the variable to expand.

I highly recommend spending some time going over the very basics before you continue on:

https://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx



------------------------------------
Reply:
thanks

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

Okay.

Here's what I have so far:

$JavaArray = @()  $URLArray = @()  $PlugVerArray = @()  $FileVerArray = @()  $AllowedArray = @()  $BlocklistArray = @()  $EPMArray = @()    Import-Csv 'C:\Users\JChristodoulou\AppData\Local\Microsoft\Internet Explorer\AuditMode\VersionAuditLog.CSV' -Header URL,Plugin,PlugVer,FileVer,Allowed,Blocklist,EPM |`   ForEach-Object {   $JavaArray += $_.Plugin  		$URLArray += $_.URL  		$PlugVerArray += $_.PlugVer  		$FileVerArray += $_.FileVer  		$AllowedArray += $_.Allowed  		$EPMArray += $_.Allowed   }    $JavaString = "C:\Program Files (x86)\Java\jre1.8.0_51\bin\jp2iexp.dll"    if ($JavaArray -contains $JavaString)   {   $Where = [array]::IndexOf($JavaArray, $JavaString)   Write-Host "Ver: " $PlugVerArray $JavaArray[$Where]   }    ; Write-Host "Press any key to continue ..."  $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")

The output of course writes every single item in the PlugVer column. How can I make the script select/display only the values in the same column as the Java ones?


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

What is the purpose of the script?

For example, "I want to determine the version of java installed on a group of computers."


-- Bill Stewart [Bill_Stewart]


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

I want the script to pull the rows out of the CSV where column B contains *Java* and then insert the data into WMI. As in my first post:

1) imports data from a CSV file and gives it headers
2) pulls all rows of data in which Column B contains *java*
3) Creates a WMI Enum Class Called "LBE_JavaVer"
4) Creates properties in the Class which have the same names as the CSV Headers (which I defined in powershell)
5) Inserts selected data's values into the correct WMI Class property.

Thanks.


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

That tells what you want to do, but not why.

What is the purpose?


-- Bill Stewart [Bill_Stewart]


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

Here is a basic starter:

Import-Csv .\input.csv -Header URL,Plugin,PlugVer,FileVer,Allowed,Blocklist,EPM |   Where { $_.Plugin -like '*java*' }      Example input.csv contents:  a1,something java something,a3,a4,a5,a6,a7  b1,something java something,b3,b4,b5,b6,b7  c1,something else something,c3,c4,c5,c6,c7  d1,something java something,d3,d4,d5,d6,d7



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

How to use this forum

Hello forum users,

This forum was created to enable you to ask/answer/discuss topics specifically related to pre-release builds that are available to Windows Insiders. After a specific build is made available to the general public (Released to Manufacturing, or RTM), please use the other Windows 10 IT Pro forums and reserve this forum specifically for pre-release builds.

Thanks so much! Enjoy!

-Tony


IT Pro Audience Manager for Web Forums

i am looking for a way to automate the below proccess, can someone help me with a bact or script

Open up the registry using regedit. 

Word 2013 on premise recent files are under HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\File MRU

Recent files are located as Items in the File MRU key while recent places are locate as Items in the Place MRU key.  (Pinned items were marked as such as part of the key with the string "[F00000001]" instead of "[F00000000]".

exported the relevant keys from HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\File MRU:

Import the registry items to the O365 location:

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\User MRU\OrgId_7C1003B06BB8E5C66E405E15389AD205F98BDC72318690F76D4FC2D36038D8D7\File MRU


  • Edited by MAHER0 Thursday, September 10, 2015 5:25 PM
  • Changed type Bill_Stewart Friday, September 11, 2015 2:40 PM
  • Moved by Bill_Stewart Friday, September 11, 2015 2:41 PM User answered own question, did not contribute answer, no value to forum

Reply:
You forgot to post your script and ask your question.


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

thanks

it was a peace of cake done


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

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...