#204283 - 2012-02-13 06:52 AM
New Kixtart user
|
Dariusvw
Fresh Scripter
Registered: 2012-02-11
Posts: 11
Loc: South Africa
|
Greetings I found out about Kixtart a few weeks back, and have only started using it last week. So please go easy on me for the dumb Questions.
I am very happy to read how-To's and the like. I just need to find them.
My 1st script is a simple login scrippt.
; *****************
; * DRIVE MAPPING *
; *****************
;Mapped Drive
use Q: "\\zeus\Photos$"
use O: "\\zeus\staff-pupil$"
use X: "\\zeus\applications"
use Y: "\\zeus\%username%$"
If InGroup ("Group-Admin")
use R: "\\zeus\Reports$"
use W: "\\zeus\Staffdata$"
EndIf
If InGroup ("GROUP-Intern")
use W: "\\zeus\Staffdata$"
EndIf
I would like to add printers, backgrounds,Proxy and internet settings to this script as well, @ some point.
so A) Is there a better way to do what i have done with the network Drives? B) Where would i read up on "LOGIN SCRIPTS" specifically? C) If you know of any books or internet resources that are good Please let me know.
Thanks
|
Top
|
|
|
|
#204288 - 2012-02-14 06:47 AM
Re: New Kixtart user
[Re: Glenn Barnas]
|
Dariusvw
Fresh Scripter
Registered: 2012-02-11
Posts: 11
Loc: South Africa
|
Thanks guys.
Thats a few new resources for me to read through.
I am sure i'll have a few more Q's from time to time.
|
Top
|
|
|
|
#204289 - 2012-02-14 11:36 AM
Re: New Kixtart user
[Re: Dariusvw]
|
Dariusvw
Fresh Scripter
Registered: 2012-02-11
Posts: 11
Loc: South Africa
|
with this Code
$rc = SetWallpaper("pathtowallpaper\wallpaper.bmp"
When you say Pathtowallpaper. Is it better to go X:\wallpaper\photo.JPG Or \\server\share\photo.JPG
Thanks
|
Top
|
|
|
|
#204291 - 2012-02-14 01:26 PM
Re: New Kixtart user
[Re: BradV]
|
Dariusvw
Fresh Scripter
Registered: 2012-02-11
Posts: 11
Loc: South Africa
|
I work at a school, so no they do not get to change their wallpaper. 90% are on mandatory profiles. maybe 10 of our 120 odd staff constantly work on the same PC where we have given them a few more Rights to do things.
But at the moment all the Pupils just have a plain Blue background. So i just want to have a "picture" there from time to time. The winning hockey team or some such, and change it from time to time, maybe once a week or so.
I'm kinda trying to make my Job easier while making "IT and computers" more interesting for the students. What with the school having blocked most of the interesting website the pupils might want to use.
Edited by Dariusvw (2012-02-14 02:07 PM)
|
Top
|
|
|
|
#204292 - 2012-02-14 03:29 PM
Re: New Kixtart user
[Re: Dariusvw]
|
BradV
Seasoned Scripter
Registered: 2006-08-16
Posts: 686
Loc: Maryland, USA
|
OK, that explains the personal "liberty" portion. The other side of that is just performance. I'm just not sure how often the OS will try to go out and "touch" the file being used for the background image. I would think the most expedient method would be:
1. Configure each system to use a consistent name/location as the background image. 2. In your login script, check the difference between the file on the share and the one on the local computer. If they are different, copy the share to the local system.
Then all you have to do on the server is change the contents of the file to what you want. If you don't want anything displayed, just put an empty file there with the correct name.
|
Top
|
|
|
|
#204294 - 2012-02-14 03:50 PM
Re: New Kixtart user
[Re: Glenn Barnas]
|
BradV
Seasoned Scripter
Registered: 2006-08-16
Posts: 686
Loc: Maryland, USA
|
In fact as an add-on to Glenn's use of GPO, I would recommend:
1. Use GPO to set the name/location. 2. Don't use a login script to change it. Run this from a command script on your server. You don't want them changing their wallpaper in the first place. So, it makes sense to remove it from the login script.
In this way, from the server command script, you either create the c: bg.jpg file or delete it. Not much to it.
|
Top
|
|
|
|
#204319 - 2012-02-17 04:07 PM
Re: New Kixtart user
[Re: NTDOC]
|
Glenn Barnas
KiX Supporter
Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
|
Doc,
I've worked in several banking and financial organizations that require strict control of desktop and email settings. I agree that a large number of GPOs can impact performance - I worked for a client that had over 1200 GPOs and 430 login scripts! (got that down to 16 GPOs and 1 script. ) Performance there was horrible until we consolidated and eliminated the policies.
The prevention of desktop configuration and user restriction is also critical in an RDP/Citrix environment. Other industries and small businesses may not have the same control requirements, but an image-consious organization will not want potentially offensive (or simply personal statements of politics, religion, or sports) to be interpreted as corporate policy.
I generally have one workstation and one user policy that configures the user environment. These overlay a general computer policy, and may be supplanted by a GPO that further controls specific workstation types, such as laptops or tablets. I also never mix User and Computer settings in a single policy, so I might have a few more than minimally required, but they are smaller and more specific.
Bottom line, if you want to prevent the use of unauthorized desktop images, you must specify the image to use. Simply defining the desktop settings to disabled isn't enough. We found that referencing an image file that does not exist AND is in a path that a user does not have write access to provides the control without any overhead of actually creating and deploying an image file.
Glenn
_________________________
Actually I am a Rocket Scientist!
|
Top
|
|
|
|
#204355 - 2012-02-28 07:09 AM
Re: New Kixtart user
[Re: Glenn Barnas]
|
Dariusvw
Fresh Scripter
Registered: 2012-02-11
Posts: 11
Loc: South Africa
|
My main reason for this all is so that all the machines are the same, no matter where a user logs on. So that the only thing that is different is some icons. Even those i would love to fined away to make them all the same.
Thanks for all the advice
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 259 anonymous users online.
|
|
|