Your question is difficult to answer because you provide zero information regarding what settings you are trying to use.
That said, below is a sample registry file that will adjust icon spacing. Change the values as you see fit and note the comments in the file for details.
Instructions:
1) Save the below text to a file with a .reg extension.
2) Double-click to run.
3) Make sure to follow the additional steps noted in the comments!
Code:
Windows Registry Editor Version 5.00
; Default setting for "IconSpacing" is -1125, for "IconVerticalSpacing"
; the default is also -1125.
;
; Set these settings to (-15 * horizontal spacing between icons in pixels)
;
; For the change to take effect, after making the registry change, do the following:
;
; 1) Sign out from your user account and then sign back in.
; 2) Right-click the desktop, uncheck "Align icons to grid", then re-check it.
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"IconSpacing"="-1500"
"IconVerticalSpacing"="-1200"
If that does not work out for some reason, do post back.