Difference between revisions of "ZENworks"

From MicroFocusInternationalWiki
Jump to: navigation, search
(environment variable change)
Line 12: Line 12:
 
How about a Cool Solutions for the following that still plague me:
 
How about a Cool Solutions for the following that still plague me:
  
1)  Automatic uninstall of Microsoft Client for Windows Networks
+
# Automatic uninstall of Microsoft Client for Windows Networks
2)  Automatic uninstall of File/Printer sharing, Win XP
+
# Automatic uninstall of File/Printer sharing, Win XP
  
  
  
I am trying to update the Path environment variable on Windows 2000 machines through Zenworks.  I want the changes to be permanent.  I need to delete one path, and add two more.  I have tried making an application object and putting the two paths to be added in the 'Environment variables' section - appending to the 'Path' variable with a ; separator.  I checked the Path value, and it had not been updated.  Any thoughts on how this can be done?  Thanks!
+
====Permanent environment variable change====
 +
''I am trying to update the Path environment variable on Windows 2000 machines through Zenworks.  I want the changes to be permanent.  I need to delete one path, and add two more.  I have tried making an application object and putting the two paths to be added in the 'Environment variables' section - appending to the 'Path' variable with a ; separator.  I checked the Path value, and it had not been updated.  Any thoughts on how this can be done?  Thanks!''
 +
 
 +
The Microsoft setx.exe utility, which have from the Windows NT 4.0 resource kit, allows you to change an environment variable from a command line such that it will survive a reboot.  The version I have (1.0a 5/31/96) appears to work fine on Windows XP Tablet SP2 and Windows 2000.  However, it does appear that it was also part of the Windows 2000 resource kit, and you can download it from http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp
 +
 
 +
After you have the utility, you could have a NAL object execute something like <br>
 +
'''setx Path %Path%;newpath1;newpath2''' <br>
 +
to do what you requested.

Revision as of 19:30, 21 September 2005

Got a nagging question you'd like to get help from the community about? That, my friend, is the very reason the Cool Solutions Wiki was started. Come on in, post your question, and see who pops forth with an article about it.


I took the liberty of posting some previously Novell internal notes and guides on ZENworks on my [Evil ZEN Scientist blog].

While I'm at it - who else blogs or writes about ZENworks?

Blogging about ZENworks


How about a Cool Solutions for the following that still plague me:

  1. Automatic uninstall of Microsoft Client for Windows Networks
  2. Automatic uninstall of File/Printer sharing, Win XP


Permanent environment variable change

I am trying to update the Path environment variable on Windows 2000 machines through Zenworks. I want the changes to be permanent. I need to delete one path, and add two more. I have tried making an application object and putting the two paths to be added in the 'Environment variables' section - appending to the 'Path' variable with a ; separator. I checked the Path value, and it had not been updated. Any thoughts on how this can be done? Thanks!

The Microsoft setx.exe utility, which have from the Windows NT 4.0 resource kit, allows you to change an environment variable from a command line such that it will survive a reboot. The version I have (1.0a 5/31/96) appears to work fine on Windows XP Tablet SP2 and Windows 2000. However, it does appear that it was also part of the Windows 2000 resource kit, and you can download it from http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp

After you have the utility, you could have a NAL object execute something like
setx Path %Path%;newpath1;newpath2
to do what you requested.