• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

How to lock desktop icons in windows OS


Hi,
We are using an in-house developed ERP in our organization using oracle. Presently we are installing oracle both front end and back end and creating an icon in desktop. This icon contains path of application and database (schema user name and password)

How can I hide this info like path and schema name and password. Is there any way I can encript these details, please let us know


0
Jinesh Kumar Kochath
Asked:
Jinesh Kumar Kochath
1 Solution
 
Sekar ChinnakannuSenior EngineerCommented:
Right click on the Desktop and select Arrange Icons By> and unselect show desktop icons.
0
 
Jinesh Kumar KochathAuthor Commented:
Hello
you uderstood my requirement wrongly
i dont want to hide all icons. I want to hide only short cut path of desktop Icon or some kind of encryption
0
 
lamaslanyCommented:
If obfuscation is enough you could try modifying the registry.  The following can be saved as a .reg file and imported:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}]
@="Your App Name"
"InfoTip"="Nice description of your app"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}\DefaultIcon]
@="%SystemRoot%\\system32\\SHELL32.dll,46"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}\InProcServer32]
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}\Shell\Open\command]
@="\"C:\\Windows\\Notepad.exe\" \"C:\\ParameterExample.txt\""

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-00000000FFFF}\ShellFolder]
"Attributes"=dword:00000000


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-0000-0000-0000-00000000FFFF}]
@="Your App Name"

Open in new window


Refresh your desktop and your obfuscated shortcut will appear.

Obviously you'll want to define your own app name, description, icon and command parameters.

The hard part is creating the unique GUID.  In this case I just used a GUID I knew didn't exist on my machine: {00000000-0000-0000-0000-00000000FFFF}.  I am unsure how you are supposed to do it properly...  :)


0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
lamaslanyCommented:
It seems there are several options available:  http://www.somacon.com/p113.php

I'd probably go with uuidgen.exe from Microsoft's Platform SDK although if you don't already have it the VBScript would be my second choice.

0
 
Jinesh Kumar KochathAuthor Commented:
hi
thanks for your update, let me check this out and will come back to you soon
0
 
huacatCommented:
hi guy,just a mark!
Why EE mobile cannt mornitor a thread┬┐
0
 
Jinesh Kumar KochathAuthor Commented:
hi
thanks a lot for your updates

it all seems to be very complicated and requires a lots of hardwork
is there any simple way i can do this task, please advise
0
 
lamaslanyCommented:
I rather think I did the hard work - all you need to do is modify a few lines of text and generate your own GUID!  :D

You can push this out to machines scriptedly using the .reg file or turn it into "REG ADD" commands.  You could push these out as group policy preferences or create your own Group Policy Template file.  Your local sysadmin should have no problems with any of these.

Alternatively you could push these out by creating a simple MSI installer (AdvancedInstaller is free).  This can then be installed stand-alone or via Group Policy.



There is no simple way to do what you are trying to achieve.  You can either obfuscate or encrypt.  Both require work on your part.  

Possibly the easiest way would be to write a small application that launches the app you require with the necessary parameters.  If the parameters are embedded into the 'launcher' then it will be 'hidden' from the end user.  You can also encrypt the variable if needed.  

Alternatively you could have the shortcut point to a script.  There is nothing to stop them from opening the script of course so this is somewhat less obfuscated.  You could encrypt the script but again this requires a suitable infrastructure.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now