Quantcast
Channel: TechNet Blogs
Viewing all 17778 articles
Browse latest View live

Innovation in the Data Platform Continuum

$
0
0

The North Star that guides our work on the modern data platform is to deliver products and integrated services that empower developers to build high performance applications that are flexible and scale free. We talk about the data platform as a continuum of capabilities, spanning on-premises databases, hybrid or cloud-attached solutions, and Azure assets that each provide a unique set of capabilities. READ MORE


Subscriptions in Windows Azure Pack (WAP) shows “Out of Sync"

$
0
0

 Subscriptions in Windows Azure Pack (WAP) shows “Out of Sync"

 

Environment:

WAP and SPF installed on same server
SCVMM: system center virtual machine manager 2012 R2 UR1

Issue:

Unable to Work with WAP getting error “Out of Sync" as show below

Troubleshooting:

Log Name:     
Source:        Microsoft-ServiceProviderFoundation
Date:          2/21/2014 2:43:26 PM
Event ID:      10
Task Category: (65524)
Level:         Error
Keywords:      None
User:          N/A
Computer:      wap.local
Description:
Component: Provider 

Failed to create subscription. Reason: Message : An error occurred while processing this request., InnerMessage: <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code /><m:message xml:lang="en-US">An error occurred while processing this request.</m:message><m:innererror><m:message>Invoking method Update of type Microsoft.SystemCenter.Foundation.Psws.Spf.SpfOperationManager failed. Cause of the problem: UserRole update failed on some VMM servers: wilvmmv1;</m:message><m:type>Microsoft.Management.Odata.CustomModuleInvocationFailedException</m:type><m:stacktrace>   at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeMethod(IInvoker invoker, String functionName, String resourceTypeName, Boolean ignoreNotImplementedException)&#xD;
   at Microsoft.Management.Odata.Core.OperationManagerAdapter.CUDRequest(CommandType commandType, ResourceType resourceType, Dictionary`2 properties, Dictionary`2 urlParams)&#xD;
   at Microsoft.Management.Odata.Core.EntityUpdate.InvokeCommand()&#xD;
   at Microsoft.Management.Odata.Core.DataServiceUpdateProvider.SaveChanges()&#xD;
   at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)&#xD;
   at System.Data.Services.DataService`1.HandleRequest()</m:stacktrace><m:internalexception><m:message>UserRole update failed on some VMM servers:  
   at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)&#xD;
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)</m:stacktrace></m:internalexception></m:innererror></m:error>

  • When we tried to check the tenant is created in VMM server we found that the tenant is created
  • When we checked the jobs in SCVMM we found the below job with error

Error (20413)
VMM encountered a critical exception and created an exception report at C:\ProgramData\VMMLogs\SCVMM.b7cc18df-1adf-435e-9e7a-0e808e02de19\report.txt.
 
Recommended Action
See the report for more details and search user forums for well-known failure root causes for self-help.

  • When we looked in to above report file found below information

“EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=3.2.7620.0
P3(assemblyName)=Utils.dll
P4(assemblyVer)=3.2.7620.0
P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery
P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException
P7(callstackHash)=4c11

SCVMM Version=3.2.7620.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=3.2.7620.0
Executable Name=vmmservice.exe
Executable Version=3.2.7510.0
Base Exception Target Site=140706051082968
Base Exception Assembly name=System.Data.dll
Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
Exception Message=Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again.
EIP=0x00007ff8c0beab78
Build bit-size=64

----------------------------------------------------
------------ exceptionObject.ToString() ------------
----------------------------------------------------
Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.”

 Solution:

 Based on the above findings it looks like we have not applied the SQL script in which comes with SCVMM 2012 UR1 http://support.microsoft.com/kb/2904712

After applying the script we are able to add the subscriptions successfully and it synced without any errors.

 

Developers: How to build apps that connect with People and Calendar

$
0
0

On the Windows App Builder Blog, developers can take a walk-through of how an app can work with a person’s calendar. In Windows 8.1, new app-to-app contracts were introduced that let users easily interact with people in their address books and integrate events into their calendars.

Another recent post covered how to create contact cards that work specifically with people. In the two posts, Zainab Hakim, senior program manager, Windows Developer Platform shares the thinking behind creating the new People and Calendar contracts and demonstrates the user experience with screenshots from real Windows apps.

To learn more, head over to the Windows App Builder Blog.

You might also be interested in:

· Developers: Find out how app-to-app contracts let your users interact with others in their address books
· Microsoft Exchange Conference March 31-April 2 will cover Office Graph, Office 365, encryption and more
· Let the Madness begin: 12 apps and games for surviving the NCAA basketball tournament

Suzanne Choney
Microsoft News Center Staff

Window shoppers get the Midas touch through Kinect for Windows and Gold Jay Z

$
0
0

I’m not saying they’re gold diggers, but more than 143,000 window shoppers in Manhattan showed they really dug Gold Jay Z – or at least the Macy’s store display for Beyonce’s husband’s cologne. It took Kinect for Windows to pause New York’s go-go-go attitude as it transformed passersby into golden, shimmering silhouettes.

The 7-foot, 4K (4,000 pixel) display, the creation of advertising agency kbs+ and interactive design firm Future Colossal, used the Kinect for Windows sensor to detect onlookers. Then it captured a 3D image of the shopper, which emerged from a pool of gold. This golden avatar also followed the window shopper’s movements. Participants were then able to share a photo of his or her golden doppelganger.  

Check out the video above to see it in action and head over to the Kinect for Windows Blog to read more about the display.

You might also be interested in:

Athima Chansanchai
Microsoft News Center Staff

Windows Intune webcast series

$
0
0

imageJoin the Windows Intune team for a webcast series that covers product, sales, and technical information about the unified PC and mobile device management solution for businesses. Windows Intune lets you manage PCs and mobile devices from the cloud, enabling people to use the devices they choose to access applications and data while following corporate policies.

Registration for these events is on the Partner Learning Center. To register for these events, you must be a Microsoft partner. If you are not associated to your company’s Microsoft Partner Network profile , follow the steps here. If you have issues with registration, email plcteam@asentus.net.

Schedule

Partner resources

Microsoft ad exec: Why ‘native advertising’ and in-app ads are the future

$
0
0

With the Advertising Week Europe gathering three weeks away, Owen Sagness, general manager of Microsoft Advertising & Online, UK, says the topics of “native advertising” and in-app ads represent the future for advertising.

Native advertising is material of interest to a reader that usually appears alongside or near regular content, but with labeling that points out the ad’s sponsor. Sagness writes that apps provide “the most natural platform for native advertising,” as it’s been “proven that consumers are more immersed in their experience when using apps,” and more likely to be receptive to brand engagement.

Microsoft’s Ads-in-Apps, which run on Windows 8 on desktop and tablet, is an interesting initiative helping to explore this potential, he writes.

To read Sagness’ entire post, head over to the Microsoft Advertising blog.

You might also be interested in:

Suzanne Choney
Microsoft News Center Staff

LexisNexis uses exclusive apps, Q-and-As and breaking news to draw employees to Yammer

$
0
0

When I first started out in journalism, LexisNexis was a must-have research tool and it still is. When LexisNexis adopted enterprise social media through Yammer, the company made it the go-to, in-house communication tool by putting exclusive content on it.

LexisNexis posted exclusive apps and Q-and-As, as well as breaking news within the company. Employees had to use Yammer to follow these important updates and discussions.

Watch the video to find out more about what the company did and head over to The Yammer Blog to read more about this customer spotlight.

You might also be interested in:

Athima Chansanchai
Microsoft News Center Staff

Sunday Suprise Wiki Ninja Uğur Demir TV'ye Konuk Oldu

$
0
0

Merhaba Technet Wiki ailesi,

Yazımın başlığından anlaşılacağı üzere Technet TAT Wiki Ninja olarak Karadeniz TV Gündem Özel programına konuk oldum. Programda "Türkiye'de Bilişim Sektörü Ne Durumda?" konu başlığında ve içeriğiyle konuştuk. Videoyu izlediğinizde bizler Technet TAT olarak neden varız, neden Türkçe kaynak oluşturuyoruz, neden gönüllü çalışıyoruz bu gibi soruların cevaplarını bulacaksınız.

(Please visit the site to view this video)

Hepinize iyi pazarlar. Sevgilerle

Turkish Ninja Uğur


Fessing up. The "30 minute application" took a couple of weeks...

$
0
0

Yep, in the end, the "30 minute application" took me a couple of weeks to get into the application store.

This was partly because I wasn't paying attention, partly because i didn't allocate time, but to be honest, partly because the simple app generator tool mentioned in the previous post allowed me to create an application that failed the assessment.

(Your application goes through assessment when you try to publish it to the store).

The first two problems are mine to fix up.

The third problem i wanted to touch on quickly since i posted how "easy" it was to get an application in the store, and how "anyone" could do it. And i managed to mess it up.

For the most part, i still maintain its pretty simple using the tool - but here are some extra caveats:

1. The tool will allow you to make mistakes. Not many, but its possible. (My mistake was choosing a background that actually made some of the content unreadable if a person had their phone set up a certain way).

2. You still need to know how to take some screenshots of the application to include with your store submission. (I failed to do this, and i failed to write it in the previous post).

The good news is, for every mistake you make, the submission people send you a "how to" on fixing the problem. It comes in a very easy to read .pdf that explains it all.

The down side is that you might have a couple of days wait while the review happens.

Anyway - the final result of the "30 minute app" is here:

http://www.windowsphone.com/s?appid=1d4c4ece-97fc-4d2b-98d1-93deb5fe46c7

Its not much to look at, but it was great to be able to follow the create -> submit -> publish process with an easy example.

Looking forward to adding some real functionality to the app at some point, but i can see how it would be very useful for small business to get up and running quickly.

What is Application Launch Prefetching?

$
0
0

In a nutshell, it is about speeding up the launch of Windows client applications by optimizing the startup IO.

Digging in:

When an application is launched the required code and data pages are unlikely to be read from contiguous locations on the storage device. More often than not part of the file is read, then other parts in the same file, parts of other required files and maybe other parts of the original binary.
 
In terms of application performance and startup time this is undesirable because the jumping between distant locations on storage slows application startup time considerably. The cost of retrieving random IO compared to sequential IO can be significant.

How significant?

Well, take a look at notepad:

There are parts of 30 binaries in the notepad address space. 30 files we needed to find on the disk!

Consider the (worst case) scenario where none, or very few of the binaries already reside in memory and none of them sit contiguously on disk. Lets say the disk has 10ms of seek latency...

30 x 10ms = 300ms of seek latency just to find the pages required to start the application because we are jumping all over the disk looking for the pieces required by the process.

Of course, the example is oversimplified - there may be pages already resident in memory which can soft faulted into the process address space; not all the process binaries in the diagram are needed for launch, and there are other optimizations at play. (Also, even with prefetch, the IO is not necessarily contiguous in terms of physical location, however, the IO is issued sequentially).

But the example gives you an idea of the problem application prefetch is intended to solve. Also keep in mind that notepad is a simple application... take a look at outlook.exe or internet explorer to see a real list of binaries in a process address space. 

(Note: Solid State Disks [SSD's] come up a lot when discussing this feature. Issuing sequential IO is still very beneficial to SSD even without the rotational latency mentioned above. This is especially true on a busy device where we want to get all the startup IO into the queue together)
 
Anyway - To improve application launch experience the Applaunch Prefetch component was implemented way back in Windows XP as a component of the Sysmain Windows service (%systemroot%\System32\Sysmain.dll).
 
Applaunch prefetch attempts to improve startup time by optimizing the startup IO of windows applications. Prefetch optimizes for more sequential IO by reading the initial application IO in large efficient batches.
 
Prefetch achieves this optimization by monitoring the code and data required for an application to launch. The prefetcher monitors up to the first 10 seconds of application startup with heuristics to stop sooner if the launch is completed sooner (when the application stops faulting pages).
 
The prefetch trace data is then written to a per-application file in %systemroot%\Prefetch.
 
The trace file names in the prefetch directory are comprised of the application name with a hexadecimal representation of the file path (hash) and a .pf extension.

For example: c:\windows\Prefetch\WINWORD.EXE-2437DA78.pf.

Trace files (.pf) describe the pages that were historically accessed by the application during launch.

You can use Mark Russinovich' s strings application to inspect a prefetch file if you are interested.

This is the notepad.exe example from above:

  

When an application is launched the prefetcher looks in the prefetch directory to determine whether a .pf file is present for the application.

If the .pf file exists, the kernel component of the prefetcher issues asynchronous IOs to prefetch metadata, data, and image pages described in the trace file (.pf file).

In an effort to further optimize performance, every 72 hours during system idle time the Sysmain service provides information that can be used by the system defragmenter. The information is provided to enable defrag to physically order files and directories in the order they are referenced during application launch. This order is stored in the %systemroot%\Prefetch\Layout.ini file.

The Sysmain service does not run defragmentation, it only provides data for systems that have defragmentation enabled (SSD's have defrag off).

And that's the bulk of it.

The impact is pretty big. In some recent tests we saw between 10% and 80% improvement in application launch times across multiple devices, multiple applications, with multiple configurations doing all sorts of different things. 

Interestingly, the biggest improvements are when devices are under a heavy IO load. The smallest gains are on SSD devices with no load at all. Issuing the IO in large contiguous chunks is very beneficial for application launch because the application is not constantly waiting in line behind other IO every time it needs to jump to a different binary. 

You could think of it as: One person waiting in line to buy movie tickets for the whole family rather than each person doing it individually. (Especially if they turn up a few milliseconds seconds apart and having a random stranger jump into the line between you).

In the good scenario, you turn up at the counter with your five ticket requests and they are all completed at once. You head on in to the cinema, happy days.

In the bad scenario, you line up and get your ticket. Then you have to wait on your wife, who is behind some dude deciding between pop corn and a chock top. Then, you both have to wait on your son who is behind three other folk in the line... etc. Its going to take a while before you get in to the cinema because you all have to go together.

Well, its roughly the same deal for your application launch IO. We cant start till we fetch all the pages we need for launch.

Have a great weekend.  

DRAM refresh & PASR

$
0
0

You can think of DRAM like a big array of buckets for storing electrical charge. Every bucket represents a single binary digit. If the bucket is full, we have a 1, if its less than a certain capacity we have a 0.

Unfortunately, the buckets can leak pretty quickly and retaining the content is what this post is all about. The buckets we should probably call capacitors. The array is an integrated circuit. This post is concerned with how we retain the "data" despite the energy constantly dissipating from the cell.  

It goes something like this:

During the active operation of a Windows device the contents of system memory (our buckets) are maintained through a process called “automatic refresh”. It also gets a zap when the DRAM is ‘touched’ through via a “normal” read or write.

(It is interesting to note that read operations from DRAM are destructive; during a read the charge is removed from the cell, and the sense amplifiers on the chip rewrite the cell in much the same way a write operation would occur ).

The amount of time between automatic refreshes is specific to the DRAM type but it is usually expressed in milliseconds. (As an example, automatic refresh is required at least every 64ms in the DDR2 specification ). 

The automatic refresh operation is responsible for a large portion of the total system power cost during active (screen on) device use.

During screen off, or standby, a different approach is taken although memory refresh can still be a significant part of the total standby power consumption.

Self-refresh, sometimes referred to as IDD6 is a DRAM power mode where the memory controller clock is deactivated to reduce the power consumption of the system.

During self-refresh the DRAM automatically executes a refresh operation using the internal DRAM refresh counter rather than relying on the memory controller clock to signal an automatic refresh.

In the context of a Windows system ‘standby’ is during sleep (S3) or Connected Standby. Both low power modes require the contents of system memory to be maintained. This is in contrast to ‘Hibernate’ (S4) mode where the contents of memory are saved to the hard disk and the DRAM turned off with the rest of the system. S4 has a considerable impact on the time taken to wake the device compared to sleep but an improvement in standby capacity because the DRAM refresh is disabled once the memory content is saved to disk.

In addition to the self-refresh mode there are a series of power management features defined in the DRAM specifications and implemented by some DRAM manufacturers to further reduce the power consumption of a device during standby.

Some of the advanced power features for memory are enabled and configured during DRAM or system manufacture, others may be exposed via system firmware and controlled and optimized by the operating system in partnership with the device manufacturer.

Partial Array Self Refresh(PASR) is one such feature. PASR allows portions of a memory array to be put into a no refresh state while the device is operating in standby.

Typically the entire memory array is put into self-refresh during standby because there is the hardware has no knowledge of memory content, no way to determine which pages are important to the system. The assumption must be that the entire DRAM array contains important data.

Using PASR the Operating System should intelligently place data during active use so that only a portion of the DRAM requires self-refresh during standby (because the OS has grouped memory pages in an efficient way).

In the example below memory pages are placed in bank 1 and bank 0 only, allowing self-refresh to be disabled on the other banks during standby.

In the LP-DDR3 JEDEC specification PASR uses two registers to control which memory banks, and which segments should be refreshed during standby.

- Mode Register 16 (MR16), the bank mask
- Mode Register 17 (MR17), the segment mask

DRAM modules that support PASR are divided into Banks and Segments.

A DRAM module typically contains 8 banks and each bank is broken into 8 segments.

The PASR registers MR16, and MR17 contain 8 bits each. The 8 bits in each register line up with the 8 banks, and 8 segments of those banks. In this way, the register provides a mask of the banks requiring self-refresh and which do not. The registers can be manipulated by the memory controller to control which banks should be refreshed at a given time.

It is important to note that there is not an individual register for each bank. This would mean that the granularity offered by this bitmask is not individual segments on individual banks, but rather – the same segments on every bank if the segment mask (MR17) is in use.

Another interesting point is that in the specification, the PASR mode registers are documented as write only. There is no interface to determine the current value of the registers; only to write the value. So the system would need to maintain knowledge of the banks currently being self refreshed.

It sounds really interesting. I should mention, I don't actually know of a system that is actively using PASR yet. That's not to say they don't exist, i just haven't found one. I will add a reference to this post if/when i do.  

Before i sign off, there is another self-refresh feature called Temperature Controlled Self Refresh (TCSR) worth a quick introduction:

TCSR is based on the idea is that the electrical charge in DRAM dissipates at a lower rate when a device is cool. So, as the device cools down during sleep we wont need to charge the DRAM cells as frequently. So, in the (LP-DDR) specifications for DRAM there is a feature (TCSR) which is able to detect when the device has cooled down to actively reduce the self-refresh frequency. This give us longer battery life. Neat.

The real point of this post - references for DRAM refresh: 

JEDEC DDR3 Specification
http://www.jedec.org/standards-documents/docs/jesd-79-3d

JEDEC DDR2 Specification
http://www.jedec.org/standards-documents/docs/jesd-79-2e

JEDEC LP-DDR3 Specification
http://www.jedec.org/sites/default/files/docs/JESD209-3.pdf 

JEDEC LP-DDR2 Specification
http://www.jedec.org/sites/default/files/docs/JESD209-2B.pdf

Temperature Controlled Self Refresh: Micron
http://www.elpida.com/pdfs/E0599E20.pdf

PASR Reference: Micron
http://www.elpida.com/pdfs/E0597E10.pdf

Deep Power Down Whitepaper: Micron
http://www.elpida.com/pdfs/E0598E21.pdf

Elpida Memory FAQ:
http://www.elpida.com/en/products/faq.html#tech-dr

Micron: Low-Power versus Standard DDR SDRAM
http://download.micron.com/pdf/technotes/DDR/tn4615.pdf 

LP-DDR2 - the new mainstream for embedded and mobile applications?
http://www.denali.com/wordpress/index.php/dmr/2010/05/20/lpddr2-the-new-mainstream-memory-for-emb 

Texas Instruments: Keystone Architecture for DDR3 Memory Controller
http://www.ti.com/lit/ug/sprugv8c/sprugv8c.pdf 

Wiki: Mobile DDR
http://en.wikipedia.org/wiki/Mobile_DDR 

ELPIDA: Low power function of Mobile RAM
http://www.elpida.com/pdfs/E0597E10.pdf 

Research Paper: Trends in Low Power RAM circuit technologies
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=371965 

Data Sheets for LP-RAM from Micron
http://www.micron.com/products/dram/mobile-lpdram#fullPart&306=0

Weekend Scripter: PowerShell, Network Adapters, and Domain Name System

$
0
0

Summary: Learn how to use the networking Windows PowerShell DSC resource.

Microsoft Scripting Guy, Ed Wilson, is here. I have said on numerous occasions, “I love Windows PowerShell.” Today is no exception. Today I want to use the Wave 2 version of the xNetworking Module in the Windows PowerShell Desired State Configuration Resource Kit (it released in Wave 1, and it was updated in Wave 2). For example, I could use this module to set the DNS server address for all of my machines if I had a primary DNS server crash and I need to make the secondary server the primary, or if I wanted to add some new stuff to the network.

Note  Today is the seventh day in a series of blog posts about Desired State Configuration.

First I have to do something else

When I started looking at setting the IP address for my DNS server, I found that it wants to identify which network adapter will be bound to which the DNS server information. Of course, this makes sense. So I perform a quick audit of my network adapters by using the CIM cmdlets:

$cimsession = Get-CimSession -ComputerName dc1, s1, s2, c1

Get-NetAdapter -CimSession $cimsession -Physical |

Select name, pscomputername, status

When I run it, I find that all but one of my network adapters is named Ethernet. This is shown in the following image:

Image of command output

So I modify the script a bit, and rename the network adapter, as shown here:

$cimsession = Get-CimSession -ComputerName dc1, s1, s2, c1

(Get-NetAdapter -CimSession $cimsession -Physical).where{$_.name -ne 'Ethernet'} |

Rename-NetAdapter -NewName 'Ethernet' -PassThru

Everything’s cool, let’s change the DNS

So now I want to use the networking resource to change the DNS server information on all four of the computers. I decide to use parameters instead of using a configuration data file. Using parameters makes the configuration script much easier to use, and it also makes it more flexible. Parameters for a configuration look just like parameters for an advanced function, as shown here:

Configuration SetDnsIPAdddress

{

 Param (

        [string[]]$NodeName = 'localhost',

        [Parameter(Mandatory)]

        [string]$DnsIPAddress,

        [String]$InterfaceName = 'Ethernet',

        [ValidateSet('IPv4','IPv6')]

        [string]$AddressFamily = 'IPv4')

Once again, I need to ensure that the networking resource module is available to provide access to the family. I import the resource, then I can call it in the usual manner. The really neat thing is that when I call the configuration, I can modify the way it runs at run time. Here is the command:

SetDnsIPAdddress -NodeName s1, s2, c1 -DnsIPAddress '192.168.3.3' -OutputPath c:\dnsip

Start-DscConfiguration -Path c:\dnsip -Wait -Verbose

Following is the complete configuration script:

Configuration SetDnsIPAdddress

{

 Param (

        [string[]]$NodeName = 'localhost',

        [Parameter(Mandatory)]

        [string]$DnsIPAddress,

        [String]$InterfaceName = 'Ethernet',

        [ValidateSet('IPv4','IPv6')]

        [string]$AddressFamily = 'IPv4') 

        Import-DscResource -Module xNetworking 

    Node $NodeName

    {

        xDnsServerAddress DnsServerAddress

        {

            Address        = $DnsIPAddress

            InterfaceAlias = $InterfaceName

            AddressFamily  = $AddressFamily

        }

    }

    }

SetDnsIPAdddress -NodeName s1, s2, c1 -DnsIPAddress '192.168.10.1' -OutputPath c:\dnsip

Start-DscConfiguration -Path c:\dnsip -Wait -Verbose

I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at scripter@microsoft.com, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.

Ed Wilson, Microsoft Scripting Guy 

Legetøjskoncern øger produktiviteten med Windows 8.1

$
0
0

Den danske legetøjskoncern TOP-TOY, der indkøber og distribuerer legetøj til butikskæderne BR og TOYS”R”US, har udskiftet Windows XP med Windows 8.1. Højere produktivitet, bedre performance på pc’er og et standardbaseret moderne system er blandt de vigtigste begrundelser for TOP-TOYs opgradering. TOP-TOY har nu fået en fremtidssikret platform, hvor alle medarbejdere kan arbejde mere simpelt og produktivt på den nyeste teknologi. 

Læs mere her.

Son 1 Ayda En Fazla Makale Paylaşanlar TOP 5

$
0
0

Merhabalar ;

Bu hafta da yine birbirinden değerli Wiki üyelerinin istatistiklerine  göz atacağız. Son bir ay içerisinde en fazla makale yayınlayanlar arasında ayrıca TAT ekibinden Davut EREN hocamızın olması ayrıca mutluluk verici bir durum,kendisini tebrik ediyorum.Aşağıdaki şablonda ise aslında hepimizin aynı amaca hizmet ettiğini ,insanların doğru temiz bilgilerden yararlanması için çalıştığımızı betimlemek istedim. Dillerimiz farklı olsada amacımızım aynı .Bu sebep ile herkesi birleştirmek istedim.Listeye giren bütün arkadaşlarımızı tebrik ediyorum ve başarılarının devamını diliyorum

Ayrıca TOP 5 Profillere Göz atmak isterseniz ;

  1.  Yelenah_
  2. Benoit Jester -MTFC
  3. Susan Boher MSFT
  4. Alan Nascimento Carlos
  5. Davut Eren

ConfigMgr 2012, App-V 5.0, and Locally Installed Applications

$
0
0

Update: Very important change relative to App-V 5.0 SP2

As of App-V 5.0 SP2, most virtual applications that would normally be used as Internet Explorer plug-ins now integrate seamlessly with Internet Explorer.  All that needs to be done is to sequence (or re-sequence) the application with the 5.0 SP2 sequencer and this integration is seamless!  This change pretty much makes the rest of the article obsolete as it relates to IE plug-ins.  If you needed to integrate Adobe Flash or another Office plug-in with an Microsoft Office product, the RunVirtual key mentioned in this article is required and the methodology indicated would be relevant.

BLUF (bottom line up front): Don't forget your Dummy as it is the key to ease of management when your virtual applications are updated often.

System Center Configuration Manager 2012 SP1 introduced the integration of App-V 5.0.  With the introduction of App-V 5.0 came a deeper integration with the physical Operating System and its applications.

Please reference Aaron Parker's article on how to integrate virtual applications with locally installed applications; the portions of the article that are important for us are the Configure RunVirtual section and especially the However comment.

Terminology

In this article Virtual Environments and Connection Groups will be mentioned.  These terms relate to the same thing: Virtual Environment is the ConfigMgr term while Connection Group is the App-V 5.0 client term.

The Dummy!

This application is quite simple and really can be anything.  How I accomplished it was to start the sequencer and initiate a New Package->Add-on or Plug-in->custom installation (doing this prevents the requirement to select an actual installation).  I then opened Windows Explorer (Windows Key + e), created a new folder within C:\Users\Public\Documents called V_Office_Dummy, and within that folder a text file with the same name.  At this point, we are done making any changes to the Dummy application.  Finish the wizard and save the application.  Yes.  That is it.  I don't call it a Dummy for nothin'!

Virtual Environment

Add the Dummy virtual application and distribute\deploy it to the same clients that are getting the Office Plugins. Create a new Virtual Environment (VE) and add all the Office Plugin virtual applications to include the Dummy application.

Note: When you create VEs, you are prompted for a name on creation and then again when you select Add the first time.  It may not be obvious, but when adding multiple applications to the second Add, these applications are combined with OR logic.  By adding multiple applications via the first Add, this changes the logic to AND.  Keep in mind that each client will evaluate whether the VE is required by this logic. If all applications are added by AND logic, they all need to be installed for the Connection Group to be created on the client.  This evaluation is done on each Application Evaluation Cycle, so if one of the AND applications is removed, so will the VE.  This may affect how your plug-ins function, so be careful.

RunVirtual

In order to integrate virtual applications into a locally installed applications, a couple pieces of information are required: PackageID and VersionID of a package in the relevant VE.  The easiest way to get this information is by running a simple PowerShell command: Get-AppVClientPackage. If you forget the command, it is listed in the App-V client console under VIRTUAL APPS in the bottom left hand corner.  Running Get-AppVClientPackage will list all virtual applications and their attributes to include PackageID and VersionID.  If you get an error, make sure to Set-ExecutionPolicy Unrestricted.  The application that has the information we need is the Dummy application.

So why did we create this Dummy application?  To integrate App-V 5.0 applications into locally installed applications, a physical registry key is required on the client (under HKLM:\Software\Microsoft\AppV\Client\RunVirtual).  The name of this key is the name of the locally installed application (word.exe in this case).  The Default value of this key should be PackageID_VersionID of any package within the Virtual Environment.  We create the Dummy application as this application should never have to change.  One of the reasons we are virtualizing applications is so the maintenance of these applications will be less.  If we need to always write an update to the local registry of each client when we install new versions of these plug-ins, this does not minimize the number of applications going to the client; it increases it to one for the application and one for the registry edit.  Using the Package\Version ID information for the Dummy application, this registry entry doesn't ever have to change.

Repeat as Required

Other uses of this methodology include the Adobe Flash Plugin for Adobe Reader, Adobe Acrobat, and all browsers other than Internet Explorer.

Looking forward to hearing feedback on how else you all are using this...


Tip of the Day: Startup Items…again

$
0
0

Today’s Tip…

Earlier we had a tip that talked about the new location of the startup items. I got a number of emails internally that asked about the ‘Startup Impact’ field and how that works.

SNAGHTML5b58635

Those values have to do with how much time is added to the startup sequence by that item.

  • High impact – Apps that use more than 1 second of CPU time or more than 3 MB of disk I/O at startup
  • Medium impact – Apps that use 300 ms - 1000 ms of CPU time or 300 KB - 3 MB of disk I/O
  • Low impact – Apps that use less than 300 ms of CPU time and less than 300 KB of disk I/O

The ones that are marked as ‘not measured’ are new start up items from things I’ve installed since the last reboot. Windows won’t classify them until my next reboot.

Des outils pour aider les utilisateurs de Windows 8.1

$
0
0

Microsoft vient de publier le Windows 8.1 User Readiness Toolkit. Il est disponible qu'en anglais mais il renferme des ressources pertinentes pour les utilisateurs de Windows 8.1. On y retrouve des vidéos, présentations, guides, …

Livre électronique gratuit sur Office 365

$
0
0

Si vous pensez migrer à Office 365, un livre électronique gratuit est disponible en différent formats.

Office 365: Migrating and Managing Your Business in the Cloud est disponible en format Kindle, Mobi, Epub et PDF.

Bonne lecture !

PowerTip: PowerShell One-Liner to Find Virtual Machine

$
0
0

Summary: Use Windows PowerShell 4.0 to find a virtual machine.

Hey, Scripting Guy! Question How can I use Windows PowerShell 4.0 to find a virtual machine when I only have partial name information so I can stop it or make other changes as required?

Hey, Scripting Guy! Answer Use the Get-VM cmdlet to return virtual machine objects, use the dotted Where, and filter with a script block.
          Add the name property, and use a regular expression (or wild card) to match the virtual machine
          that you are interested in. The following command finds a virtual machine with a name that begins with c1:

(get-vm).Where{$_.name -match '^c1'}

Two Days until EclipseCon!

Viewing all 17778 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>