Difference between revisions of "ZENworks"

From MicroFocusInternationalWiki
Jump to: navigation, search
(Created new main page and moved some info to separate pages)
Line 1: Line 1:
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.
+
''Welcome to the ZENworks Wiki!!''
  
 +
As already mentioned on the wiki main page, please feel free to join in. You can read anything in here without logging in, but if you feel like commenting on something, or starting a new thread, you'll need to use a Novell Login account (which you'll be prompted to create if you don't already have one).
  
I took the liberty of posting some previously Novell internal notes and guides on ZENworks on my [[http://www.evilzenscientist.com/blog Evil ZEN Scientist blog]].
+
==Open source content instead of code!==
  
While I'm at it - who else blogs or writes about ZENworks?
+
We all know the traditional [http://www.novell.com/coolsolutions/zenworks/ ZENworks CoolSolutions] articles, they are a great recourse for tip's and trick's. The Wiki pages make it possible to be much more flexible and have people share information and work together to get some great content.
  
[[Blogging about ZENworks]]
+
One of the main benefit's is that people can add additional information into a page, as example if someone wrote an article about how to work with add-on images but you've got some additional trick's that might be useful, just add this information to the article so that others can use it as well.
  
 +
If you've used a wiki before, you'll have no trouble getting used to this format. If not, you should take a minute to [[learn more about it]].
  
 +
==The topics==
 +
So let's try to get some more content on these pages and see if we can make it a real ZENworks encyclopedia. Below is an index with different subjects, feel free to add any if needed.
  
How about a Cool Solutions for the following that still plague me:
+
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. Create a page to describe the problem and add your page to the ZENworks in progress page so that others will find it and may be able to document what needs to be done to resolve your issue.
 +
If you are working on a page and would like to encourage others to help you out, also post a link to your page on the ZENworks in progress page so that others might jump in and assist.
  
# Automatic uninstall of Microsoft Client for Windows Networks
+
{| width="100%"
# Automatic uninstall of File/Printer sharing, Win XP
+
| width=49% valign=top |
# [[Already Processing Errors on Windows 98]]
+
  
 +
==ZEN specific==
  
-=Launch Scripts=-
+
* [[Application Launcher]]
I was wondering what the format was for scripts in the 'Run Before Launching' box. We have an application that we would like people to log their usage of in an Excel document.  The doc is on a network drive, and we wanted it to automatically open before the app was run.  It requires a simple command:
+
* [[Policies]]
"C:\Program files\Microsoft office\Office\excel.exe" p:\VNC\VNClog
+
* [[Inventory]]
However, I must not be doing it right, because currently VNC opens, and the excel doc never does.  Is there a "call" or "launch" statment, or something similar?
+
* [[Imaging]]
 +
* [[Remote Control]]
 +
<p>
 +
* [[ZENworks in Progress]]
  
Thanks a bunch!
+
| width="1%" |
 +
| width=49% valign=top |
  
 +
==Generic==
  
====Permanent environment variable change====
+
* [[Application install]]
''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
+
==Other recources==
  
After you have the utility, you could have a NAL object execute something like <br>
+
* [[Blogging_about_ZENworks]]
'''setx Path %Path%;newpath1;newpath2''' <br>
+
* [[ZENworks_Links]]
to do what you requested.
+
  
<B>Another suggestion:</B>
+
|}
A good solution (which is quick and safe) is to run a VBS script to modify the path in the registry.  I suspect that the Windows NT/2000 utilities have been dropped from the Resource Kit because they are no longer needed now that WSH is included with XP.  I have been using this for  while now and have found that setting the registry is both immediate and is retained.  Note that you can choose to either set the User or the System path, depending on the user rights, and also the needs of the application.  I would also include logic in the code to audit the path and remove any redundant entries etc.  The code would be a little more complex but I think it is worth the effort. <br>
+
The following sample code shows the synxtax for reading and writing the registry.<br>
+
' ReadSetPath.vbs<br>
+
' Abstract: VBSript to read/Set PATH environment(s), both USER and SYSTEM.<br>
+
' Version : 1.0 - Initial draft.  <br>
+
'-----------------------------------------------------------<br>
+
Dim objShell, strSystemPath, strUserPath, rCode, strNewPath<br>
+
<br>
+
Set objShell = CreateObject("wscript.shell")<br>
+
strSystemPath = objShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path")<br>
+
strUserPath = objShell.RegRead("HKCU\Environment\Path")<br>
+
<br>
+
strNewPath = "C:\Temp"<br>
+
rCode = objShell.RegWrite("HKCU\Environment\Path", strUserPath & ";" & StrNewPath, "REG_SZ")<br>
+
<br>
+
wscript.echo "USER path = " & strUserPath & _<br>
+
"System Path = " & strSystemPath<br>
+
<br>
+

Revision as of 11:32, 16 November 2005

Welcome to the ZENworks Wiki!!

As already mentioned on the wiki main page, please feel free to join in. You can read anything in here without logging in, but if you feel like commenting on something, or starting a new thread, you'll need to use a Novell Login account (which you'll be prompted to create if you don't already have one).

Open source content instead of code!

We all know the traditional ZENworks CoolSolutions articles, they are a great recourse for tip's and trick's. The Wiki pages make it possible to be much more flexible and have people share information and work together to get some great content.

One of the main benefit's is that people can add additional information into a page, as example if someone wrote an article about how to work with add-on images but you've got some additional trick's that might be useful, just add this information to the article so that others can use it as well.

If you've used a wiki before, you'll have no trouble getting used to this format. If not, you should take a minute to learn more about it.

The topics

So let's try to get some more content on these pages and see if we can make it a real ZENworks encyclopedia. Below is an index with different subjects, feel free to add any if needed.

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. Create a page to describe the problem and add your page to the ZENworks in progress page so that others will find it and may be able to document what needs to be done to resolve your issue. If you are working on a page and would like to encourage others to help you out, also post a link to your page on the ZENworks in progress page so that others might jump in and assist.

ZEN specific

Generic

Other recources