Forum

gpo ile admin yetki...
 
Bildirimler
Hepsini Temizle

gpo ile admin yetkisiyle paylaşım dağıtma

2 Yazılar
2 Üyeler
0 Likes
381 Görüntüleme
(@mehmet-ali)
Gönderiler: 337
Honorable Member
Konu başlatıcı
 

network içerisinde script ile bir paylaşım dağıtmak istiyorum ama user lar yetkilerinden dolayı script çalışmıyor hata veriyor scriptin içeriği aşağıdaki gibidir. nasıl paylaştırabilirim.

 

set WshShell = WScript.CreateObject("WScript.Shell" )
strDesktop = WshShell.SpecialFolders("AllUsersDesktop" )
set oShellLink = WshShell.CreateShortcut(strDesktop & "\foto arsiv.lnk" )
oShellLink.TargetPath = "\\webfoto\foto arsiv"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "\\webfoto\foto arsiv"
oShellLink.Description = "foto arsiv"
oShellLink.WorkingDirectory = "\\webfoto\foto arsiv"
oShellLink.Save
MsgBox "Foto Arsiv Kısayol masa üstüne olusturulmustur. Iyi çalışmalar Dilerim", _
         vbInformation + vbSystemModal, "Create shortcut"

 
Gönderildi : 12/04/2013 20:38

(@vasviuysal)
Gönderiler: 7889
Üye
 

bu paylasımın kısayolunu networkte share edilmiş bir yere atıp (herkesin okuyabildigi bir paylasım olmalı )

logon scriptte 

xcopy \server\share\paylasim.lnk  %userprofile%\desktop\paylasim.lnk

daha kolay degilmi  hocam 

 

 
Gönderildi : 12/04/2013 20:58

Paylaş: