RE: [ActiveDir] Display Computer Name on Desktop

2005-02-16 Thread Brian Desmond
Da.
 
Looked up in MSDN the ShellSpecialFoldersConstant. This is where that &H11& in 
the snippet comes from. For MY Network places:
 
Const NETHOOD = &H13&
Set objNetwork = CreateObject("Wscript.Network")
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(NETHOOD)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objNetwork.UserDomain

 


 
--Brian Desmond
[EMAIL PROTECTED]
Payton on the web! www.wpcp.org
 
v - 773.534.0034 x135
f - 773.534.8101



From: [EMAIL PROTECTED] on behalf of Cothern Jeff D. Team EITC
Sent: Wed 2/16/2005 3:24 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop



Ok another question.  Is there a simple way to modify  this script so that My 
Network Places is renamed to the Domain they are logged into and My Documents 
is renamed to the username?   And Yes I know BGINFO can provide this but we are 
wanting things to be unobtrusive and limit what is actually being displayed on 
the desktop. 

 

Thanks. For any further help.

Jeff

 

 



From: Brian Desmond [mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond
Sent: Tuesday, February 15, 2005 12:13 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

 

Thats enough. Windows knows what program to use to execute them.

 

To run frm a commandline - cscript myscript.vbs :)

 

--Brian Desmond
[EMAIL PROTECTED]
Payton on the web! www.wpcp.org
 
v - 773.534.0034 x135
f - 773.534.8101

 



From: [EMAIL PROTECTED] on behalf of Cothern Jeff D. Team EITC
Sent: Mon 2/14/2005 9:36 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

I don't know a lot about scripting or vbs.  But can I take the below
Lines of text starting at CONST and paste that into a notepad and save
it as .vbs does that work or do I need to use some vbs program?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]



List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

<>

RE: [ActiveDir] Display Computer Name on Desktop

2005-02-16 Thread Cothern Jeff D. Team EITC
Title: RE: [ActiveDir] Display Computer Name on Desktop








Ok another question.  Is there a
simple way to modify  this script so that My Network Places is renamed to
the Domain they are logged into and My Documents is renamed to the
username?   And Yes I know BGINFO can provide this but we are wanting
things to be unobtrusive and limit what is actually being displayed on the
desktop. 

 

Thanks. For any further help.

Jeff

 

 









From: Brian Desmond
[mailto:[EMAIL PROTECTED] On
Behalf Of Brian Desmond
Sent: Tuesday, February 15, 2005
12:13 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display
Computer Name on Desktop



 





Thats enough.
Windows knows what program to use to execute them.





 





To run frm a
commandline - cscript myscript.vbs :)





 









--Brian Desmond
[EMAIL PROTECTED]
Payton on the web!
www.wpcp.org
 
v - 773.534.0034
x135
f - 773.534.8101







 







From:
[EMAIL PROTECTED] on behalf of Cothern Jeff D. Team EITC
Sent: Mon 2/14/2005 9:36 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display
Computer Name on Desktop





I don't
know a lot about scripting or vbs.  But can I take the below
Lines of text starting at CONST and paste that into a notepad and save
it as .vbs does that work or do I need to use some vbs program?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: <ActiveDir@mail.activedir.org>
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]



List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/










RE: [ActiveDir] Display Computer Name on Desktop

2005-02-15 Thread Ulf B. Simon-Weidner
Hi Rick,

Thanks - btw - this reghack works also if you have specific backgrounds per
machine as in the HOLs or MOCs - just put the screenshots for every computer
in a specific directory (let's use the example c:\imgs), name them as the
computername, then set the Wallpaper-Regkey as reg_expandable_sz with the
value c:\imgs\%computername%.bmp in the default user profile and in the
.default user. Delete the profile you used and go ahead - it does not matter
which users are being created during the lab, background stays specific per
computer (e.g. to show which computer it is and the network infrastructure
of the scenario).

I change every MOC I'm teaching that way - much more convenient for me and
the students.

Gruesse - Sincerely,
 
Ulf B. Simon-Weidner
 
  MVP-Book "Windows XP - Die Expertentipps":  http://tinyurl.com/44zcz 
  Weblog: http://msmvps.org/UlfBSimonWeidner
  WebSite: http://www.windowsserverfaq.org  
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rick Kingslan
> Sent: Sunday, February 13, 2005 10:00 PM
> To: ActiveDir@mail.activedir.org
> Subject: RE: [ActiveDir] Display Computer Name on Desktop
> 
> Justin - 
> 
> I'm going to try again because, IMHO, you're working WAY too 
> hard at this one problem.
> 
> My current preference - 
> 
> http://www.kewlit.com/whoami/index2b.html
> 
> Great for the Data Center boxes connected via KVM.
> 
> If you haven't looked at this tool - you have NO IDEA what 
> you're missing.
> Simply elegant.  Not as much info (or, as I've seen it on 
> some systems - flipping information OVERLOAD) as Sysinternals 
> 'bginfo', but if you just want the simple basics and a NAME, 
> here it is.
> 
> Don't knock this one until you try it.
> 
> -rtk
> 
> P.S.  Ulf - love the reg hack, BTW...
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B.
> Simon-Weidner
> Sent: Friday, February 11, 2005 6:03 PM
> To: ActiveDir@mail.activedir.org
> Subject: RE: [ActiveDir] Display Computer Name on Desktop
> 
> Hello Justin,
> 
> Apart from the scripting answers you got, here's a different solution:
> 
> Rename My Computer on any workstation to 
> WHATEVER-I-DONT-GIVE-A-D. Open up regedit and search for 
> WHATEVER-I-DONT-GIVE-A-D.
> 
> Create a new Key of the type Reg_expand_sz called WHATEVER, 
> and put in "%computername%" as value. Export the parent key 
> (where WHATEVER-I-DONT-GIVE-A-D was the default value) to a reg file.
> 
> Open up the regfile in notepad, and change it so that the 
> value of WHATEVER of type reg_expand_sz is assigned to the 
> default key "@".
> 
> Delete the old key in regedit, then doubleclick the regfile. 
> The type of the key should now be reg_expand_sz (before it 
> was reg_sz and would have shown %computername% instead of 
> resolving it.
> 
> If you are nice, and want some more information, you can use 
> this regfile:
> 
> Windows Registry Editor Version 5.00
> 
> [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
> @=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00
> ,25,00,20,00,\
>  
> 40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72
> ,00,6e,00,61,\
>   00,6d,00,65,00,25,00,00,00
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\E
> xplorer\CLSID\
> {20D04FE0-3AEA-1069-A2D8-08002B30309D}]
> @=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00
> ,25,00,20,00,\
>  
> 40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72
> ,00,6e,00,61,\
>   00,6d,00,65,00,25,00,00,00
> 
> Gruesse - Sincerely,
>  
> Ulf B. Simon-Weidner
>  
>   MVP-Book "Windows XP - Die Expertentipps":  http://tinyurl.com/44zcz
>   Weblog: http://msmvps.org/UlfBSimonWeidner
>   WebSite: http://www.windowsserverfaq.org  
>  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Salandra, Justin A.
> > Sent: Friday, February 11, 2005 7:41 PM
> > To: ActiveDir@mail.activedir.org
> > Cc: [EMAIL PROTECTED]
> > Subject: [ActiveDir] Display Computer Name on Desktop
> > 
> > I have a question, is there a way to display the computer 
> > name on the desktop either through a login script or via GPO?
> > 
> > Justin A. Salandra
> > MCSE Windows 2000 & 2003
> > Network and Technology Services Manager
> > Catholic Healthcare System
> > 212.752.7300 - office
> > 917.455.0110 - cell
> > [EMAIL PROTECTED]
> > 
> > 
> > List info   : http://www.actived

RE: [ActiveDir] Display Computer Name on Desktop

2005-02-15 Thread Steve Rochford
Save it as .vbs and just run it by either double clicking it or typing
its name at a command prompt. If you're using Outlook then it's possible
that it will have removed all the line breaks - "extra line breaks in
this message were removed" will appear at the top - tell it to put the
line breaks back and you should be OK.

It could be run as a machine startup script using group policy but I
think some of the other ideas are better - I suspect that some people
have such cluttered desktops that they won't find the correct icon (and
you can't say "look for the my computer icon" because it's no longer
there!!

Steve 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D.
Team EITC
Sent: 15 February 2005 03:37
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

I don't know a lot about scripting or vbs.  But can I take the below
Lines of text starting at CONST and paste that into a notepad and save
it as .vbs does that work or do I need to use some vbs program?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]



List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-14 Thread Brian Desmond
Thats enough. Windows knows what program to use to execute them.
 
To run frm a commandline - cscript myscript.vbs :)
 
