Group policy

  • Thread starter Thread starter !!bogus
  • Start date Start date
B

!!bogus

Hi,

I don't know why I am not able to see my previous posting... what the heck,
i'll post it again and get flamed.

I am setting a group of XP computers to use certain Group Policy settings
(individually on each computer because our server is Windows NT).

I have 2 issues:

- When I set and save the .msc file and go to open it on another machine,
all the snapins that I have chosen are either not there or do not retain the
settings I have made.

- How can I print the entire tree for reference?

- How can I mount a printer using a script? I tried "net use myprinter
\\myserver\printer name with spaces", but didn't work.... may be because
there are spaces in the printer share name?
 
Enclose things with spaces in inverted commas.

net use myprinter \\myserver\HP LaserJet

On Error Resume Next
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\davidcan\HP Laser Jet 6L"
WshNetwork.SetDefaultPrinter "\\h8\HP Laser Jet 6L"
 
I tried both suggestions with no luck. I also tried quotation, apostrophe, i
tried using the network name and the share name.

even the vbscript (test.vbs as i named it) didn't work. When I comment out
the on error, i get "There is no printer called ... on ..."

--
Thank you
Please post only
Enclose things with spaces in inverted commas.

net use myprinter \\myserver\HP LaserJet
 
There's no printer of that name. Can you see it in network neighbourhood. Is it shared.
 
Yes. It is shared as "Printer", so that is what I tried to use, but for some
reason it doesn't work.

net use myprinter \\d1npq821\printer
 
Also I have another problem. Some of my users create folders and/or files
with idiotically long names. Some of the names are probably between 30 to 50
characters long... may be even more...i am just guessing. What happens is
when I do backups, they sometimes fail...sometimes renaming the folder or
its parent folder fails....so i have to go in with the command prompt and
rename them manually.

Is there an option in the group policy editor to control file/folder names?
 
Try unsharing it and reshare it with a short name that has no spaces.
(Spaces are not valid in NetBIOS names, and this may be part of
what is getting in your way)
 
Back
Top