Run as Admin ( without constant UAC prompt ) | VBScript Tutorials

  Рет қаралды 20,612

SimplyCoded

SimplyCoded

Күн бұрын

Пікірлер: 70
@Dtomper
@Dtomper 5 жыл бұрын
You answered exactly my question, I'm really so lucky that I found your video I was losing hope then you showed up, thanks so much!
@ThanhPham-uw3yk
@ThanhPham-uw3yk 2 жыл бұрын
You are awesome my man! Looking this up for hours
@cyb3rtooth199
@cyb3rtooth199 7 жыл бұрын
I don't understand why you don't have more views... You're amazing!
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Oops forgot about support for files with spaces in them. Don't worry the code has been updated in the description links.
@edgykid4226
@edgykid4226 7 жыл бұрын
what's your age? i want to know for this project im doing.
@checcocelli5925
@checcocelli5925 7 жыл бұрын
Why you don't make videos anymore?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Busy
@marcd4144
@marcd4144 7 жыл бұрын
Ill be honest, I didnt realize people are still using vbscript. I did back in the day and enjoyed it...
@krzychol83
@krzychol83 5 жыл бұрын
Very simple and useful procedure. Thank you.
@filips_world
@filips_world 7 жыл бұрын
Is jar file a like namespace in C#, executable file with classes?
@nkikin87
@nkikin87 2 жыл бұрын
Hi, I still get the UAC prompt whenever I run this script, although I see the task was added. I am not sure where I did wrong.
@SimplyCoded
@SimplyCoded 2 жыл бұрын
Does it still ask after the second time running it? And is your account an admin? You still need to be an admin for this to work, it's just that it only asks for the UAC prompt on the first run in order to create the tasks and then shouldn't thereafter
@nkikin87
@nkikin87 2 жыл бұрын
@@SimplyCoded Ah I see, it has to be admin account. Thank you.
@SimplyCoded
@SimplyCoded 2 жыл бұрын
Yes this is not a bypass of any kind but more of a convenience thing. If you have access to an admin account you can open task scheduler and edit the task to be run with that admin account. After entering the admin account and password for the task, the script will work because a regular user will be able to run the task without getting a prompt.
@kasper369
@kasper369 7 жыл бұрын
is there any keyword in vbs that allows a vbs program in any folder to get executed as soon as i click or open the folder containing that vbs program. and is there any keyword that allows to ignore space for example if u create a vbs program that asks u ur phone number (inputbox)andthen paste in on a notepad. so how can u make sure that the user will not enter any spaceor blanks inbetween phone numbers , thanks
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Q1: Not to my knowledge. Q2: Use regular expressions ''' Set reg = New RegExp reg.Pattern = "\d{10}" Do phoneNumber = InputBox("Enter Phone Number:", invalid, "##########") invalid = "Invalid input!" Loop While Not reg.Test(phoneNumber) MsgBox phoneNumber '''
@kasper369
@kasper369 7 жыл бұрын
thanks
@mikeeroselleuy
@mikeeroselleuy 6 жыл бұрын
How can you apply it on Macro VBA?
@lukasstirbys2908
@lukasstirbys2908 7 жыл бұрын
Hi SimplyCoded is it possible to create a hidden folder instead of making it hidden manually?? Sorry for my bad English.
@SimplyCoded
@SimplyCoded 7 жыл бұрын
''' Const ATTRIBUTE_HIDDEN = 2 Dim folderPath : folderPath = "c:/location/of/folder" Dim ofso : set ofso = createobject("scripting.filesystemobject") ofso.CreateFolder(folderPath) Dim ofolder : Set ofolder = ofso.GetFolder(folderPath) ofolder.Attributes = ofolder.Attributes + ATTRIBUTE_HIDDEN '''
@thebakerslane7467
@thebakerslane7467 7 жыл бұрын
You should increase your java playlist. It is great but can you include tutorials for android there too. It would be very helpful, cause you explain quite well. BTW just came across your channel, maybe you might be the next Bucky Roberts... :D
@Igerbam
@Igerbam 6 жыл бұрын
Hey SimplyCoded! I said in my sript: create a Folder: Set fso = CreateObject("Scripting.FileSystemObject") FSO.CreateFolder("D:Nomen_Mit_Endungen") But when I run it twice, then says the second run: "Error: The Folder is there". How can I test: "Is there a Folder?" Sry for my bad English ._. I'm from Germany and 13 years old. So I only learn English at school.
@SimplyCoded
@SimplyCoded 6 жыл бұрын
kzbin.info/www/bejne/hoXGmX-XpZqantU
@freemanlovepease1539
@freemanlovepease1539 9 ай бұрын
very good but we need txt copy of the path file
@filips_world
@filips_world 7 жыл бұрын
Do you know how to decompile jar or class files with CMD or else?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Nope
@alexeykovbasyuk9564
@alexeykovbasyuk9564 7 жыл бұрын
I understand correctly, if you run it once on the computer with UAC, then the subsequent launch will be run as administrator, but without a window UAC?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Correct.
@alexeykovbasyuk9564
@alexeykovbasyuk9564 7 жыл бұрын
it's just the best of the best, thanks u
@alexeykovbasyuk9564
@alexeykovbasyuk9564 7 жыл бұрын
SimplyCoded, also if I add the file to startup, after launching the computer, the window UAC will not appear?
@filips_world
@filips_world 7 жыл бұрын
Can you make video about C? Help me, i don't understand what % meams?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
It either means a type specifier or modulus. I need more context. What's your code?
@filips_world
@filips_world 7 жыл бұрын
#include int main() { int x, y, z; printf("Unesite x:"); scanf_s("%d", &x); printf("Unesite y:"); scanf_s("%d", &y); z = x + y; printf("Zbir %d + %d je %d", x, y, z); return 0; } I want to know about styntax for f commands like printf.
@SimplyCoded
@SimplyCoded 7 жыл бұрын
In your case the %d represents a digit. Here is a wiki about it ( en.wikipedia.org/wiki/Printf_format_string ) and there are various other sources that talk about it.
@myhan102
@myhan102 4 жыл бұрын
I don't know why, but your script always popup admin right
@SimplyCoded
@SimplyCoded 4 жыл бұрын
You might not have permissions to add the task in the first place. Have you opened up task scheduler and verified the task was successfully created and will run with highest privileges?
@alexeykovbasyuk9564
@alexeykovbasyuk9564 7 жыл бұрын
this only works for 10 windows :(
@ফারহানাতাবাসসুম
@ফারহানাতাবাসসুম 3 жыл бұрын
Nice
@filips_world
@filips_world 7 жыл бұрын
How to refresh explorer.exe with vbscript without killing explorer.exe
@filips_world
@filips_world 7 жыл бұрын
Do you know how instead of users, vbscript code right click on desktop to refresh explorer.
@SimplyCoded
@SimplyCoded 7 жыл бұрын
This might work for you: ''' Dim owss : set owss = createobject("wscript.shell") owss.Run "powershell -command ""Add-Type -MemberDefinition '[DllImport(\""Shell32.dll\"")] public static extern int SHChangeNotify(int eventId, int flags, IntPtr item1, IntPtr item2);' -Namespace D -Name Explorer; [D.Explorer]::SHChangeNotify(134217728,4096,0,0);""",0,true '''
@filips_world
@filips_world 7 жыл бұрын
This vbscript code runs the powershell? This is not working. Thank you for trying to help me.
@TemphinFD
@TemphinFD 7 жыл бұрын
You use the same program as me!
@bobeee9656
@bobeee9656 6 жыл бұрын
Yo you may not n know me but i need help i lost my acc and forgot the numbers in my name i sent u a gmail from an acc that was named mydopeemail can u reply with the numbers so i can write my info down this time thanks - Yi
@bobeee9656
@bobeee9656 6 жыл бұрын
Thank you this is one of the best things coming out of my pc dying :D
@A68AGaming
@A68AGaming 6 жыл бұрын
SOrry, but this will ask the user for permission !ONCE! and then it will not ask again!
@SimplyCoded
@SimplyCoded 6 жыл бұрын
That’s what I say in the very beginning of the video
@filips_world
@filips_world 7 жыл бұрын
Do you know C#.
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Yes.
@SimplyCoded
@SimplyCoded 7 жыл бұрын
I don't have time to.
@-jwscl2412
@-jwscl2412 5 жыл бұрын
PRIVILEGE ESCALATION
@filips_world
@filips_world 7 жыл бұрын
Do you know JScript?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Yes.
@filips_world
@filips_world 7 жыл бұрын
Can you make videos about that?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
I'm too busy to make much of anything nowadays.
@filips_world
@filips_world 7 жыл бұрын
Assembly!?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
What about it?
@filips_world
@filips_world 7 жыл бұрын
Assembly Language.
@SimplyCoded
@SimplyCoded 7 жыл бұрын
+Filip's World Right. What about it? What’s the question?
@filips_world
@filips_world 7 жыл бұрын
Do you know assembly programing language?
@SimplyCoded
@SimplyCoded 7 жыл бұрын
Yes. All the different architectures will have their own assembly language though so you'll have to more specific on which one you're referring too.
@obamama
@obamama 3 жыл бұрын
Nothin wrong here totally not making virus for memes
FormatString Class | VBScript Tutorials
25:50
SimplyCoded
Рет қаралды 7 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,9 МЛН
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 363 М.
Wipe Any PC in 2 Minutes! - Redkey USB
12:38
Linus Tech Tips
Рет қаралды 6 МЛН
Modern Python logging
21:32
mCoding
Рет қаралды 220 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 64 МЛН
6 Months of Testing C++ Build Systems: Here’s What You Need to Know
16:33
Install Any Software Without Admin Rights?!
2:27
Loi Liang Yang
Рет қаралды 505 М.
Making Simple Windows Driver in C
7:26
Nir Lichtman
Рет қаралды 377 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 585 М.