Thursday, March 3, 2016

If the developer lost the Admin rights on Windows

Ok, sometimes you can not define your development environment. You have to use linux, you have to use windows. Or you don't have admin rights on your machine any more.

I created a software collection, what to do in this case BEFORE.


The conditions:

  • we have a c:\users\username user folder. we can store here files, we can not run executables.
  • we have preinstalled applications in the c:\Program Files
  • If you are lucky, you have a dedicated folder for the portable applications, lets call c:\PGM. You can execute the files here, but you don't have permission to modify, create.

 Recommended steps

  1. Ensure installed applications are in the c:\Program files
  2. Move you portable applications to PGM folder
  3. Reconfigure certain applications to reach config, ini, log, plugin etc files.
  4. hope

Reconfiguration

Ant

  • he has only a bat file which calls java, so you can put it into the c:\users\username folder. just update the ANT_HOME env variable.

Eclipse

  • for the plug-ins and features he uses the c:\users\username\.eclipse folder
  • check the maven/User settings where the settings.xml and the repository are located

Notepad++

  • if you have an old version he want to use the admin right when you restart after a plugin installation
    if you reinstall , he will ask to store plugins to the %APPDATA% folder

Maven

  • settings.xml
  • .m2 folder for the repo, in default it is in the users folder
  • maven just a java, not executable, you can place it under the user folder. dont forget to update the MAVEN_HOME

Total commander

  •  no problem with this, the FTP connections and settings are stored in the userfolder\Appdata

Weblogic

  • you have to move you Oracle Weblogic domains to your user folders

No comments:

Post a Comment