--Brian Desmond
[EMAIL PROTECTED]
Payton on the web! www.wpcp.org
 
v - 773.534.0034 x135
f - 773.534.8101



From: [EMAIL PROTECTED] on behalf of Cothern Jeff D. Team EITC
Sent: Mon 2/14/2005 9:36 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop



I don't know a lot about scripting or vbs.  But can I take the below
Lines of text starting at CONST and paste that into a notepad and save
it as .vbs does that work or do I need to use some vbs program?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]



List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


<>

RE: [ActiveDir] Display Computer Name on Desktop

2005-02-14 Thread Cothern Jeff D. Team EITC
I don't know a lot about scripting or vbs.  But can I take the below
Lines of text starting at CONST and paste that into a notepad and save
it as .vbs does that work or do I need to use some vbs program?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]



List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-14 Thread Salandra, Justin A.
I am going to use the small script that someone sent me in a vbs script
during the login processing.

Thanks

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rick Kingslan
Sent: Sunday, February 13, 2005 4:00 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Justin - 

I'm going to try again because, IMHO, you're working WAY too hard at
this
one problem.

My current preference - 

http://www.kewlit.com/whoami/index2b.html

Great for the Data Center boxes connected via KVM.

If you haven't looked at this tool - you have NO IDEA what you're
missing.
Simply elegant.  Not as much info (or, as I've seen it on some systems -
flipping information OVERLOAD) as Sysinternals 'bginfo', but if you just
want the simple basics and a NAME, here it is.

Don't knock this one until you try it.

-rtk

P.S.  Ulf - love the reg hack, BTW...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ulf B.
Simon-Weidner
Sent: Friday, February 11, 2005 6:03 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Hello Justin,

Apart from the scripting answers you got, here's a different solution:

Rename My Computer on any workstation to WHATEVER-I-DONT-GIVE-A-D. Open
up
regedit and search for WHATEVER-I-DONT-GIVE-A-D.

Create a new Key of the type Reg_expand_sz called WHATEVER, and put in
"%computername%" as value. Export the parent key (where
WHATEVER-I-DONT-GIVE-A-D was the default value) to a reg file.

Open up the regfile in notepad, and change it so that the value of
WHATEVER
of type reg_expand_sz is assigned to the default key "@".

