I lost the “Security” tab of offline files synced by Sync Centre !!

In Windows Vista and later there is a cool feature of making network shared files available offline and maintaining the synchronization through a newly added component called Sync Centre.  You may find more information about it here:  Explore the features: Sync Center. You might have a functionality where you would like to know the security…

0

ExpandEnvironmentStringsForUser() API does NOT expand the environment variable %USERNAME% on Windows 7.

ExpandEnvironmentStringsForUser() API does not expand the environment variable %USERNAME% on Windows 7 and Windows Server 2008 R2, if hToken value is obtained  only by using TOKEN_IMPERSONATE | TOKEN_QUERY flags for OpenProcessToken.  To expand the environment variables like %USERNAME%  on Windows 7 & Windows Server 2008 R2, you also need to add TOKEN_DUPLICATE as well.  For…

0

How to disable Address Space Layout Randomization (ASLR) ?

Here is the scenario – You have a legacy application where you wish to load a DLL or module at a fixed or preferred base address.  Why would you need it?,  that is because in the EXE or DLL code you may make use of the absolute addresses and pointers.  This application would work great…

4

GetIPForwardTable return’s undocumented error ERROR_MORE_DATA

Symptom: ======= GetIPForwardTable return’s undocumented error ERROR_MORE_DATA where it should actually return ERROR_INSUFFICIENT_BUFFER in a Windows XP environment. Questions: ========= Is this an expected behavior? How we should handle the situation when ERROR_MORE_DATA is returned. Root Cause: ========== a) At start, the API does a quick check if the buffer size is insufficient. If it…

0

ARP Changes in Server 2008/Vista:

Introduction:     ARP is used to perform Duplicate Address Detection by sending an ARP request in which the Target Protocol Address is set to the IP address for which duplication is being detected. In other words, to detect whether other nodes on the subnet are using the same network address, a node sends an ARP…

0

Web Service can’t start the Windows Service

Working with Windows Service and Web Service together is nothing less than fun, especially when you are not an ASP.NET expert. Like many native developers I have my own challenges with words like managed, web service and web applications! I was debugging a production down. My customer had a Web application which was communicating with…

0

Web application gets Access Denied accessing a Named Pipe.

Recently, I was troubleshooting a problem for one of my customers. A named pipe created by a native C application was not accessible by web client. The actual product is a convention Windows application which does IPC through named pipes. Both server and client for this were Windows applications. They were trying to extend the…

0

Where are my performance counters ?

Your custom created 32 bit performance counters do not show counter information when generating logs using user defined Data collector Set with 32 bit “PerfMon” tool on 64 bit windows Server 2008 machine. However, you are able to get live performance data for these counters on the same machine. The problem can be reproduced using…

0

Send multiple files to FAX in one call

There might be a need that an application need to send multiple files to the FAX server in one single call. While IFaxDocument::ConnectedSubmit Method allows to send a single file to FAX in one call, IFaxDocument2::ConnectedSubmit2 Method can be used to send multiple files. The IFaxDocument2::ConnectedSubmit2 Method can be used only on Windows Vista and…

0

When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x

When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x, a dialog box is displayed and a balloon is popped-up on Windows Vista machine. And the developer of the EAP authentication dll, needs to suppress dialog box and balloon. The scenario is like – You are using custom EAP authentication dll which call EAPHost…

0