Technical Notes on Windows Vista etc.



Writing hidden files in Vista for copy protection

So what we do is write a hidden file on first run to 

C:\Documents and Settings\All Users\Application Data\_zxyqs984\ 

which holds the number of runs in hex, and decrement it each time. When zero or less, then refuse to run unless unlocked. When unlock set to hex of some string. Check for that each time. 

Unlocks when access web page as before. Need a manual unlock code and license transfer. So we need a serial no from somewhere. 

Generate serial no on first install from something.... 

########################################## 
Here's a paragraph from their documentation 
########################################## 

Windows - Restricted Mode 

Windows 2000 and Windows XP include a Restricted Mode which does not allow the editing of any files under the Program Files directory. This prevents the agent from writing any output into its installation directory under Program Files. As a result, on Windows 2000 and XP the agent writes its output under the application data directory, for example:  

C:\Documents and Settings\All Users\Application Data\APPLICATIONNAME\ 

#################################################################### 
Here's their email respose to us (when we queried their Tech Support) 
#################################################################### 

The buffer file is located in the C:\Documents and Settings\All Users\Application Data\APPLICATIONNAME\ directory on Windows 2000 and WinXP because of the their restricted mode setting which doesn't allow the editing of the files under Program Files. 


Vista compatability check

http://msdn2.microsoft.com/en-us/library/aa480152.aspx 


 

 

This page has been online since 16th March 2007.

Return to Roger Pearse's Pages