Wednesday, February 23, 2022

How to update office file property in SP2007 eventreceiver?

How to update office file property in SP2007 eventreceiver?

Hi All,

I have a custom metadata field in SP 2007 List which are sync with word custom property.

Field value is set in the SP2007 eventreceiver which are reflecting in the word file body.

This is working fine with word 2003 format but value is not updating in word 2010 format.

I am using dotm template file which is attached with the custom contenttype.

Event I am using:

ItemAdding

ItemAdded

ItemUpdating

ItemUpdated

ItemCheckedout

ItemcheckedIn

Thanks,

SudipC

Azure SDK 1.7.1 (powershell cmdlets (Storage library)

For current SDK version 1.7 and storage account created before 1st June 2012, copy blob across storage is not possible with the CopyFromBlob API. There is a new Azure SDK unreleased version 1.7.1 whose binaries are available on GITHUB. This are couple of enhancement such as a new Asynchronous API for blob copy likeStartCopyFromBlob() and BeginStartCopyFromBlob() with having overridden attribute to use Blob URL instead of Blob object.

If you are not luck enough to find any free or opensource Azure Powershell cmdlet for blob or table storage management build on 1.7 SDK you might think of creating one of your own. Office Azure Powershell cmdlet are restricted to hosted service management. So I thought of creating powershell CMDLET for these API which can be enhanced to include more storage or hosted service management API's.

To start with your custom cmdlet follow the below steps:

1.   Downloaded Azure 1.7.1 SDK code from GITHUB and picked up the library related to Azure storage and created a Powershell cmdlet library with Copy-Blob method exposed.

2.   There is a nice article describing creation of Powershell cmdlet.

3.   Create CMDLet class with below copy functionality

[Cmdlet(VerbsCommon.Copy, "Blob")]
public class CopyBlob : PSCmdlet
{
   private string sourceStorageAccountName;
   private string sourceStorageAccountKey;
   private string sourceContainerName;
   private string sourceBlobName;
   private string sourceSourcePolicyName;
   private string destStorageAccountName;
   private string destStorageAccountKey;
   private string destContainerName;
   private string destBlobName;
   [Parameter(Position = 0, Mandatory = true)]
   [ValidateNotNullOrEmpty]
   public string SourceStorageAccountName
   {
      get { return sourceStorageAccountName; }
      set { sourceStorageAccountName = value; }
   }
   [Parameter(Mandatory = true)]
   [ValidateNotNullOrEmpty]
   public string SourceStorageAccountKey
   {
      get { return sourceStorageAccountKey; }
      set { sourceStorageAccountKey = value; }
   }
    [Parameter(Mandatory = true)]
    [ValidateNotNullOrEmpty]
    public string SourceContainerName
    {
        get { return sourceContainerName; }
        set { sourceContainerName = value; }
     }
     [Parameter(Mandatory = true)]
     [ValidateNotNullOrEmpty]
     public string SourceBlobName
     {
         get { return sourceBlobName; }
         set { sourceBlobName = value; }
     }
     [Parameter(Mandatory = true)]
     [ValidateNotNullOrEmpty]
     public string SourceSourcePolicyName
     {
        get { return sourceSourcePolicyName; }
        set { sourceSourcePolicyName = value; }
     }
     [Parameter(Mandatory = true)]
     [ValidateNotNullOrEmpty]
     public string DestContainerName
     {
         get { return destContainerName; }
         set { destContainerName = value; }
     }
     [Parameter(Mandatory = true)]
     [ValidateNotNullOrEmpty]
     public string DestBlobName
     {
         get { return destBlobName; }
         set { destBlobName = value; }
     }
private  void CopyBlobCommandProcess()
{
     StorageCredentialsAccountAndKey sourceStorageAccountCredentials = new      
                   StorageCredentialsAccountAndKey(sourceStorageAccountName, sourceStorageAccountKey);
     CloudStorageAccount sourceStorageAccount = new CloudStorageAccount(sourceStorageAccountCredentials,true);
     CloudBlobClient sourceblobStorage = sourceStorageAccount.CreateCloudBlobClient();
     CloudBlobContainer sourceContainer = sourceblobStorage.GetContainerReference(sourceContainerName);
     // Get the SAS token to use for all blobs if dealing with multiple accounts
     string blobToken = sourceContainer.GetSharedAccessSignature(new SharedAccessBlobPolicy(),
                                                                                                                sourceSourcePolicyName);
     CloudBlob sourceBlob = sourceContainer.GetBlobReference(sourceBlobName);
     StorageCredentialsAccountAndKey destStorageAccountCredentials = new      
                    StorageCredentialsAccountAndKey(destStorageAccountName, destStorageAccountKey);
     CloudStorageAccount destinationStorageAccount = new CloudStorageAccount(destStorageAccountCredentials,                     
                                                                                                                                                   true);
     CloudBlobClient blobStorage = destinationStorageAccount.CreateCloudBlobClient();
     CloudBlobContainer destContainer = blobStorage.GetContainerReference(destContainerName);
     // Get the SAS token to use for all blobs
     destContainer.CreateIfNotExist();
     CloudBlob destBlob = destContainer.GetBlobReference(destBlobName);
     destBlob.StartCopyFromBlob(new Uri(sourceBlob.Uri.AbsoluteUri + blobToken));
}
protected override void ProcessRecord()
        {
            try
            {
                base.ProcessRecord();
                this.CopyBlobCommandProcess();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
4.   Now build the application in Dot Net 3.5 framework  so that it can be loaded in Powershell 2.0

5.   Launch Powershell 2.0 and import the cmdlet dll from the location where the binary exists as shown below. Make sure that you have changed the Powershell execution policy from restricted to appropriate setting.

            Import-Module            D:\Management.Powershell\bin\Debug\Management.Powershell.dll

6.   Now run the below command to copy the blob from source to destination location

Copy-Blob -SourceStorageAccountName 'teststorage1' –SourceStorageAccountKey 'XXXXXXXXXXXXXXXXXX'-SourceContainerName 'container1' -SourceBlobName 'file1.txt' -SourceSourcePolicyName 'internal' -DestStorageAccountName 'teststorage2' -DestStorageAccountKey 'YYYYYYYYYYYYYYYY' -DestContainerName 'container2'-DestBlobName 'file2.txt'
Note : Create a Source blob or container policy using any storage explore like Azure Storage explorer. By details all VHD storage contains will have a policy with name "internal"

7.   To unload/remove the PS Cmdlet module run the below command

   Remove-Module Management.Powershell
Note: You will see the copied file immediately but the copy process will still be in progress. For azure VHD file (~30GB) it might take ~1 min to appear on the destination container and ~15-20 mins for the copy to finish.
You can enhance the copy method to use asynchronous call back. And add more methods like this.

query for OU's information list

Hi All,

Is it possible to fetch the report for Total OU's information in SCCM environment.

Kindly help on this...

Regards

Stephene


Stephene

  • Changed type Yog Li Tuesday, October 9, 2012 8:59 AM no respond, no details

Reply:

Have you verified that OU information is being captured in ConfigMgr?

Do you have System Group Discovery enabled?


------------------------------------
Reply:
Don't no...but System Group Discovery has been enabled.

Stephene


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

What's the question here? "Total OUs" is completely ambiguous.

Are you trying to find the total number of OUs discovered by AD System Group Discovery?

Or the total number of OUs referenced by collection rules?

Or are you trying to find the total number of OUs in AD?

Or something else?


Jason | http://blog.configmgrftw.com


------------------------------------
Reply:
Stephene343, do you have more details about what you are trying to accomplish? 

Standardize. Simplify. Automate.


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

SCCM 2012 Application Properties and WMI

Can the Application Properties be set through / retrieved through WMI? If Yes under which WMI class do we find them?

Like "Date Published", "Allow this application to be installed from the Install Applications task sequence instead of deploying it manually" properties under "General" tab of the Application porperties


Reply:

The SDK contains this documentation: http://msdn.microsoft.com/en-us/library/hh949516.aspx

Also note that the 2012 SDK forum is at http://social.technet.microsoft.com/Forums/en-US/configmanagersdk


Jason | http://blog.configmgrftw.com


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

How to Create a linked server to an iSeries (V5R4M0 and others probably) Using IBM's OLE DB Drivers via Server Management Studio

In the past we researched this many times before and tried extensively in the past on SQL 2000 and always failed to get linked servers working Via IBM's OLE DB providers. This left us having to use Microsoft's ODBC drivers instead and then a rather clunky manually written Openquery method to query data despite having read that this could be quite slow in comparison.

Anyway we are finally upgrading our SQL server to 2008 (Standard Edition AP Clusters, we had Enterprise before but didn't use anything bar clustering from this edition) I decided to have another go, having discovered that Microsoft think we ought to pay Enterprise edition money if we want to use their OLE DB drivers for DB2 I was even more determined to get IBM's (included free with Iseries Access) own OLE DB drivers working.

Anyway I have finally puzzled out settings that work and its actually quite easy through Server Management Studio. I thought I would post details here for anyone else who has struggled to get this working. Similar settings should in theory work through SISS though I haven't done enough with SISS yet to give details!

First Open Server Management Studio (SMS) and expand out

Server Objects, then Linked Servers, then Providers.

Right click Properties on the Providers you want to use (IBM ones start IBM, they are DA400, DASQL and DARLA, The first two perform well the last seems extremely slow so I don't recommend using DARLA unless you have to for some reason.)

Tick the box for Allow InProcess. This must be done on any IBM driver provider before you create any Linked servers based on it. IBM have a technical document on this if you want the reasons I suggest you read at

http://www-01.ibm.com/support/docview.wss?uid=nas10366ef927408bcff862572bc00761f57

Now for the easy bit...

Right click Linked Servers and select new.

Enter the following into each field, where you need to use your own data I have highlighted this in Bold

"Linked Server" = xxxxxxxx whatever you want to call this linked server, Keep it simple, I suggest the Library name you want to connect to on your iSeries.

"Provider" = Drop down the list box and select IBM DB2 UDB for iseries IBMDA400 OLE DB provider or IBM DB2 UDB for iseries IBMDASQL OLE DB provider as you wish. as I say I dont recommend the DARLA version as this seems very slow in performance (slower than MS's ODBC drivers!)

"Product Name" = i520 Anything you like here it really doesn't matter to much so keep it simple again, it wont even be part of the naming string for a select statement.

"Data Source" = x.x.x.x This is the biggy and I kept trying to give the datasource a datasource name! Just stick to the ip address of your iseries or its declared DNS hostname on your windows DNS servers.

"Provider String" = User Id=uuuu;Password=pppp;Default Collection=LibraryName; You need to get this right! User Id is your iSeries machine username that you want to connect as (obvioucly must have rights to the Iseries DB2 Library concerned) password that goes with your iSeries account and finally the DB2 Library name you want to link to. To avoid mistakes copy the entire line below to your clipboard and paste it in and edit the User, password and library to suit you.

User Id=uuuu;Password=pppp;Default Collection=LibraryName;

 

"Catalog" = Leave blank as you don't need this.

Because you have to provided the Account details in the "provider string" section above you do NOT need to provider any logon context info in the "Security page" part of the Linked Server setup.

Click OK and you should have a working configured ISeries linked server to a library on your machine.

Repeat the above to all other Libraries on your iSeries hat you need to link to.

In our tests the IBM OLE DB provider based linked servers (excluding DARLA) worked about three times faster than ones configured through the Microsoft ODBC drivers and a preset ODBC datasource connection to the iSeries.

We are now expecting systems we have written that pull order details out of our excellent iSeries based ERP package to perform very much faster having tested performance on some multi million row record sets now.

I hope the above helps some other shops set up efficient links into their iSeries machines. It seems a shame that Microsoft should think that their DB2 OLE DB drivers to do the same should only go to people using Enterprise Edition of SQL 2008!!!

Anyway good luck.

PS if you want the Script for the above (generated by scripting the Create for the linked server, that's below, again just change the ORANGE bits to suit!

/****** Object:  LinkedServer [TEST]    Script Date: 03/19/2010 12:12:24 ******/

EXEC master.dbo.sp_addlinkedserver @server = N'TEST', @srvproduct=N'i520', @provider=N'IBMDA400', @datasrc=N'x.x.x.x', @provstr=N'User Id=uuuu;Password=pppp;Default Collection=IseriesLibraryName;'

 /* For security reasons the linked server remote logins password is changed with ######## */

EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'TEST',@useself=N'False',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL

 

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'collation compatible', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'data access', @optvalue=N'true'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'dist', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'pub', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'rpc', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'rpc out', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'sub', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'connect timeout', @optvalue=N'0'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'collation name', @optvalue=null

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'lazy schema validation', @optvalue=N'false'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'query timeout', @optvalue=N'0'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'use remote collation', @optvalue=N'true'

GO

 

EXEC master.dbo.sp_serveroption @server=N'TEST', @optname=N'remote proc transaction promotion', @optvalue=N'true'

GO

 


IT Manager Gardman Ltd
  • Changed type Tom Phillips Friday, March 19, 2010 1:28 PM
  • Moved by Tom Phillips Friday, March 19, 2010 1:29 PM Possibly better answer from TSQL forum (From:SQL Server Database Engine)
  • Changed type Ian_Mountain Friday, March 19, 2010 1:43 PM Its not a question, read the content and you will see its information to help anyone searching for a solution

Reply:

No Idea why this has been moved to TSQL forum, its general info on how to set up a linked server through SQL Management Studio to and iSeries using IBM's OLE DB drivers, the TSQL at the end is there for anyone who prefers to do it the hard way!

Cheers,

 


IT Manager Gardman Ltd

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

Hi Ian, great post!

Recently I got the requirement to get data from an AS/400 Data Base that is in an remote server however for some reason the server administrators can't install de iseries driver in the SharePoint server I need because it runs in 64 bits, so I've had to find a different approach and I found about a linked server.

I've been trying to achieve this, however, when I want to create a new linked server in the providers list, there is no provider from IBM even though I have installed the iseries access windows driver (this is on my localhost).

Do I need something else in order to add the IBM providers to the list?

I would really appreciate it if you could point me in the right direction.

Thank you very much.

Best regards,

Jessica Garcia.


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

Hi Ian, great post!

Recently I got the requirement to get data from an AS/400 Data Base that is in an remote server however for some reason the server administrators can't install de iseries driver in the SharePoint server I need because it runs in 64 bits, so I've had to find a different approach and I found about a linked server.

I've been trying to achieve this, however, when I want to create a new linked server in the providers list, there is no provider from IBM even though I have installed the iseries access windows driver (this is on my localhost).

Do I need something else in order to add the IBM providers to the list?

I would really appreciate it if you could point me in the right direction.

Thank you very much.

Best regards,

Jessica Garcia.


Hi Jessica,

You should not need to install anything else, the IBM data providers are part of the iSeries Access installation so once these are installed on the SQL server they should be available for use (after a reboot). Just make sure when you do the iSeries install you do a full or custom install to make sure all the data providers are included in your installation, do the reboot and check again. Bear in mind you will not see the IBM "DA400, DASQL and DARLA" drivers in Control Panel, administrative tools odbc becase they are not ODBC drivers they are ole db so you will only see these driver names in the SQL 2008 Management studio in the provers drop dow list box when doing it that way. If you go into odbc and see the iseries access driver when "adding" a new odbc connection its a good sign that all the iseries drivers are installed on the SQL server.

Are you trying to install these drivers on your own PC? If so does your own PC have SQL Server installed on it? Bear in mind that iSeries Access for windows needs installing on the SQL Server for you to create a linked server in SQL.

If you can't find the IBM DA400, DASQL and DARLA, drivers but you can see the iSeries Access driver then do some web searches for adding an AS400 using Microsofts ODBC instead as this works its just much slower than using the native IBM ole DB derivers.

 

Good Luck

 


IT Manager Gardman Ltd

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

Hi Ian, thank you very much for your quick response.

After a lot of research and still no luck I started to question if  Windows 7 had anything to do with it since I had been having warnings about compatibility issues, so I installed the iseries access driver in a machine with Windows XP and voilá, everything worked like it should, I suppose the driver is too old, I really don't know but at least now I can move forward.

Thanks again.


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

thanks this really helps! however.. am trying to pull hebrew data with no success on either IBMDA400 or IBMDASQL. tried playing with the collation settings in properties.

any ideas??

thanks


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

thanks this really helps! however.. am trying to pull hebrew data with no success on either IBMDA400 or IBMDASQL. tried playing with the collation settings in properties.

any ideas??

thanks


Hi,

 

I am afraid I have never had to deal with multiple language issues between the two machines.

We have our SQL server set the one of the standard Latin Collations using the normal English Charactersets and similarly the AS400 / iSeries is in a matching collation.

I think you may be in the right area looking at the collation but only if the errors you get mention collation. Otherwise I would look at something more fundamental (like the user above with the IBM driver not working in Windows 7).

If you are looking at collations bear in mind you can create SQL db's in different collations than the SQL server default collation so I don't think the SQL server would not create or fail to create a linked server based on its default collation alone as it could have many db's with different collations, unless it checks and only creates the link if it has a DB in a matching collation.

Anyway sory I can't help more but good luck looking.

Cheers,

PS feel free to post back here if you get a solution as it adds to the info for others searching for solutions.

 

 

 

 


IT Manager Gardman Ltd

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

I have set up the Linked server on my SQL 2005 server via your instructions, thanks. I am experiencing long; like 10 - 15 minute query times for anything more than a simple "select from" query. The SQL Server and the ISeries server don't seem to take any hits it just takes forever to return data. I am using the IBMDASQL OLE DB provider. Any Idea's?

 

Thanks,

Nathan


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

Good post.  We were using the MS OleDB ODBC driver which relies on a ODBC DSN on the SQL 2005 node(s).  SQL 2008 R2 broke that method, so we're using the IBMDASQL driver instead.  Per IBM support this driver is good for general sql selects, but not as robust as the odbc driver.  Benefits include not having to create an ODBC dsn on the server.

FYI, the DARLA driver is a row level access driver that per IBM was not appropriate for general sql selects.


/bac

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

Ian - Perfect!  I've been grappeling with this onn and off for months.  With your step-by-step I've gotten what i need with the IBMDA400 provider.  I look forward to performance testing against the MS_OLEDB provider which we've been using up to this point.

Here's what can be done to get the add-on for SQL 2008 Std. as long as you're a MSDN subscriber:

- Install MSDN SQL 2008 Pro to your server FOR TESTING ONLY:  Do not import any databases

- Install the OLE DB provider add-on etc. from Microsoft public web site

- Test by linking your servers

- Uninstall MSDN SQL 2008 Pro

- Install your Production copy of SQL 2008 Std.

- Link your servers and go......


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

Hi Or

I had problem about recieving data from AS400. Recieved datas were in hexadecimal format like "0x40 0x5BC7E3 0xC6C1E3E3E4". When I add "Force Translate=0" to provider string, my problem solved.

Provider String --> User Id=UUUU;Password=PPPP;Default Collection=MYLIBRARY;Force Translate=0;

When I connect DB2 from odbc, delphi or c#, I add "Force Translate=0;" property to my connection string. This solution avoids recieving hexadecimal data.

Do you add any specific property to your connection string for your hebrew data? If you have you can try adding that property to Provider String.

good luck


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

Network Traffic

Hi,

I'm working in a client side for AD Support. From few days i'm facing one issue that One client hiting the other client machine without any Reason. i dono why ?

For Example:

One Client Sunnet is 1.2.3.4 it hits the other client 5.6.7.8 that is on some other place.

This problem is related to AD ?

Once Client logged in with AD. How many time client hit the AD server and for what purpose Client Hit AD ?

Please Help meeeeeeeee

Thanks in advance


Reply:

Hi,

Thank you for the post.

I suggest you use network monitor tool to capture the network package. You could filter the source & destination ip address to locate the traffic entries.
Once Client logged in with AD just contact DC/DNS server. It will not contact other client except the client act as some application server.

Microsoft Network Monitor 3.4
http://www.microsoft.com/en-us/download/details.aspx?id=4865

Network Monitor Forum
http://social.technet.microsoft.com/Forums/en/netmon/threads

If there are more inquiries on this issue, please feel free to let us know.

Regards


Rick Tan

TechNet Community Support


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

Hi Rick,

Thanks for your reply. I used wireshark tool and checked. It is showing unknown IP's this is bank sector that issue is in praticular branch. We added the all applications server subnet into our AD so that any traffic there ?

one more

If the Policy is applied to trusted Sites means we can add or delete Zones in Intranet or Internet sites ?

I'm facing problem that, I added one zone in  Trusted Site but i can't add any sites in intranet sites. That add buttons i like hidden

If there any way to apply policy for separate zones ?

Please do the needful

Thanks in advance


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

Email management products to buy for SharePoint 2010

Hi,

I am in the process for evaluating an Email management product for SharePoint 2010 to be implemented across our organisation.

The organisation I am currently working for is very outlook centric and most of the users manage their day-today activities through outlook. Some of the features I would probably look for in the product (but not limited to)

1] Push Bulk emails from Outlook to SharePoint 2010 and also add meta data.

2] Any collaboration that can be done within outlook for sharePoint rather than using the Web interface of SharePoint.

3] Any other features that can be bundled up which would enhance user experience with SharePoint 2010 traditionally by using Office products without the need of explicitly using the SharePoint 2010 web interface.

If there is already a list of industry standard products/Pricing/features/Or white papers comparing different product suites, then please point me to one.

regards,


Reply:
Any suggestions? I am already evaluating colligo, is there any similar products out there?

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

Eliminate Accidentally Hitting Charms Bar

For those (of us) that want to stay on the old familiar Desktop when using Win-8, having the charms bar pop up when we touch the right corners of the screen, is just not acceptable.
Here's a fix that removes that activity.

1. Open Registry Editor (press Win+R, type regedit in Run dialog and press Enter or hit OK, OR, just hit Run in the Users Menu, Rt Clk Bottom-Left Corner or Desktop) and go to key
2. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell
3. Create here a new key "EdgeUI".
4. Select the EdgeUI key in the left pane and create a new DWORD value of DisableCharmsHint in the right pane of Registry Editor.
⦁ DisableCharmsHint – Set it to 1 to disable the Charms bar when using the mouse. It will not appear when you move the pointer to the top-right or bottom-rights corners. But, if you move the pointer to the top-right corner and then move it down along the right edge of the screen or from the bottom-right corner up to the screen center along the right edge, it will, now, still, appear again.

Setting prevents the Edge UI panels from appearing accidentally. It will take effect immediately - you do not need to restart Windows Explorer or log off. You will still be able to show it when you actually want to use them.

If you want to enable the default behavior, simply set the value to 0 or delete it (the DWORD entry) to (re)enable the Charms Bar popup, again.

Personally, I am very glad of this since, I keep my Taskbar of the right side.  Some like it cus they used to hit Charms when meaning to close (x) a window.  And, I hear this is really, especially appealing for gamers, too.

Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com





  • Edited by Drew1903 Friday, September 28, 2012 2:51 AM

Reply:

If there are members who are unfamiliar, or nervous, of editing the registry, VG has a simple download reg file all ready for you here:

http://www.askvg.com/how-to-disable-charms-bar-hint-in-windows-8/

David Clarke


------------------------------------
Reply:
Thanks, David.  It's in the PS down near the bottom of the page David has provided.

Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com


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

Windows 8 and Server 2012 Pocket Consultants

I've been eagerly awaiting the Windows 8 and Windows Server 2012 Pocket Consultant books by William R. Stanek, and they're now available at O'Reilly, so I just bought them both.

The print editions haven't yet been published, but you can get the electronic versions now at oreilly.com for immediate download. They're available in epub, mobi, and pdf formats.

1. Windows 8 Administration Pocket Consultant  ($28.00)

2. Windows Server 2012 Pocket Consultant  ($27.99)

Also, please remember to use the coupon code B2S2 for your 50% discount until September 18. This means you will get both books for a total price of $27.99. Happy reading!



  • Edited by James JT Taylor Saturday, September 15, 2012 12:47 PM Added a hyperlink

Reply:
Thanks for sharing

When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

Jeff Wharton
MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCITP, MCDBA
Blog: Mr. Wharty's Ramblings
Twitter: @Mr_Wharty
MC ID: Microsoft Transcript


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

Free eBook - Introducing Windows Server 2008 R2

Great if you need to brush up on R2 topics for any of the Windows Server exams.

Free eBook  - Introducing Windows Server 2008 R2, by Charlie Russel and Craig Zacker with the Windows Server Team at Microsoft.

Chapter 1    What’s New in Windows Server R2    1
Chapter 2    Installation and Configuration: Adding R2 to Your World    9
Chapter 3    Hyper-V: Scaling and Migrating Virtual Machines    25
Chapter 4    Remote Desktop Services and VDI: Centralizing Desktop and Application Management    47
Chapter 5    Active Directory: Improving and Automating Identity and Access    65
Chapter 6    The File Services Role    91
Chapter 7    IIS 7.5: Improving the Web Application Platform    109
Chapter 8    DirectAccess and Network Policy Server    129
Chapter 9    Other Features and Enhancements    147
Index    163

This book can be downloaded here (XPS file, 28 MB) and here (PDF file, 11 MB).

Sincerely,
Ben

Ben Watson
Director, Training Products
Microsoft Learning


Reply:

Yeah this is a good book on R2 topics. 

I highly recommend it.


Thanks, Michael Mei
http://mssharepointbi.com/about/
Microsoft Community Contributor 2011 Award

------------------------------------
Reply:
Really useful book that is free as well, awesome- thanks for that!

------------------------------------
Reply:
Thanks for sharing

When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

Jeff Wharton
MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCITP, MCDBA
Blog: Mr. Wharty's Ramblings
Twitter: @Mr_Wharty
MC ID: Microsoft Transcript


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

TMG Block Streaming

Hi all

I have configured TMG , and allow some users to full access with no restriction, but user browser some streaming web site below error occur

"12209 Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied "

This website is working fine when make rule and allow the ipaddress but not working uses authentication ... any idea please 

How to add attachment button in ribbon in share point 2010

Hi all,

         How to add attachment button in ribbon in share point 2010 site . And attachment button is validation            for required field ( Browse button) .

Thanks

Brajesh

SSRS Report - Very Urgent

Hello,

I am trying to plot below data on the  Chart type Line.

Region             salesdept                  count          Type                 dt

South             Authos                         25             Manual          

North             depts                            43            Manual

East               jumbos                        42            Test

Northeast        threads                       12           Test

Type and dt value will be Parameters driven

on the x axis --- Region

Y axis -- Count

I also want to plot Sales dept in the Graph, I am not sure how to do this.

I am putting Count in the Aggregate values and Region for Category_Groups, this gives Region on x axis and Sum of count for the region in Yaxis.

How to plot Salesdept on the same graph ?

Any help please.

Thanks.


John


Reply:
Any help pls ?

John


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

Hi John,

Following link might help you.  Take a look into Line chart sample that is available there.

http://www.bi-rootdata.com/2012/09/sample-rdls.html


Aftab Ansari


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

Folders under C:\dfsroot\namespace\

Hi,

I see some additional folders in C:\dfsroots\namespace folder and I need some experts help..

When i look at the "C:\dfsroots\namespace\" apart from virtual directories there are some other normal folders, files as well. I'm not sure how they are created over there at first place. None of the namespace we use are pointed to C drive. All namespaces are scheduled to replicate with different drives on server.  No DFSRead only servers implemented.

When I look at manage open files in share and storage management console, I see some users have open files pointing to c:\dfsroots\namespace\ .

Can someone explain why I see this and is this a normal behaviour? Shall I delete the folders and files other than normal virtual directories under c:\dfsroots\namespace\

Thanks a lot for your time in this..


Regards, Mohan R Technical Specialist - Server Support


Reply:

Hi Mohan,

When creating a DFS namespace, it will create a shared folder on the namespace server. If you go through the wizard, by default the shared folder will be created under c:\dfsroots. So c:\dfsroots\namespace folder is a shared folder.

If the permission is changed from the default setting while creating the new DFS namespace, such as changed it from "all users have read-only permissions" to another option which gives user Write permission, users will be able to write files to the shared folder while accessing \\domain.com\namespace, as it is directed to c:\dfsroots\namespace folder.


TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tnmff@microsoft.com.


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

Hi Shaon,

I verified there are no permissions mis configured here.. Is there anything else I can look at..? One thing I noticed is the folders I see here c:\dfsroots\namsepace\ "created folder" \ .. "created folder" is not a shared folder... They are just normal folders and files..


Regards, Mohan R Technical Specialist - Server Support


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

Hi,

What's the current permission of the folder c:\dfsroots\namespace? Is there any one who could create files/folders in this folder?


TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tnmff@microsoft.com.


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

Hi Shaon,

Nope. Users have only read access and they have full access only on their respective folders..


Regards, Mohan R Technical Specialist - Server Support


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

How can I convert microsoft system center essentials 2010 technet license to a volume license

I have installed the technet version of system center essentials 2010 and have recently purchased a license, how do I go about using the purchased key. Also I do not see a license wizard available, any help is appreciated...thanks...
  • Edited by gemini608 Monday, September 24, 2012 7:27 PM
  • Changed type Nicholas Li Monday, October 1, 2012 6:17 AM
  • Changed type Nicholas Li Monday, October 1, 2012 6:18 AM

Reply:

As the query is about licensing, please call 1-800-426-9400 (select option 4), Monday through Friday, 6:00 A.M. to 5:30 P.M. (PST) to speak directly to a Microsoft licensing specialist. You can also visit Microsoft Volume Licensing Site http://www.microsoft.com/licensing/ to find the contact information.

Meanwhile, regarding licensing of System Center, please also visit:

Microsoft | Server & Cloud | Pricing & Licensing

http://www.microsoft.com/en-us/server-cloud/buy/pricing-licensing.aspx#tabs-2

Hope this helps.

Thanks.

Nicholas Li

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


Nicholas Li

TechNet Community Support


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

Hi,

I am just checking to see how things are going. If there is anything I can do for you here in this thread, please feel free to post back here. It is my pleasure to help.

Thanks, and have a great day!

Nicholas Li

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


Nicholas Li

TechNet Community Support


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

Should all Xbox 360 standard controllers work on Windows 7?

I plugged my Xbox 360 game controller (the standard issue one that came with my Xbox) into my Windows 7 PC.  The Live button immediately started blinking, but the controller does not show up in the "Set up USB game controllers" list.  I then found the Windows 7 drivers for the Xbox controller, installed those, rebooted, and still the controller does not show up.  I removed the standard controller and plugged in my MadCatz Street Fighter stick, and it showed up immediately.  Should my standard controller work?  I see that you can purchase an Xbox controller for Windows, but is that any different from the ones that come with the console?

I can see Xbox 360 Controller for Windows in the Device Manager, but it has an exclamation mark on the icon and the details page says, "This device cannot start. (Code 10)".

  • Edited by Eric333333 Monday, September 24, 2012 12:44 AM Additional info added
  • Changed type Leo Huang Wednesday, October 10, 2012 8:30 AM

Reply:

Hi,

Please go to this website to make almost any 360 controller work:

follow instructions carefully

http://www.sevenforums.com/hardware-devices/9118-xbcd-drivers-xbox-360-gamepad.html

Ff it still doesn't work, modify the .inf file for your controller. ****C:\Program Files (x86)\XBCD\Driver\xbcd.inf****

device manager -> right click on non working controller -> properties -> details -> hardware lds (check the numbers and add to .inf file then sign the system file with driver signature enforcement driver 1.3b

example of what i did: %XBCD.DeviceDesc%    =Install,               USB\VID_1BAD&PID_F900           ; Afterglow Gamepad for Xbox 360

Refer:

http://answers.microsoft.com/en-us/windows/forum/windows_other-gaming/xbox-controller-wont-work-on-pc/8693c6d2-eebe-4d3c-a675-ad2ab62a72e1

If the issue persists, I suggest to contact Xbox forum for further help:

http://support.xbox.com/en-us/pages/contact-us.aspx

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.

Regards,

Leo   Huang

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


Leo Huang

TechNet Community Support


------------------------------------
Reply:
As an experiment, I installed the same Xbox 360 controller driver on a different Windows 7 machine that I have, plugged in the same controller, and everything worked perfectly the very first time.  What could possibly be wrong with my problem Windows 7 box?  It seems to be great for everything else, including plenty of other usb devices, but I cannot get this one controller to work. 

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

Hi,

Try to logon with Clean Boot to see if the same issue occurs.

Furthermore, go to device manager and show hidden device, remove all unnecessary driver with yellow exclamation mark.

Regards,

Leo   Huang

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


Leo Huang

TechNet Community Support


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

Is the problem box 64-bit and the other machine 32-bit? That's the problem I'm having; both my Xbox 360 and Mad Catz controllers work on both of my Win7HP 32-bit machines, but neither will connect correctly on my Win7HP 64-bit laptop. I haven't tried Leo's suggestions yet, but will sometime today.


 SC Tom


I downloaded XBCD 0.2.7 from here:

http://vba-m.com/forum/Thread-xbcd-0-2-7-release-info-updates-will-be-posted-here

and ran it without having to use the DSEO tool, and it worked fine. According to that post, the drivers are already signed, so no other tool is needed. Worked fine on my Win7HP 64-bit using an Xbox 360 controller and a Mad Catz controller. And all the settings are remembered, even when swapping them out or rebooting.

Hope this helps.

  • Edited by SC Tom Wednesday, September 26, 2012 10:59 PM

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

Both of my machines are 64-bit.  The only operating system difference is that the one that works is running Windows 7 Ultimate, while the problem one is Windows 7 Home Premium, but I cannot imagine that is the root of the issue.  I have not had any problems with the Mad Catz Street Fighter stick, just the regular 360 Control Pad.

There are no items in my device manager with yellow exclamation marks other than the 360 controller, and I have rebooted a dozen times, uninstalling and re-installing the drivers with no luck.


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

Hi,

I suggest to contact Xbox forum for further help:

http://support.xbox.com/en-us/pages/contact-us.aspx

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.

Regards,

Leo   Huang

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


Leo Huang

TechNet Community Support


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

DNS Events not being record in event logs

As of late I am noticing that my 2008 R2 Standard servers are no longer recording DNS events in the respective log. Nothing has been changed in group policies, so I am not quite sure why this is happening. I've gone through trying to figure out why, and even changed the logging to show all events. Any thoughts as to why this is? I have 3 DC's and it's happening on all 3, which leads me to believe something with GP?

Reply:

Hi,

Thank you for the post.

Restart your DNS service and then view DNS events in these two ways:
1. View DNS events via Server Manager--DNS server, click Filter events, change the event level/IDs/Time Period
2. View DNS events via Event Viewer--Custom Views--Server Roles--DNS server

If there are more inquiries on this issue, please feel free to let us know.

Regards


Rick Tan

TechNet Community Support


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

How to remove the default Authenticated Users ACE for all OUs at one time

Hi,

I find there is a default ACE of Authenticated User read-only permission in the security setting of every object in AD. I want to remove this ACE becuase of security requirement (the users/computers in different OUs cannot access each other). But this ACE is not inherited from the parent OU, but configured on every OU itself by default. So I had to remove this ACE on every OU. But there are too many OUs in the domain. Is there a way to remove the default ACEs for all OUs at one time in the domain?

Thanks,
高麻雀


  • Edited by 高麻雀 Monday, September 24, 2012 1:27 PM

Reply:

Hi,

I find there is a default ACE of Authenticated User read-only permission in the security setting of every object in AD. I want to remove this ACE becuase of security requirement (the users/computers in different OUs cannot access each other). But this ACE is not inherited from the parent OU, but configured on every OU itself by default. So I had to remove this ACE on every OU. But there are too many OUs in the domain. Is there a way to remove the default ACEs for all OUs at one time in the domain?

Thanks,
高麻雀


It's NOT recommended to remove Authenticated Users ACE from AD containers ! If you do so, you might end up with numerous issues with your AD and group policies.

To know more about Authenticated users, please refer following discussion

http://social.technet.microsoft.com/Forums/en/winserverDS/thread/e1a8e680-03a2-4690-a7e5-f17ad7389ecd


Regards, Santosh

I do not represent the organisation I work for, all the opinions expressed here are my own.

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


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

Hi Santosh,

I konw the the importance of Authenticated Users. But there is a particular business requirement in my domain. The users/computers in different OUs MUST NOT access each other. There will be a security problem if I don't remove the default Authenticated Users ACEs. As a workaround, I can grant the read permissions to corresponding security group on every OU.

Thanks,
高麻雀


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

Hello,

please check http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2008/12/09/active-directory-visibility-modes.aspx  BUT all this security reconfiguration do in a LAB BEFORE using it on production.


Best regards

Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://msmvps.com/blogs/mweber/

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


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

Hi Santosh,

I konw the the importance of Authenticated Users. But there is a particular business requirement in my domain. The users/computers in different OUs MUST NOT access each other. There will be a security problem if I don't remove the default Authenticated Users ACEs. As a workaround, I can grant the read permissions to corresponding security group on every OU.

Thanks,
高麻雀

This is surely not been recommended by the DS team in the Microsoft. I'm not aware the exact business requirement, but since its not been tested as well as recommended by Microsoft itself, then how you are ready to implement. During crisis, you will not receive support from MS. I would suggest, take a below question from the DS team

Question

We're thinking about using List Object Access dsheuristics mode to control people seeing data in Active Directory. Are there any downsides to this?

http://blogs.technet.com/b/askds/archive/2011/06/17/friday-mail-sack-gargamel-edition.aspx#listobject

If you still want to proceed, refer below link.

http://www.chrisse.se/MAQB.asp?ID=34


Awinish Vishwakarma - MVP

My Blog: awinish.wordpress.com

Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.


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

Hi, Thanks very much for your helps. The following sreenshots are similar to my business requirement. OU1 and OU2 are separated orginzations, they are different customers. They are just sharing the same domain because we are the domain serivce provider. User1/Computer1 are not allowed to access User2/Computer2, vice versa. So I have to consider removing the Authenticated Users read permission on OU1/OU2 and its child objects (Otherwise OU1 and OU2 can access each other). And then adding Group1/Group2 read permission on OU1/OU2 and inherit to its all child objects. I will read your recommended articles.

  • Edited by 高麻雀 Friday, September 28, 2012 2:07 AM

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

SQL server devloper edition

Can I install developer edition on more than one machine with the same product?

Reply:

Hello,

Since the question is a license issue, you can call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. You can also visit the following site for more information and support on licensing issues:

http://www.microsoft.com/licensing/mla/default.aspx

Hope this helps.

Regards,

Alberto Morillo
SQLCoffee.com


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

FIM Troubleshooting: Service 'Forefront Identity Manager Service' (FIMService) failed to start. Verify that you have sufficient privileges to start system services

FIM Troubleshooting: Service 'Forefront Identity Manager Service' (FIMService) failed to start. Verify that you have sufficient privileges to start system services: http://social.technet.microsoft.com/wiki/contents/articles/13639.fim-troubleshooting-service-forefront-identity-manager-service-fimservice-failed-to-start-verify-that-you-have-sufficient-privileges-to-start-system-services.aspx


Tim Macaulay Security Identity Support Team Support Escalation Engineer

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