Delete the old key in regedit, then doubleclick the regfile. The type of
the
key should now be reg_expand_sz (before it was reg_sz and would have
shown
%computername% instead of resolving it.

If you are nice, and want some more information, you can use this
regfile:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,
00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,
61,\
  00,6d,00,65,00,25,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CL
SID\
{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,
00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,
61,\
  00,6d,00,65,00,25,00,00,00

Gruesse - Sincerely,
 
Ulf B. Simon-Weidner
 
  MVP-Book "Windows XP - Die Expertentipps":  http://tinyurl.com/44zcz 
  Weblog: http://msmvps.org/UlfBSimonWeidner
  WebSite: http://www.windowsserverfaq.org  
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Salandra, Justin A.
> Sent: Friday, February 11, 2005 7:41 PM
> To: ActiveDir@mail.activedir.org
> Cc: [EMAIL PROTECTED]
> Subject: [ActiveDir] Display Computer Name on Desktop
> 
> I have a question, is there a way to display the computer 
> name on the desktop either through a login script or via GPO?
> 
> Justin A. Salandra
> MCSE Windows 2000 & 2003
> Network and Technology Services Manager
> Catholic Healthcare System
> 212.752.7300 - office
> 917.455.0110 - cell
> [EMAIL PROTECTED]
> 
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-13 Thread Jorge de Almeida Pinto
Rename "My Computer" to the computername
See
http://www.computerperformance.co.uk/Registry/registry_hacks_display_compute
rname.htm
Jorge 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Salandra, Justin A.
Sent: Friday, February 11, 2005 19:41
To: ActiveDir@mail.activedir.org
Cc: [EMAIL PROTECTED]
Subject: [ActiveDir] Display Computer Name on Desktop

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-13 Thread Blair, James

Justin,

Havn't taken a look at Rick's suggestion WHOAMI but another alternative
is
BGINFO...http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml...It's
freeware and you can create a custom installation package...

James

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rick Kingslan
Sent: Monday, 14 February 2005 7:00 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Justin - 

I'm going to try again because, IMHO, you're working WAY too hard at
this one problem.

My current preference - 

http://www.kewlit.com/whoami/index2b.html

Great for the Data Center boxes connected via KVM.

If you haven't looked at this tool - you have NO IDEA what you're
missing.
Simply elegant.  Not as much info (or, as I've seen it on some systems -
flipping information OVERLOAD) as Sysinternals 'bginfo', but if you just
want the simple basics and a NAME, here it is.

Don't knock this one until you try it.

-rtk

P.S.  Ulf - love the reg hack, BTW...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ulf B.
Simon-Weidner
Sent: Friday, February 11, 2005 6:03 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Hello Justin,

Apart from the scripting answers you got, here's a different solution:

Rename My Computer on any workstation to WHATEVER-I-DONT-GIVE-A-D. Open
up regedit and search for WHATEVER-I-DONT-GIVE-A-D.

Create a new Key of the type Reg_expand_sz called WHATEVER, and put in
"%computername%" as value. Export the parent key (where
WHATEVER-I-DONT-GIVE-A-D was the default value) to a reg file.

Open up the regfile in notepad, and change it so that the value of
WHATEVER of type reg_expand_sz is assigned to the default key "@".

Delete the old key in regedit, then doubleclick the regfile. The type of
the key should now be reg_expand_sz (before it was reg_sz and would have
shown %computername% instead of resolving it.

If you are nice, and want some more information, you can use this
regfile:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,
00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,
61,\
  00,6d,00,65,00,25,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CL
SID\
{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,
00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,
61,\
  00,6d,00,65,00,25,00,00,00

Gruesse - Sincerely,
 
Ulf B. Simon-Weidner
 
  MVP-Book "Windows XP - Die Expertentipps":  http://tinyurl.com/44zcz
  Weblog: http://msmvps.org/UlfBSimonWeidner
  WebSite: http://www.windowsserverfaq.org  
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Salandra, Justin A.
> Sent: Friday, February 11, 2005 7:41 PM
> To: ActiveDir@mail.activedir.org
> Cc: [EMAIL PROTECTED]
> Subject: [ActiveDir] Display Computer Name on Desktop
> 
> I have a question, is there a way to display the computer 
> name on the desktop either through a login script or via GPO?
> 
> Justin A. Salandra
> MCSE Windows 2000 & 2003
> Network and Technology Services Manager
> Catholic Healthcare System
> 212.752.7300 - office
> 917.455.0110 - cell
> [EMAIL PROTECTED]
> 
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-13 Thread Rick Kingslan
Justin - 

I'm going to try again because, IMHO, you're working WAY too hard at this
one problem.

My current preference - 

http://www.kewlit.com/whoami/index2b.html

Great for the Data Center boxes connected via KVM.

If you haven't looked at this tool - you have NO IDEA what you're missing.
Simply elegant.  Not as much info (or, as I've seen it on some systems -
flipping information OVERLOAD) as Sysinternals 'bginfo', but if you just
want the simple basics and a NAME, here it is.

Don't knock this one until you try it.

-rtk

P.S.  Ulf - love the reg hack, BTW...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ulf B.
Simon-Weidner
Sent: Friday, February 11, 2005 6:03 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Hello Justin,

Apart from the scripting answers you got, here's a different solution:

Rename My Computer on any workstation to WHATEVER-I-DONT-GIVE-A-D. Open up
regedit and search for WHATEVER-I-DONT-GIVE-A-D.

Create a new Key of the type Reg_expand_sz called WHATEVER, and put in
"%computername%" as value. Export the parent key (where
WHATEVER-I-DONT-GIVE-A-D was the default value) to a reg file.

Open up the regfile in notepad, and change it so that the value of WHATEVER
of type reg_expand_sz is assigned to the default key "@".

Delete the old key in regedit, then doubleclick the regfile. The type of the
key should now be reg_expand_sz (before it was reg_sz and would have shown
%computername% instead of resolving it.

If you are nice, and want some more information, you can use this regfile:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,61,\
  00,6d,00,65,00,25,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\
{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,61,\
  00,6d,00,65,00,25,00,00,00

Gruesse - Sincerely,
 
Ulf B. Simon-Weidner
 
  MVP-Book "Windows XP - Die Expertentipps":  http://tinyurl.com/44zcz 
  Weblog: http://msmvps.org/UlfBSimonWeidner
  WebSite: http://www.windowsserverfaq.org  
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Salandra, Justin A.
> Sent: Friday, February 11, 2005 7:41 PM
> To: ActiveDir@mail.activedir.org
> Cc: [EMAIL PROTECTED]
> Subject: [ActiveDir] Display Computer Name on Desktop
> 
> I have a question, is there a way to display the computer 
> name on the desktop either through a login script or via GPO?
> 
> Justin A. Salandra
> MCSE Windows 2000 & 2003
> Network and Technology Services Manager
> Catholic Healthcare System
> 212.752.7300 - office
> 917.455.0110 - cell
> [EMAIL PROTECTED]
> 
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Ulf B. Simon-Weidner
Hello Justin,

Apart from the scripting answers you got, here's a different solution:

Rename My Computer on any workstation to WHATEVER-I-DONT-GIVE-A-D. Open up
regedit and search for WHATEVER-I-DONT-GIVE-A-D.

Create a new Key of the type Reg_expand_sz called WHATEVER, and put in
"%computername%" as value. Export the parent key (where
WHATEVER-I-DONT-GIVE-A-D was the default value) to a reg file.

Open up the regfile in notepad, and change it so that the value of WHATEVER
of type reg_expand_sz is assigned to the default key "@".

Delete the old key in regedit, then doubleclick the regfile. The type of the
key should now be reg_expand_sz (before it was reg_sz and would have shown
%computername% instead of resolving it.

If you are nice, and want some more information, you can use this regfile:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,61,\
  00,6d,00,65,00,25,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\
{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
@=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,25,00,20,00,\
 
40,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,00,72,00,6e,00,61,\
  00,6d,00,65,00,25,00,00,00

Gruesse - Sincerely,
 
Ulf B. Simon-Weidner
 
  MVP-Book "Windows XP - Die Expertentipps":  http://tinyurl.com/44zcz 
  Weblog: http://msmvps.org/UlfBSimonWeidner
  WebSite: http://www.windowsserverfaq.org  
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Salandra, Justin A.
> Sent: Friday, February 11, 2005 7:41 PM
> To: ActiveDir@mail.activedir.org
> Cc: [EMAIL PROTECTED]
> Subject: [ActiveDir] Display Computer Name on Desktop
> 
> I have a question, is there a way to display the computer 
> name on the desktop either through a login script or via GPO?
> 
> Justin A. Salandra
> MCSE Windows 2000 & 2003
> Network and Technology Services Manager
> Catholic Healthcare System
> 212.752.7300 - office
> 917.455.0110 - cell
> [EMAIL PROTECTED]
> 
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Cothern Jeff D. Team EITC
Ok I tried copy and paste of the code there to notepad and saved it as a
.vbs  tried to run it and got an end statement error.  I am totally lost
when it comes to scripting really so are there returns or other type of
formatting that needs to be added?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Salandra,
Justin A.
Sent: Friday, February 11, 2005 2:45 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Ok, I tested this script in VBS and it changes the My Computer Icon to
the computer name.

Now should I run this during a startup script or a login script?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Fuller, Stuart
Since I hadn't done this for a while I checked on my 2003 server and the
reg hack below does not work on Windows 2003 server.  Looks like MS
moved the effective CLISD for "My Computer" to underneath HKCU.

The previously posted VBS code seems the best way to do this instead of
all the mucking about with REG_SZ and REG_EXPAND_SZ keys.  There is also
the issue where the 2003 regedit doesn't want to delete the actual
"(default)" key so you can't change it to a REG_EXPAND_SZ type without
exporting the key, hacking the export, and re-importing.  

Of course you could just hit F2 and rename it manually...harder to
script but just as effective. :-)

-Stuart Fuller

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fuller, Stuart
Sent: Friday, February 11, 2005 12:09 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] [gptalk] Display Computer Name on Desktop

 
This is actually a common thing for the Citrix/TS world and is a
registry hack to the "My Computer" icon.

>From http://thethin.net TS FAQ:

Question: 
How do I change the name of My Computer to display the server name or
username?

Response: 
 Using Regedt32 edit Registry for My Computer. The key is :
HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Delete  the following value in this key and recreate as follows :
Value Name  : (No Name)
Data Type   : REG_EXPAND_SZ
Data: %USERNAME% %COMPUTERNAME%

(To do this delete the current value and using `Edit` from menu bar
select `String`. Do not enter a value name.



-Stuart Fuller
P.S. All registry warnings apply - use at your own risk.
P.P.S. You can also use the BG info tool from Sysinternals - this is way
cool - http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml


-Original Message-
From: Salandra, Justin A. [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 11:41 AM
To: ActiveDir@mail.activedir.org
Cc: [EMAIL PROTECTED]
Subject: [gptalk] Display Computer Name on Desktop

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Kingslan, Rick T.
My current preference - 

http://www.kewlit.com/whoami/index2b.html

Great for the Data Center boxes connected via KVM.

-rtk

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:ActiveDir-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, February 11, 2005 1:51 PM
> To: ActiveDir@mail.activedir.org
> Subject: Re: RE: [ActiveDir] Display Computer Name on Desktop
> 
> 
> BGInfo is a great tool.  We used this back in the NT days as well.
> 
> 
> > From: Jeff Salisbury <[EMAIL PROTECTED]>
> > Date: 2005/02/11 Fri PM 01:48:26 EST
> > To: ActiveDir@mail.activedir.org
> > CC: [EMAIL PROTECTED]
> > Subject: RE: [ActiveDir] Display Computer Name on Desktop
> >
> > We use BgInfo from the Sysinternals web site
> (http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml). Before we
were
> on AD, we used SMS to add a shortcut to the All Users profile Startup
> folder that launched BgInfo during each logon. We haven't looked to
see if
> there is any way to leverage Group Policy for this, but you could
> certainly use logon scripts. If you do this, make sure you look at the
> folder permissions where you store the background image - if regular
users
> don't have write rights to the folder then it can't update when they
> logon.
> >
> > Jeff
> >
> >
> > Jeff Salisbury
> > Network Infrastructure and Security Manager
> >
> > Belkin Corporation
> > Information Services
> > 310 604-2061
> > 310 604-2022 fax
> > www.belkin.com
> >
> >
> > -Original Message-
> > From: Salandra, Justin A. [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 11, 2005 10:41 AM
> > To: ActiveDir@mail.activedir.org
> > Cc: [EMAIL PROTECTED]
> > Subject: [ActiveDir] Display Computer Name on Desktop
> >
> > I have a question, is there a way to display the computer name on
the
> desktop either through a login script or via GPO?
> >
> > Justin A. Salandra
> > MCSE Windows 2000 & 2003
> > Network and Technology Services Manager
> > Catholic Healthcare System
> > 212.752.7300 - office
> > 917.455.0110 - cell
> > [EMAIL PROTECTED]
> >
> >
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ: http://www.activedir.org/ListFAQ.aspx
> > List archive: http://www.mail-
> archive.com/activedir%40mail.activedir.org/
> >
> > Confidential
> > This e-mail and any files transmitted with it are the property
> > of Belkin Corporation and/or its affiliates, are confidential,
> > and are intended solely for the use of the individual or
> > entity to whom this e-mail is addressed.  If you are not one
> > of the named recipients or otherwise have reason to believe
> > that you have received this e-mail in error, please notify the
> > sender and delete this message immediately from your computer.
> > Any other use, retention, dissemination, forwarding, printing
> > or copying of this e-mail is strictly prohibited.
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ: http://www.activedir.org/ListFAQ.aspx
> > List archive: http://www.mail-
> archive.com/activedir%40mail.activedir.org/
> >
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


Re: RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread rob.bracero

BGInfo is a great tool.  We used this back in the NT days as well.


> From: Jeff Salisbury <[EMAIL PROTECTED]>
> Date: 2005/02/11 Fri PM 01:48:26 EST
> To: ActiveDir@mail.activedir.org
> CC: [EMAIL PROTECTED]
> Subject: RE: [ActiveDir] Display Computer Name on Desktop
> 
> We use BgInfo from the Sysinternals web site 
> (http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml). Before we were on 
> AD, we used SMS to add a shortcut to the All Users profile Startup folder 
> that launched BgInfo during each logon. We haven't looked to see if there is 
> any way to leverage Group Policy for this, but you could certainly use logon 
> scripts. If you do this, make sure you look at the folder permissions where 
> you store the background image - if regular users don't have write rights to 
> the folder then it can't update when they logon.
> 
> Jeff 
> 
> 
> Jeff Salisbury
> Network Infrastructure and Security Manager
> 
> Belkin Corporation
> Information Services
> 310 604-2061
> 310 604-2022 fax
> www.belkin.com
> 
> 
> -Original Message-
> From: Salandra, Justin A. [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 11, 2005 10:41 AM
> To: ActiveDir@mail.activedir.org
> Cc: [EMAIL PROTECTED]
> Subject: [ActiveDir] Display Computer Name on Desktop
> 
> I have a question, is there a way to display the computer name on the desktop 
> either through a login script or via GPO?
> 
> Justin A. Salandra
> MCSE Windows 2000 & 2003
> Network and Technology Services Manager
> Catholic Healthcare System
> 212.752.7300 - office
> 917.455.0110 - cell
> [EMAIL PROTECTED]
> 
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> 
> Confidential
> This e-mail and any files transmitted with it are the property
> of Belkin Corporation and/or its affiliates, are confidential,
> and are intended solely for the use of the individual or
> entity to whom this e-mail is addressed.  If you are not one
> of the named recipients or otherwise have reason to believe
> that you have received this e-mail in error, please notify the
> sender and delete this message immediately from your computer.
> Any other use, retention, dissemination, forwarding, printing
> or copying of this e-mail is strictly prohibited.
> List info   : http://www.activedir.org/List.aspx
> List FAQ: http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> 

List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Salandra, Justin A.
Ok, I tested this script in VBS and it changes the My Computer Icon to
the computer name.

Now should I run this during a startup script or a login script?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Salandra, Justin A.
What does this code do?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 2:02 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Display Computer Name on Desktop

The code would help right.8-)

Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName


Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Salandra, Justin A.
How do you do that?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala
Sent: Friday, February 11, 2005 1:59 PM
To: ActiveDir@mail.activedir.org
Cc: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Display Computer Name on Desktop

Hi,

You may also place this code inside a login scriptjust renames the
'My 
Computer' portion of the remote server to its netbios name.

HTH



"Firefox - Rediscover the web "




Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500

I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Devan Pala
The code would help right.8-)
Const MY_COMPUTER = &H11&
Set objNetwork = CreateObject("Wscript.Network")
objComputerName = objNetwork.ComputerName
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
objFolderItem.Name = objComputerName
Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500
I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?
Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Devan Pala
Hi,
You may also place this code inside a login scriptjust renames the 'My 
Computer' portion of the remote server to its netbios name.

HTH

"Firefox - Rediscover the web "

Original Message Follows
From: "Salandra, Justin A." <[EMAIL PROTECTED]>
Reply-To: ActiveDir@mail.activedir.org
To: 
CC: <[EMAIL PROTECTED]>
Subject: [ActiveDir] Display Computer Name on Desktop
Date: Fri, 11 Feb 2005 13:41:15 -0500
I have a question, is there a way to display the computer name on the
desktop either through a login script or via GPO?
Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Display Computer Name on Desktop

2005-02-11 Thread Jeff Salisbury
We use BgInfo from the Sysinternals web site 
(http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml). Before we were on 
AD, we used SMS to add a shortcut to the All Users profile Startup folder that 
launched BgInfo during each logon. We haven't looked to see if there is any way 
to leverage Group Policy for this, but you could certainly use logon scripts. 
If you do this, make sure you look at the folder permissions where you store 
the background image - if regular users don't have write rights to the folder 
then it can't update when they logon.

Jeff 


Jeff Salisbury
Network Infrastructure and Security Manager

Belkin Corporation
Information Services
310 604-2061
310 604-2022 fax
www.belkin.com


-Original Message-
From: Salandra, Justin A. [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 11, 2005 10:41 AM
To: ActiveDir@mail.activedir.org
Cc: [EMAIL PROTECTED]
Subject: [ActiveDir] Display Computer Name on Desktop

I have a question, is there a way to display the computer name on the desktop 
either through a login script or via GPO?

Justin A. Salandra
MCSE Windows 2000 & 2003
Network and Technology Services Manager
Catholic Healthcare System
212.752.7300 - office
917.455.0110 - cell
[EMAIL PROTECTED]


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Confidential
This e-mail and any files transmitted with it are the property
of Belkin Corporation and/or its affiliates, are confidential,
and are intended solely for the use of the individual or
entity to whom this e-mail is addressed.  If you are not one
of the named recipients or otherwise have reason to believe
that you have received this e-mail in error, please notify the
sender and delete this message immediately from your computer.
Any other use, retention, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited.
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/