Click here to Skip to main content
15,913,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: XP Accelerators and Focus Rects Pin
Punchinello28-Aug-03 8:52
Punchinello28-Aug-03 8:52 
GeneralRe: XP Accelerators and Focus Rects Pin
Dave Kreskowiak28-Aug-03 9:57
mveDave Kreskowiak28-Aug-03 9:57 
GeneralRe: XP Accelerators and Focus Rects Pin
Punchinello28-Aug-03 11:18
Punchinello28-Aug-03 11:18 
GeneralRe: XP Accelerators and Focus Rects Pin
J. Dunlap28-Aug-03 11:21
J. Dunlap28-Aug-03 11:21 
GeneralRe: XP Accelerators and Focus Rects Pin
Punchinello28-Aug-03 11:47
Punchinello28-Aug-03 11:47 
GeneralGranting "Logon As Service Rights" Pin
alunboyd28-Aug-03 3:09
alunboyd28-Aug-03 3:09 
GeneralRe: Granting "Logon As Service Rights" Pin
Dave Kreskowiak28-Aug-03 8:27
mveDave Kreskowiak28-Aug-03 8:27 
GeneralRe: Granting "Logon As Service Rights" Pin
alunboyd28-Aug-03 12:46
alunboyd28-Aug-03 12:46 
My mistake, I should of mentioned that this is a straight VBS task (to be VBE'd later), and will be run from an Local Admin account.

Being a bit of a newbie to VB, I don't particually want to start fiddling with MSI just yet, it seems to be a bit OTT for the current purpose.

I have sort of found 2 ways around this. The first is to use NTRIGHTS.EXE but this means ensuring it's avaliable and that it can lookup the SID of the account that will require the rights. Unfotunatly this is not always possiable as it's a domian account that needs rights, and the service may need installing off-network (and NTRIGHTS won't take a SID as an argument).

The other method is to create on-the-fly a simplified Security Template then run "secedit /config /areas USER_RIGHTS ....." to apply the template. The only problem is if other user's have been given rights, the template wipes them out :-<
GeneralRe: Granting &quot;Logon As Service Rights&quot; Pin
Dave Kreskowiak28-Aug-03 14:16
mveDave Kreskowiak28-Aug-03 14:16 
GeneralRe: Granting &quot;Logon As Service Rights&quot; Pin
alunboyd1-Sep-03 8:21
alunboyd1-Sep-03 8:21 
GeneralGarbage Management Pin
fume27-Aug-03 20:36
fume27-Aug-03 20:36 
GeneralMDI Apps problems Pin
fume27-Aug-03 20:34
fume27-Aug-03 20:34 
GeneralRe: MDI Apps problems Pin
palace18-Sep-03 4:20
palace18-Sep-03 4:20 
GeneralVB Slowdown after compilation Pin
Anonymous27-Aug-03 15:05
Anonymous27-Aug-03 15:05 
GeneralRe: VB Slowdown after compilation Pin
Ray Cassick27-Aug-03 15:23
Ray Cassick27-Aug-03 15:23 
GeneralRe: VB Slowdown after compilation Pin
Dave Kreskowiak28-Aug-03 9:01
mveDave Kreskowiak28-Aug-03 9:01 
Generalone stupid question.. Pin
pnpfriend27-Aug-03 9:45
pnpfriend27-Aug-03 9:45 
Generalforget it.. got it Pin
pnpfriend27-Aug-03 10:25
pnpfriend27-Aug-03 10:25 
General.NET Web Service with VB6 and Soap Toolkit 3 Pin
cory_baker27-Aug-03 4:38
cory_baker27-Aug-03 4:38 
Generalbundling VB.net runtime Pin
Jcg3127-Aug-03 4:21
Jcg3127-Aug-03 4:21 
GeneralLoop thru in string Pin
Member 53357326-Aug-03 22:42
Member 53357326-Aug-03 22:42 
GeneralAutomation server problem Pin
clone_21226-Aug-03 21:21
clone_21226-Aug-03 21:21 
Generalafter change the display resolution with VB6 Pin
ChinhChua26-Aug-03 18:25
ChinhChua26-Aug-03 18:25 
QuestionHow to add Macromedia Flash to My VB.Net Form?? Pin
MJay26-Aug-03 16:49
MJay26-Aug-03 16:49 
Questionhow to control msword in my program? Pin
fftongzhi26-Aug-03 15:49
fftongzhi26-Aug-03 15:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.