UES loads logon batch file at logon

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

UES loads logon batch file at logon

Postby Alan » Fri Dec 15, 2006 4:23 pm

I have UES6 evaluation on a laptop running Win XP Pro SP2. When I log onto the office network, a logon script is run from the server to map network drives, in standard Windows client/server manner.

For some reason UES seems to open this batch file everytime I logon to the network. I can find no setting that would cause this.

Anyone any idea why this happens? it is most annoying.

TIA
User avatar
Alan
Newbie
 
Posts: 3
Joined: Fri Dec 15, 2006 12:00 am

Re: UES loads logon batch file at logon

Postby Mofi » Fri Dec 15, 2006 5:03 pm

You have specified UEStudio as default application for opening files with extension .bat.

First look in UEStudio at Advanced - Configuration - File Associations if there is an entry for .bat files and if so, select it and press the button Delete to delete the file association and restore original file association.

If .bat files are not listed in the UEStudio configuration dialog, you have to
copy the following lines to a text file, save it with a name with the extension .reg and double click on the file to import it into the registry and so restore Windows XP SP2 default file association for batch files.

Code: Select all
REGEDIT4

[HKEY_CLASSES_ROOT\.bat]
@="batfile"

[HKEY_CLASSES_ROOT\.bat\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\batfile]
@="MS-DOS Batch File"
"EditFlags"=hex:30,04,00,00

[HKEY_CLASSES_ROOT\batfile\DefaultIcon]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74,65,6d,33,32,5c,73,\
  68,65,6c,6c,33,32,2e,64,6c,6c,2c,2d,31,35,33,00

[HKEY_CLASSES_ROOT\batfile\shell]

[HKEY_CLASSES_ROOT\batfile\shell\edit]

[HKEY_CLASSES_ROOT\batfile\shell\edit\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74,65,6d,33,32,5c,4e,\
  4f,54,45,50,41,44,2e,45,58,45,20,25,31,00

[HKEY_CLASSES_ROOT\batfile\shell\open]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\batfile\shell\open\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\batfile\shell\print]

[HKEY_CLASSES_ROOT\batfile\shell\print\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74,65,6d,33,32,5c,4e,\
  4f,54,45,50,41,44,2e,45,58,45,20,2f,70,20,25,31,00

[HKEY_CLASSES_ROOT\batfile\shellex]

[HKEY_CLASSES_ROOT\batfile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\batfile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\batfile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"

[HKEY_CLASSES_ROOT\batfile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"


The 3 hex(2) values are following strings (type REG_EXPAND_SZ):

DefaultIcon: %SystemRoot%\System32\shell32.dll,-153
edit command: %SystemRoot%\System32\NOTEPAD.EXE %1
print command: %SystemRoot%\System32\NOTEPAD.EXE /p %1
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4051
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: UES loads logon batch file at logon

Postby Alan » Fri Jan 05, 2007 9:45 am

Thanks, that fixed it.

I wonder why it put .bat in when I loaded UES.
User avatar
Alan
Newbie
 
Posts: 3
Joined: Fri Dec 15, 2006 12:00 am


Return to UEStudio General Discussion