#98647 - 2003-02-21 05:27 PM
Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Here is my problem. Our domain is running Windows 2000 Server Domain Controllers and a mixture of clients. Ranging from Windows 9x, NT4, 2000 Pro and XP Pro.
I have login scripts created and it is working perfectly on the NT based clients but I have not tested it on the 9x clients as of yet. I have been reading something about the other required files to be used for 9x clients.
Is there any example anywhere of how this is done?
I have also not deployed this login script as of yet for the entire domain. Only on a single test user account using kix32 in Active Directory and like I said it does work. How would I deploy this by Group Policy?
Any help would be great.
Thanks
|
|
Top
|
|
|
|
#98650 - 2003-02-21 05:36 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Here is a specific problem then. I have a script that copies a desktop shortcut to the user's desktop upon login and it creates it but because it is "My Computer Information.kix" the user's PC doesn't know what to do with it to run it. I can manually go tell it to run kix32.exe and then the script runs fine. This is on a 2000 Pro PC. My question is how can I have it associate an icon with the shortcut and have it be able to be ran upon clicking on the icon. It is for help desk purposes.
|
|
Top
|
|
|
|
#98651 - 2003-02-21 05:38 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Well I have looked through the manual and can't really find much help. I was hoping there would be someone that has similar situation to give me an example of what I can do to get the 9x clients to work properly.
|
|
Top
|
|
|
|
#98654 - 2003-02-21 05:41 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Ahh ok i got that part ok I think my problem is that the kix32 or wkix32 isn't being copied to the client. How can I make that happen?
|
|
Top
|
|
|
|
#98656 - 2003-02-21 05:45 PM
Re: Please Help
|
Jack Lothian
MM club member
   
Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
|
|
|
Top
|
|
|
|
#98657 - 2003-02-21 05:48 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Well I don't have AD setup right now to push out software. Right now the kix32 files are on \\sussex1\netlogon
The shortcut gets created on the desktop but nothing else happens.
*Sigh*
|
|
Top
|
|
|
|
#98658 - 2003-02-21 05:54 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Bah this is BS. I am really new to this and I am sort of having to do something in a hurry on this. Those posts in the forum don't really help me at all. It is just a few people complaining as to why it works or doesn't work and some sample code that also doesn't work.
|
|
Top
|
|
|
|
#98660 - 2003-02-21 05:56 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Here is what I have so far
$desktop = ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop") Copy "\\sussex1\netlogon\My Computer Information.kix" $desktop
That copies the shortcut to the user's desktop and that part works. When I double-click on the shortcut it doesn't know what to do with it because there is no file association. That is as clear as I can be.
|
|
Top
|
|
|
|
#98661 - 2003-02-21 05:59 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
And for the software installation in AD it needs to be an .MSI or .ZAP file. And the kix32 programs are both .EXE's.
I am lost now.
|
|
Top
|
|
|
|
#98663 - 2003-02-21 06:01 PM
Re: Please Help
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
you are not copying a shortcut, you are copying a script.
make a shortcut in the source location, and copy that to the client.
the shortcut should be something like: "\\sussex1\netlogon\wkix32.exe \\sussex1\netlogon\My Computer Information.kix"
|
|
Top
|
|
|
|
#98664 - 2003-02-21 06:02 PM
Re: Please Help
|
DJ Ballistic
Starting to like KiXtart
Registered: 2003-02-21
Posts: 185
|
Like this:
$desktop = ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop") Copy "\\sussex1\netlogon\KiX32.exe C:\KiXScripts\My Computer Information.kix" $desktop
|
|
Top
|
|
|
|
#98665 - 2003-02-21 06:06 PM
Re: Please Help
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
no...
make a shortcut in \\sussex1\netlogon
call it something like: "my computer info.lnk"
the shortcut should point to: "\\sussex1\netlogon\kix32.exe \\sussex1\netlogon\My Computer Information.kix"
then in your script put: $desktop = ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop") copy '\\sussex1\netlogon\my computer info.lnk' '$desktop' [ 21. February 2003, 18:12: Message edited by: Radimus ]
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|