Enviornment Variables/ Services Parameter

  • Thread starter Thread starter sree ramam
  • Start date Start date
S

sree ramam

Dear All,


1 ] Whenever i restart my server the enviornment variables
dissapear.

2 ] My application runs based on a services (SAPOSCOL)
which refers a parameter file ( start profile). When i
restart my server the reference to the parameter file
dissapears thus causing in the failure in the start of
services needed by my application.

My server is running SAP and it is a high availablity
production system.
Server HP- compaque
Thanking You,
S.N.V.Sree Ramam.
 
You'll need to post some details as none of this makes much sense. If you
really mean what you say, that typing
set
from a command prompt yields nothing then you'll want to check that "Path"
found at
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
is a type Reg_Expand_Sz string and not type Reg_Sz

You can run Programs|Accessories|System Tools|Backup, then choose ERD, then
if you check the box for "Also backup....", then the reg will also be backed
up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

Then close all programs, run regedit, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
rename the Reg_Sz string "Path" to "Pathx" Then run regedt32, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
double-click on Pathx, then right-click|Copy the string then from the menu;
Edit|Add Value
Value Name:=Path
Data Type:=REG_EXPAND_SZ
OK
then paste the string (copied from Pathx) in the string editor text box.
OK
Should be ok to delete the old value "Pathx" Close regedit, and regedt32,
restart for effect.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| Dear All,
|
|
| 1 ] Whenever i restart my server the enviornment variables
| dissapear.
|
| 2 ] My application runs based on a services (SAPOSCOL)
| which refers a parameter file ( start profile). When i
| restart my server the reference to the parameter file
| dissapears thus causing in the failure in the start of
| services needed by my application.
|
| My server is running SAP and it is a high availablity
| production system.
| Server HP- compaque
| Thanking You,
| S.N.V.Sree Ramam.
|
|
 
Back
Top